create new html views
This commit is contained in:
33
views/header.html
Normal file
33
views/header.html
Normal file
@@ -0,0 +1,33 @@
|
||||
{{ block "header" .}}
|
||||
<header class="bg-white shadow-md">
|
||||
<nav class="container mx-auto flex justify-between items-center py-4 px-6">
|
||||
<a href="#" class="text-xl font-bold text-blue-600">Your Name</a>
|
||||
<div class="space-x-6">
|
||||
<a
|
||||
id="aboutNavLink"
|
||||
hx-get="/"
|
||||
hx-target="#content"
|
||||
hx-push-url="true"
|
||||
class="nav-link active"
|
||||
>About</a
|
||||
>
|
||||
<a
|
||||
id="projectsNavLink"
|
||||
hx-get="/projects"
|
||||
hx-target="#content"
|
||||
hx-push-url="true"
|
||||
class="nav-link"
|
||||
>Projects</a
|
||||
>
|
||||
<a
|
||||
id="experiencesNavLink"
|
||||
hx-get="/experience"
|
||||
hx-target="#content"
|
||||
hx-push-url="true"
|
||||
class="nav-link"
|
||||
>Experience</a
|
||||
>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user