Improve markup

This commit is contained in:
Akira Tempaku 2025-05-13 07:26:09 +09:00
parent d9ca747bb3
commit 3fae8f8320
Signed by: paku
GPG key ID: 5B4E8402BCC50607
3 changed files with 4 additions and 4 deletions

View file

@ -13,7 +13,7 @@
(defcomp ~pc-header ()
(hsx
(header :class "hidden md:flex justify-between py-4 border-b-1 top-0 bg-white"
(h1 :class "z-20 text-3xl font-bold"
(p :class "z-20 text-3xl font-bold"
(a :preload "mouseover" :href "/" "skyizwhite"))
(nav :class "flex items-end"
(ul :preload "mouseover" :class "flex gap-4 text-xl font-medium"
@ -28,7 +28,7 @@
(header
:id "sp-header" :x-data "{ open: false }"
:class "flex md:hidden justify-between py-2 border-b-1 top-0 bg-white"
(h1 :class "z-20 text-2xl font-bold"
(p :class "z-20 text-2xl font-bold"
(a :preload "mousedown" :href "/" "skyizwhite"))
(div
(button

View file

@ -24,7 +24,7 @@
(defcomp ~page ()
(hsx
(section :class "flex flex-col items-center justify-center h-full"
(div :class "flex flex-col items-center justify-center h-full"
(img :src "/img/avatar.webp" :alt "avatar" :class "size-40 rounded-xl shadow-sm")
(div :class "flex flex-col items-center gap-2 py-6"
(h1 :class "font-bold text-2xl text-center"

View file

@ -12,7 +12,7 @@
(defcomp ~page ()
(hsx
(section :class "flex flex-col h-full items-center justify-center gap-y-6"
(div :class "flex flex-col h-full items-center justify-center gap-y-6"
(h1 :class "font-bold text-2xl"
"404 Not Found")
(a :href "/" :class "text-lg text-pink-500 hover:underline"