I FIXED ROUTING!!!!! YIPPEEEEEEE

Signed-off-by: ari melody <ari@arimelody.me>
This commit is contained in:
ari melody 2024-04-16 21:24:05 +01:00
parent 13d802d361
commit b42b37ff9c
11 changed files with 113 additions and 57 deletions

View file

@ -11,11 +11,15 @@
<meta property="og:site_name" content="ari melody">
<meta property="og:description" content="music from your local SPACEGIRL 💫">
<link rel="stylesheet" href="/style/main.css">
<link rel="stylesheet" href="/style/index.css">
<link rel="stylesheet" href="/style/music.css">
{{end}}
{{define "content"}}
<main>
<script type="module" src="/script/music.js" defer></script>
<h1>
# my music
</h1>
@ -42,7 +46,7 @@
{{end}}
</div>
<h2 id="usage" class="question" hx-get="/music#usage" hx-on="click" hx-swap="none" hx-push-url="true">
<h2 id="usage" class="question" swap-url="/music#usage">
<a href="#usage">
&gt; "can i use your music in my content?"
</a>
@ -84,7 +88,5 @@
</div>
<a href="#" id="backtotop">back to top</a>
<script type="module" src="/script/music.js" defer></script>
</main>
{{end}}