mirror of
https://github.com/michivonah/website-v3.git
synced 2025-12-22 21:36:28 +01:00
implement navigation for mobile + desktop
This commit is contained in:
parent
5d3cbd7208
commit
4a703050ec
4 changed files with 228 additions and 2 deletions
|
|
@ -1,7 +1,11 @@
|
|||
{{ partial "header.html" . }}
|
||||
|
||||
{{ partial "navbar.html" . }}
|
||||
|
||||
<div class="content inner-width">
|
||||
{{ block "main" . }}
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
{{ partial "scrollTop.html" . }}
|
||||
{{ partial "footer.html" . }}
|
||||
15
layouts/partials/navbar.html
Normal file
15
layouts/partials/navbar.html
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
<nav class=""> <!-- Class "small", "open" is possible -->
|
||||
<div class="inner-width">
|
||||
<a href="#" alt="Home"><img src='{{ "/assets/logo/logo_white.svg" | relURL }}' alt="Logo" title="Logo"></a>
|
||||
<div class="nav-links">
|
||||
<a href="#" alt="Home">Home</a>
|
||||
<a href="#about" alt="About">Über mich</a>
|
||||
<a href="#projects" alt="Projekte">Projekte</a>
|
||||
<a href="https://blog.michivonah.ch" alt="Blog">Blog</a>
|
||||
<a href="#contact" alt="Kontakt">Kontakt</a>
|
||||
</div>
|
||||
<div class="nav-toggle">
|
||||
<i class="ai-text-align-right"></i>
|
||||
</div>
|
||||
</div>
|
||||
</nav>
|
||||
Loading…
Add table
Add a link
Reference in a new issue