diff options
author | lonkaars <loek@pipeframe.xyz> | 2023-05-09 18:46:47 +0200 |
---|---|---|
committer | lonkaars <loek@pipeframe.xyz> | 2023-05-09 18:46:47 +0200 |
commit | b8e90ea5ea7c41444d7fbce6848e4c3cf37c87e5 (patch) | |
tree | 537a000c7bf5da9aeb9e1510b492d9fdb00fbf45 /public/navbar.php | |
parent | c8921aba257e663541d0758da100d63e15af25a6 (diff) |
add dark mode
Diffstat (limited to 'public/navbar.php')
-rw-r--r-- | public/navbar.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/public/navbar.php b/public/navbar.php index fca4663..a157c76 100644 --- a/public/navbar.php +++ b/public/navbar.php @@ -2,7 +2,7 @@ <nav> <div class="limwidth"> <a href="/" class="site-icon nolinkstyle"> - <span class="icon mdi cart-outline"></span> + <span class="icon"><?php include "img/cart-outline.svg" ?></span> <span class="label">winkel</span> </a> <a href="/products.php" class="nolinkstyle"><span>producten</span></a> @@ -10,9 +10,7 @@ <a href="/cart.php" class="nolinkstyle"> <?php echo "<span>mand"; - if ($logged_in) { - echo " (".$cart_count.")"; - } + if ($logged_in) echo " (".$cart_count.")"; echo "</span>"; ?> </a> |