Skip to content

Commit

Permalink
Add dino to index page
Browse files Browse the repository at this point in the history
  • Loading branch information
MWedl committed Jan 8, 2024
1 parent 47f5ede commit 42a3da4
Show file tree
Hide file tree
Showing 4 changed files with 625 additions and 96 deletions.
538 changes: 538 additions & 0 deletions docs/docs/assets/dino/eating_cake.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
29 changes: 16 additions & 13 deletions docs/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,22 @@ title: SysReptor Pentest Report Creator
---
<h1 style="text-align: center;font-weight:bold;">Pentest Reports<br>Easy As Pie.</h1>

<img
style="display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: 40px;"
src="/assets/emojis/pie.svg"
viewBox="0 0 200 200"
height="200"
width="130"
alt="It's a pie. Because Pentest reports are as easy as pie.">
</img>

<div class="grid cards" style="text-align:center;" markdown>
<div style="overflow: hidden;">
<img
style="display: block;
margin-left: auto;
margin-right: auto;
margin-bottom: -5.3em;
width: 10em;"
src="/assets/dino/eating_cake.svg"
viewBox="0 0 200 200"
height="200"
width="130"
alt="It's a pie. Because Pentest reports are as easy as pie.">
</img>
</div>

<div class="grid cards" style="text-align: center; margin-top: 0;" markdown>

- __Customize Reports__

Expand Down
7 changes: 7 additions & 0 deletions docs/docs/stylesheets/extra.css
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,13 @@
transition: none;
}

.md-nav__link:not(.md-nav__container):focus {
color: unset;
}
.md-nav__link:not(.md-nav__container):hover {
color: var(--md-accent-fg-color);
}

@media print {
.no-print {
display:none !important;
Expand Down
147 changes: 64 additions & 83 deletions docs/overrides/partials/header.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
{#- This file was automatically generated - do not edit -#} {% set class =
"md-header" %} {% if "navigation.tabs.sticky" in features %} {% set class =
class ~ " md-header--shadow md-header--lifted" %} {% elif "navigation.tabs" not
in features %} {% set class = class ~ " md-header--shadow" %} {% endif %}
{#-
This file was automatically generated - do not edit
-#}
{% set class = "md-header" %}
{% if "navigation.tabs.sticky" in features %}
{% set class = class ~ " md-header--shadow md-header--lifted" %}
{% elif "navigation.tabs" not in features %}
{% set class = class ~ " md-header--shadow" %}
{% endif %}
<style>
.demo-button {
border-radius: 0.1rem;
Expand Down Expand Up @@ -44,93 +49,69 @@
</div>
<div class="md-header__topic" data-md-component="header-topic">
<span class="md-ellipsis">
{% if page.meta and page.meta.title %} {{ page.meta.title }} {% else
%} {{ page.title }} {% endif %}
{% if page.meta and page.meta.title %}
{{ page.meta.title }}
{% else %}
{{ page.title }}
{% endif %}
</span>
</div>
</div>
</div>
{% if not config.theme.palette is mapping %}
<form class="md-header__option" data-md-component="palette">
{% for option in config.theme.palette %} {% set scheme = option.scheme |
d("default", true) %}
<input
class="md-option"
data-md-color-media="{{ option.media }}"
data-md-color-scheme="{{ scheme | replace(' ', '-') }}"
data-md-color-primary="{{ option.primary | replace(' ', '-') }}"
data-md-color-accent="{{ option.accent | replace(' ', '-') }}"
{%
if
option.toggle
%}
aria-label="{{ option.toggle.name }}"
{%
else
%}
aria-hidden="true"
{%
endif
%}
type="radio"
name="__palette"
id="__palette_{{ loop.index0 }}"
/>
{% if option.toggle %}
<label
class="md-header__button md-icon"
title="{{ option.toggle.name }}"
for="__palette_{{ loop.index % loop.length }}"
hidden
>
{% include ".icons/" ~ option.toggle.icon ~ ".svg" %}
</label>
{% endif %} {% endfor %}
</form>
{% endif %} {% if not config.theme.palette is mapping %} {% include
"partials/javascripts/palette.html" %} {% endif %} {% if
config.extra.alternate %}
<div class="md-header__option">
<div class="md-select">
{% set icon = config.theme.icon.alternate or "material/translate" %}
<button
class="md-header__button md-icon"
aria-label="{{ lang.t('select.language') }}"
>
{% include ".icons/" ~ icon ~ ".svg" %}
</button>
<div class="md-select__inner">
<ul class="md-select__list">
{% for alt in config.extra.alternate %}
<li class="md-select__item">
<a
href="{{ alt.link | url }}"
hreflang="{{ alt.lang }}"
class="md-select__link"
>
{{ alt.name }}
</a>
</li>
{% endfor %}
</ul>
<form class="md-header__option" data-md-component="palette">
{% for option in config.theme.palette %}
{% set scheme = option.scheme | d("default", true) %}
<input class="md-option" data-md-color-media="{{ option.media }}" data-md-color-scheme="{{ scheme | replace(' ', '-') }}" data-md-color-primary="{{ option.primary | replace(' ', '-') }}" data-md-color-accent="{{ option.accent | replace(' ', '-') }}" {% if option.toggle %} aria-label="{{ option.toggle.name }}" {% else %} aria-hidden="true" {% endif %} type="radio" name="__palette" id="__palette_{{ loop.index0 }}">
{% if option.toggle %}
<label class="md-header__button md-icon" title="{{ option.toggle.name }}" for="__palette_{{ loop.index % loop.length }}" hidden>
{% include ".icons/" ~ option.toggle.icon ~ ".svg" %}
</label>
{% endif %}
{% endfor %}
</form>
{% endif %}
{% if not config.theme.palette is mapping %}
{% include "partials/javascripts/palette.html" %}
{% endif %}
{% if config.extra.alternate %}
<div class="md-header__option">
<div class="md-select">
{% set icon = config.theme.icon.alternate or "material/translate" %}
<button class="md-header__button md-icon" aria-label="{{ lang.t('select.language') }}">
{% include ".icons/" ~ icon ~ ".svg" %}
</button>
<div class="md-select__inner">
<ul class="md-select__list">
{% for alt in config.extra.alternate %}
<li class="md-select__item">
<a href="{{ alt.link | url }}" hreflang="{{ alt.lang }}" class="md-select__link">
{{ alt.name }}
</a>
</li>
{% endfor %}
</ul>
</div>
</div>
</div>
</div>
</div>
{% endif %} {% if "material/search" in config.plugins %}
<label class="md-header__button md-icon" for="__search">
{% include ".icons/material/magnify.svg" %}
</label>
{% include "partials/search.html" %} {% endif %}
<a
class="demo-button"
href="https://cloud.sysreptor.com/demo"
target="_blank"
>Playground</a
>
{% endif %}
{% if "material/search" in config.plugins %}
<label class="md-header__button md-icon" for="__search">
{% include ".icons/material/magnify.svg" %}
</label>
{% include "partials/search.html" %}
{% endif %}
<a class="demo-button" href="https://cloud.sysreptor.com/demo" target="_blank">Playground</a>
{% if config.repo_url %}
<div class="md-header__source">{% include "partials/source.html" %}</div>
<div class="md-header__source">
{% include "partials/source.html" %}
</div>
{% endif %}
</nav>
{% if "navigation.tabs.sticky" in features %} {% if "navigation.tabs" in
features %} {% include "partials/tabs.html" %} {% endif %} {% endif %}
{% if "navigation.tabs.sticky" in features %}
{% if "navigation.tabs" in features %}
{% include "partials/tabs.html" %}
{% endif %}
{% endif %}
</header>

0 comments on commit 42a3da4

Please sign in to comment.