Improve markup
This commit is contained in:
parent
d9ca747bb3
commit
3fae8f8320
3 changed files with 4 additions and 4 deletions
src
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue