Skip to content
Snippets Groups Projects
Commit cbdff109 authored by rayhanp1402's avatar rayhanp1402
Browse files

Add app title to navbar, positions the navigation buttons to the right

parent 93345c6e
No related merge requests found
......@@ -4,6 +4,9 @@ function Navbar()
{
$html = <<<"EOT"
<div class="navbar">
<div class="navbar-title">
Gym Tracker
</div>
<a class="navbar-content" id="navigate-to-home" href="/home">
Home
</a>
......
......@@ -4,6 +4,9 @@ function NavbarAdmin()
{
$html = <<<"EOT"
<div class="navbar">
<div class="navbar-title">
Gym Tracker
</div>
<a class="navbar-content-admin" id="navigate-to-city" href="/admin/city">
City
</a>
......
......@@ -237,11 +237,21 @@ input.input-search {
border: 1px solid var(--border-standard);
background: var(--navbar-color);
}
.navbar-title {
width: 60%;
color: var(--text-light);
padding-left: 5%;
font-family: 'Aubrey';
font-weight: bold;
font-size: 19px;
}
.navbar-content {
width: 50%;
width: 20%;
}
.navbar-content-admin {
width: 33.3%;
width: 20%;
}
.navbar-content,
.navbar-content-admin {
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment