Optimize loading Google Fonts
This commit is contained in:
parent
72355f3053
commit
6e5bf7dbc4
3 changed files with 13 additions and 10 deletions
src/components
|
@ -16,7 +16,7 @@
|
|||
(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"
|
||||
(ul :preload "mouseover" :class "flex gap-4 text-xl font-bold"
|
||||
(loop
|
||||
:for (href label) :in *nav-menu* :collect
|
||||
(if (string= href (request-uri *request*))
|
||||
|
@ -56,7 +56,7 @@
|
|||
"Menu")
|
||||
(ul
|
||||
:preload "mousedown"
|
||||
:class "flex flex-col h-fit gap-8 text-3xl font-medium"
|
||||
:class "flex flex-col h-fit gap-8 text-3xl font-bold"
|
||||
(loop
|
||||
:for (href label) :in (append '(("/" "home")) *nav-menu*) :collect
|
||||
(if (string= href (request-uri *request*))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue