diff options
author | navanchauhan <navanchauhan@gmail.com> | 2023-01-18 01:40:39 -0700 |
---|---|---|
committer | navanchauhan <navanchauhan@gmail.com> | 2023-01-18 01:40:39 -0700 |
commit | 46f32a7dc26dad46ffa974de56bf1541b8578e12 (patch) | |
tree | de206a4631c4720ba94423f52f754cc7239b410d /templates/components/section.html | |
parent | 385a245cf6bab475eb48102d2fd9873909da1f2c (diff) |
improve UI
Diffstat (limited to 'templates/components/section.html')
-rw-r--r-- | templates/components/section.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/components/section.html b/templates/components/section.html index 563a6a9..ca664fb 100644 --- a/templates/components/section.html +++ b/templates/components/section.html @@ -11,6 +11,15 @@ </section> {{end}} +{{define "navbar"}} +<nav class="navbar is-fixed-top is-primary" role="navigation" aria-label="main navigation"> + <div class="navbar-brand"> + <a href="/" class="navbar-item subtitle is-3">{{.GlobalVars.Name}}</a> + </div> +</nav> +{{end}} + + {{define "hero-medium"}} <section class="hero is-medium is-primary"> <div class="hero-body"> |