main #3
1 changed files with 13 additions and 4 deletions
|
@ -1,8 +1,17 @@
|
||||||
import happyx
|
import happyx
|
||||||
|
|
||||||
component Glass:
|
var
|
||||||
arg: string
|
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`:
|
`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"):
|
tH(class=newClass):
|
||||||
{self.arg}
|
{self.text}
|
||||||
|
|
||||||
|
component GlassHome:
|
||||||
|
text: string
|
||||||
|
`template`:
|
||||||
|
tH(class=newHomeClass):
|
||||||
|
{self.text}
|
Loading…
Add table
Reference in a new issue