Rename header to nav
This commit is contained in:
parent
2af3278f15
commit
8b841aaa09
|
@ -6,7 +6,7 @@ templ About() {
|
|||
<html>
|
||||
@components.Head()
|
||||
<body class="container">
|
||||
@components.Header()
|
||||
@components.Nav()
|
||||
<div id="content" class="flex flex-col">
|
||||
@components.Figlet("random", "about")
|
||||
<div class="flex flex-col mb-3">
|
||||
|
|
|
@ -2,7 +2,7 @@ package components
|
|||
|
||||
import c "git.ekzyis.com/ekzyis/delphi.market/server/router/context"
|
||||
|
||||
templ Header() {
|
||||
templ Nav() {
|
||||
<header class="mt-3">
|
||||
<nav class="flex flex-row" hx-target="#content" hx-swap="outerHTML" hx-select="#content" hx-push-url="true">
|
||||
<div>
|
|
@ -10,7 +10,7 @@ templ Error(code int) {
|
|||
<html>
|
||||
@components.Head()
|
||||
<body class="container">
|
||||
@components.Header()
|
||||
@components.Nav()
|
||||
<div id="content" class="flex flex-col text-center">
|
||||
@components.Figlet("random", strconv.Itoa(code))
|
||||
<div class="font-mono mb-3">{ http.StatusText(code) }</div>
|
||||
|
|
|
@ -6,7 +6,7 @@ templ Index() {
|
|||
<html>
|
||||
@components.Head()
|
||||
<body class="container">
|
||||
@components.Header()
|
||||
@components.Nav()
|
||||
<div id="content" class="flex flex-col text-center">
|
||||
@components.Figlet("random", "delphi")
|
||||
<div class="font-mono my-3">A prediction market using the lightning network</div>
|
||||
|
|
|
@ -6,7 +6,7 @@ templ Login() {
|
|||
<html>
|
||||
@components.Head()
|
||||
<body class="container">
|
||||
@components.Header()
|
||||
@components.Nav()
|
||||
<div id="content" class="flex flex-col text-center">
|
||||
@components.Figlet("random", "login")
|
||||
<div class="flex flex-col mb-3 text-center">
|
||||
|
|
Loading…
Reference in New Issue