main #3

Merged
array-in-a-matrix merged 17 commits from main into hpx-spa 2024-01-10 19:49:12 -05:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit cde8e986c0 - Show all commits

View file

@ -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"):

View file

@ -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: