main #3
2 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,5 @@
|
||||||
import happyx, navButton
|
import happyx, navButton
|
||||||
|
|
||||||
# https://git.inamatrix.xyz/array-in-a-matrix/bloginamatrix.xyz/src/commit/218b85211755732344f3fd08ab4f4a3e01ab08ac/src/templates/index.nimja#L57
|
|
||||||
|
|
||||||
component Nav:
|
component Nav:
|
||||||
`template`:
|
`template`:
|
||||||
tNav(class="text-center text-white w-64 max-md:w-32 max-sm:w-full bg-black"):
|
tNav(class="text-center text-white w-64 max-md:w-32 max-sm:w-full bg-black"):
|
||||||
|
|
|
@ -3,6 +3,7 @@ import happyx
|
||||||
component NavButton:
|
component NavButton:
|
||||||
text: string
|
text: string
|
||||||
path: cstring = "/"
|
path: cstring = "/"
|
||||||
|
|
||||||
`template`:
|
`template`:
|
||||||
tLi(class="list-item cursor-pointer text-white mx-2 my-2 ring-1 ring-white/20 hover:ring-white/50 rounded"):
|
tLi(class="list-item cursor-pointer text-white mx-2 my-2 ring-1 ring-white/20 hover:ring-white/50 rounded"):
|
||||||
tButton:
|
tButton:
|
||||||
|
|
Loading…
Add table
Reference in a new issue