@@ -17,10 +17,8 @@ export default function Home() {
1717 < main className = "space-y-36" >
1818 < section className = "container max-w-6xl mx-auto px-4 lg:px-0 mt-36 text-gray-900 flex justify-center items-center" >
1919 < div className = "text-center lg:text-left w-full lg:w-2/3" >
20- < Text tag = "h1" variant = "h1" >
21- Make your projects
22- </ Text >
23- < Text tag = "h1" variant = "h1" className = "text-outlined" >
20+ < Text as = "h1" > Make your projects</ Text >
21+ < Text as = "h1" className = "text-outlined" >
2422 stand out!
2523 </ Text >
2624
@@ -61,63 +59,49 @@ export default function Home() {
6159 </ section >
6260
6361 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
64- < Text variant = "h2" tag = "h2" className = "mb-16 text-center" >
62+ < Text as = "h2" className = "mb-16 text-center" >
6563 Our components look both old school and modern! ✨
6664 </ Text >
6765
6866 < div className = "grid gap-4 grid-cols-2 lg:grid-cols-4 mb-8" >
6967 < div className = "space-y-4" >
70- < Text variant = "h4" tag = "h3" >
71- Button
72- </ Text >
68+ < Text as = "h4" > Button</ Text >
7369 < Button > Click Me</ Button >
7470 </ div >
7571 < div className = "space-y-4" >
76- < Text variant = "h4" tag = "h3" >
77- Badge
78- </ Text >
72+ < Text as = "h4" > Badge</ Text >
7973 < div className = "flex flex-wrap space-y-2 lg:space-y-0 space-x-2" >
8074 < Badge > Default Badge</ Badge >
8175 < Badge variant = "error" > Error Badge</ Badge >
8276 </ div >
8377 </ div >
8478 < div className = "space-y-4" >
85- < Text variant = "h4" tag = "h3" >
86- Avatar
87- </ Text >
79+ < Text as = "h4" > Avatar</ Text >
8880 < Avatar />
8981 </ div >
9082 < div className = "space-y-4" >
91- < Text variant = "h4" tag = "h3" >
92- Input
93- </ Text >
83+ < Text as = "h4" > Input</ Text >
9484 < Input />
9585 </ div >
9686 </ div >
9787 < div className = "grid gap-8 grid-cols-1 lg:grid-cols-3" >
9888 < div className = "space-y-4" >
99- < Text variant = "h4" tag = "h3" >
100- Textarea
101- </ Text >
89+ < Text as = "h4" > Textarea</ Text >
10290 < Textarea />
10391 </ div >
10492 < div className = "space-y-4" >
105- < Text variant = "h4" tag = "h3" >
106- Basic Card
107- </ Text >
93+ < Text as = "h4" > Basic Card</ Text >
10894 < BasicCard />
10995 </ div >
11096 < div className = "space-y-4" >
111- < Text variant = "h4" tag = "h3" >
112- Accordion
113- </ Text >
97+ < Text as = "h4" > Accordion</ Text >
11498 < AccordionStyleDefault />
11599 </ div >
116100 </ div >
117101 </ section >
118102
119103 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
120- < Text variant = "h2" tag = "h2" className = "mb-16 text-center" >
104+ < Text as = "h2" className = "mb-16 text-center" >
121105 And NO! We didn't just copy Gumroad!
122106 < br />
123107 Inspired, if you will... 💅
@@ -130,15 +114,15 @@ export default function Home() {
130114 width = { 300 }
131115 height = { 500 }
132116 />
133- < Text variant = "h3" tag = "h3" className = "lg:hidden mt-2 mb-12" >
117+ < Text as = "h3" className = "lg:hidden mt-2 mb-12" >
134118 👆 RetroUI Card
135119 </ Text >
136120
137121 < div className = "hidden lg:block space-y-4" >
138- < Text variant = "h2" tag = "h2" className = "text-left" >
122+ < Text as = "h2" className = "text-left" >
139123 👈 RetroUI Card
140124 </ Text >
141- < Text variant = "h2" tag = "h2" className = "text-right" >
125+ < Text as = "h2" className = "text-right" >
142126 Gumroad's Card 👉
143127 </ Text >
144128 </ div >
@@ -149,14 +133,14 @@ export default function Home() {
149133 width = { 300 }
150134 height = { 600 }
151135 />
152- < Text tag = "h3" variant = "h3" className = "lg:hidden mt-2" >
136+ < Text as = "h3" className = "lg:hidden mt-2" >
153137 👆 Gumroad's Card
154138 </ Text >
155139 </ div >
156140 </ section >
157141
158142 < section className = "container max-w-6xl mx-auto border-2 bg-primary-400 border-black py-16 px-4 lg:p-16" >
159- < Text tag = "h2" variant = "h2" className = "mb-8 text-center" >
143+ < Text as = "h2" className = "mb-8 text-center" >
160144 And did I mention it's Free and Open Source?
161145 </ Text >
162146 < div className = "flex flex-col lg:flex-row items-center justify-center space-y-4 lg:space-y-0 lg:space-x-4" >
0 commit comments