chore: add /images link to nav bar

main
Jef Roosens 2025-01-25 14:35:53 +01:00
parent fff85d4479
commit 9ec0e6f179
No known key found for this signature in database
GPG Key ID: 21FD3D77D56BAF49
2 changed files with 2 additions and 4 deletions

View File

@ -1,5 +1,3 @@
use std::time::Duration;
use axum::{ use axum::{
extract::{Path, Query, State}, extract::{Path, Query, State},
http::HeaderMap, http::HeaderMap,

View File

@ -16,11 +16,11 @@ a:hover {
<main> <main>
<nav> <nav>
<ul> <ul>
<li><strong>Calathea</strong></li> <li><a hx-get="/" hx-target="#content" hx-push-url="true"><strong>Calathea</strong></a></li>
</ul> </ul>
<ul> <ul>
<li><a hx-get="/" hx-target="#content" hx-push-url="true">Home</a></li>
<li><a hx-get="/plants" hx-target="#content" hx-push-url="true">Plants</a></li> <li><a hx-get="/plants" hx-target="#content" hx-push-url="true">Plants</a></li>
<li><a hx-get="/images" hx-target="#content" hx-push-url="true">Images</a></li>
</ul> </ul>
</nav> </nav>
<article id="content"> <article id="content">