Fix a couple of bugs in the top

This commit is contained in:
dtonon
2025-01-26 20:52:36 +01:00
parent 1dd3788a98
commit 04bb08379a

View File

@@ -1,7 +1,7 @@
package main
templ topTemplate(params HeadParams) {
<header class="items-center p-4 pb-6 print:block flex flex-row text-base">
<header class="p-4 pb-6 print:block flex flex-row text-base">
<div class="hidden sm:block sm:w-[14%]"></div>
<div class="w-[90%] sm:w-[72%] sm:text-right">
<div class="hidden">
@@ -19,7 +19,7 @@ templ topTemplate(params HeadParams) {
if !(params.IsAbout) {
<a href="/about" class="mr-4">What is <span class="text-strongpink">Njump</span>?</a>
}
<a href="https://start.njump.me" class="leading-9 mr-4 px-2 py-1 bg-strongpink text-neutral-50 rounded-md ">Join Nostr</a>
<a href="https://start.njump.me" class="leading-9 mr-4 px-2 py-1 bg-strongpink text-neutral-50 rounded-md text-nowrap">Join Nostr</a>
</div>
<div class="w-[10%] sm:w-[14%]">
<div