Skip to content

Commit

Permalink
Remove footer, add documentation to navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
megastary committed Oct 27, 2023
1 parent c372638 commit 727d66c
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 33 deletions.
4 changes: 2 additions & 2 deletions public/stylesheets/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ input.favorite::after {
/* When checked, change color and to fa-solid */
input.favorite:checked:after {
font-weight: 900;
color: gold;
color: var(--bs-yellow);
}

/* Kiosk favorite */
i.favorite {
color: gold;
color: var(--bs-yellow);
position: absolute;
right: -0.5em;
top: -0.5em;
Expand Down
10 changes: 5 additions & 5 deletions views/layouts/layout.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html lang="cs" data-bs-theme="{{#if user.colorMode}}{{user.colorMode}}{{else}}dark{{/if}}">

<head>
<!-- Meta Tags -->
{{!-- Meta Tags --}}
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{title}}</title>
<!-- Locally hosted CSS -->
{{!-- Locally hosted CSS --}}
<link rel="stylesheet" href="/stylesheets/bootstrap/bootstrap.min.css">
<link rel="stylesheet" href="/stylesheets/fontawesome.min.css">
<link rel="stylesheet" href="/stylesheets/style.css">
Expand All @@ -25,12 +25,12 @@
<body>
{{> header}}
{{> alert}}
<div class="container-fluid mt-3">
<!-- Locally hosted JS, depended on by child pages -->
<div class="container-fluid">
{{!-- Locally hosted JS, depended on by child pages --}}
<script src="/javascripts/bootstrap.bundle.min.js"></script>
{{{body}}}
</div>
<!-- Locally hosted JS -->
{{!-- Locally hosted JS --}}
<script src="/javascripts/alert_timeout.js"></script>
</body>

Expand Down
9 changes: 2 additions & 7 deletions views/partials/header.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -58,15 +58,10 @@
</li>
{{/if}}

{{!-- Move somewhere else --}}
{{!-- <li class='nav-item mx-auto'>
<a class='nav-link' href='/about'><i class='fa-solid fa-question-circle'></i> O aplikaci <span
<li class='nav-item'>
<a class='nav-link' href='/about'><i class="fa-solid fa-book"></i> Dokumentace <span
class='sr-only'></span></a>
</li>
<li class='nav-item mx-auto'>
<a class='nav-link' href='/changelog'><i class='fa-solid fa-clipboard-list'></i> Changelog <span
class='sr-only'></span></a>
</li> --}}


</ul>
Expand Down
20 changes: 1 addition & 19 deletions views/shop/index.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,4 @@
</div>
<div class='col-lg py-3'></div>
</div>
{{/if}}
<nav class='navbar navbar-expand-lg bg-body-tertiary fixed-bottom'>
<div class='container-fluid'>
<ul class='navbar-nav navbar-expand-lg mx-auto'>
<li class='nav-item'>
<a href='/about' class='nav-link'><i
class='fa-solid fa-question-circle'
></i>
O aplikaci</a>
</li>
<li class='nav-item'>
<a href='/changelog' class='nav-link'><i
class='fa-solid fa-clipboard-list'
></i>
Seznam změn</a>
</li>
</ul>
</div>
</nav>
{{/if}}

0 comments on commit 727d66c

Please sign in to comment.