main #3

Merged
array-in-a-matrix merged 17 commits from main into hpx-spa 2024-01-10 19:49:12 -05:00
Showing only changes of commit f027c4ec0c - Show all commits

View file

@ -1,8 +1,17 @@
import happyx
component Glass:
arg: string
var
newClass = "flex items-center justify-center flex-1 m-14 max-md:m-7 max-sm:m-0 rounded-3xl max-sm:rounded-none bg-white/20 backdrop-blur-xl drop-shadow-lg noise text-5xl"
newHomeClass = newClass & " font-giga"
component Glass:
text: string
`template`:
tArticle(class="flex items-center justify-center flex-1 m-14 max-md:m-7 max-sm:m-0 rounded-3xl max-sm:rounded-none bg-white/20 backdrop-blur-xl drop-shadow-lg noise"):
{self.arg}
tH(class=newClass):
{self.text}
component GlassHome:
text: string
`template`:
tH(class=newHomeClass):
{self.text}