diff --git a/app/config/routes.neon b/app/config/routes.neon index 2ac079882..3e7278e6a 100644 --- a/app/config/routes.neon +++ b/app/config/routes.neon @@ -104,3 +104,7 @@ parameters: mask: cs_CZ: cookies en_US: cookies + Security: + mask: + cs_CZ: bezpecnost + en_US: security diff --git a/app/src/Www/Presenters/SecurityPresenter.php b/app/src/Www/Presenters/SecurityPresenter.php new file mode 100644 index 000000000..b06f89e24 --- /dev/null +++ b/app/src/Www/Presenters/SecurityPresenter.php @@ -0,0 +1,24 @@ +template->pageTitle = $this->translator->translate('messages.title.who'); + $this->template->pageHeader = $this->translator->translate('messages.header.who'); + } + +} diff --git a/app/src/Www/Presenters/templates/@layout.latte b/app/src/Www/Presenters/templates/@layout.latte index 05f89a461..be0bdea3f 100644 --- a/app/src/Www/Presenters/templates/@layout.latte +++ b/app/src/Www/Presenters/templates/@layout.latte @@ -13,9 +13,9 @@ {if isset($pageTitle)}{$pageTitle} | {/if}Michal Špaček {control criticalCss} {if $darkMode === null} - {styleSheet screen-main + '@media (prefers-color-scheme: dark) {' + screen-main-dark + '}'} + {styleSheet screen-main + '@media (prefers-color-scheme: dark) {' + screen-main-dark + '}' + rating} {elseif $darkMode} - {styleSheet screen-main + screen-main-dark} + {styleSheet screen-main + screen-main-dark + rating} {else} {styleSheet screen-main} {/if} diff --git a/app/src/Www/Presenters/templates/Security/default.latte b/app/src/Www/Presenters/templates/Security/default.latte new file mode 100644 index 000000000..72c12168c --- /dev/null +++ b/app/src/Www/Presenters/templates/Security/default.latte @@ -0,0 +1,7 @@ +{define #menu} + » Michal Špaček +{/define} + +{define #content} +
A+ ayyyy
+{/define}