Refactor
This commit is contained in:
parent
569d21e707
commit
0c61e30e04
3 changed files with 6 additions and 6 deletions
|
@ -26,7 +26,7 @@ figure {
|
|||
height: 1em;
|
||||
margin: 0;
|
||||
}
|
||||
#svgLogo path {
|
||||
#logo path {
|
||||
fill: currentColor;
|
||||
}
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
<svg
|
||||
enable-background="new 0 0 512 512"
|
||||
height="616.96271"
|
||||
id="svgNoImage"
|
||||
id="no-image"
|
||||
version="1.1"
|
||||
viewBox="0 0 645.30048 616.96271"
|
||||
width="645.30048"
|
||||
|
@ -39,7 +39,7 @@
|
|||
inkscape:window-x="-8"
|
||||
inkscape:window-y="-7"
|
||||
inkscape:window-maximized="1"
|
||||
inkscape:current-layer="svgNoImage"
|
||||
inkscape:current-layer="no-image"
|
||||
inkscape:deskcolor="#d1d1d1" /><g
|
||||
id="g8"
|
||||
transform="matrix(3.0801933,0,0,3.0801933,-466.03325,-480.20212)"
|
||||
|
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
@ -568,13 +568,13 @@ class Page
|
|||
|
||||
ksort($pages);
|
||||
|
||||
$svgLogo = file_get_contents(ROOT . '/src/assets/img/logo.svg');
|
||||
$logo = file_get_contents(ROOT . '/src/assets/img/logo.svg');
|
||||
?>
|
||||
|
||||
<div class="ui attached stackable vertical menu sidebar">
|
||||
<div class="ui container">
|
||||
|
||||
<a class="item home" href="<?= Page::PAGE_HOME ?>"><?= $svgLogo ?></a>
|
||||
<a class="item home" href="<?= Page::PAGE_HOME ?>"><?= $logo ?></a>
|
||||
|
||||
<?php foreach ($pages as $page) { ?>
|
||||
<?php foreach ($page['items'] as $item) { ?>
|
||||
|
@ -591,7 +591,7 @@ class Page
|
|||
<div class="pusher">
|
||||
<div class="ui attached menu desktop">
|
||||
<div class="ui container">
|
||||
<a class="item home" href="<?= Page::PAGE_HOME ?>"><?= $svgLogo ?></a>
|
||||
<a class="item home" href="<?= Page::PAGE_HOME ?>"><?= $logo ?></a>
|
||||
|
||||
<?php foreach ($pages as $page) { ?>
|
||||
<?php if ('left' === $page['alignment']) { ?>
|
||||
|
|
Loading…
Reference in a new issue