33 Badge ,
44 BasicCard ,
55 Button ,
6- Typography ,
6+ Text ,
77 Input ,
88 Textarea ,
99} from "@/packages/ui" ;
@@ -17,8 +17,12 @@ 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- < Typography > Make your projects</ Typography >
21- < Typography className = "text-outlined" > stand out!</ Typography >
20+ < Text tag = "h1" variant = "h1" >
21+ Make your projects
22+ </ Text >
23+ < Text tag = "h1" variant = "h1" className = "text-outlined" >
24+ stand out!
25+ </ Text >
2226
2327 < p className = "text-lg text-muted mb-8 mt-4" >
2428 Retro styled component library for modern web apps. Comes with 20+
@@ -57,67 +61,67 @@ export default function Home() {
5761 </ section >
5862
5963 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
60- < Typography variant = "h2" component = "h2" className = "mb-16 text-center" >
64+ < Text variant = "h2" tag = "h2" className = "mb-16 text-center" >
6165 Our components look both old school and modern! ✨
62- </ Typography >
66+ </ Text >
6367
6468 < div className = "grid gap-4 grid-cols-2 lg:grid-cols-4 mb-8" >
6569 < div className = "space-y-4" >
66- < Typography variant = "h4" component = "h3" >
70+ < Text variant = "h4" tag = "h3" >
6771 Button
68- </ Typography >
72+ </ Text >
6973 < Button > Click Me</ Button >
7074 </ div >
7175 < div className = "space-y-4" >
72- < Typography variant = "h4" component = "h3" >
76+ < Text variant = "h4" tag = "h3" >
7377 Badge
74- </ Typography >
78+ </ Text >
7579 < div className = "flex flex-wrap space-y-2 lg:space-y-0 space-x-2" >
7680 < Badge > Default Badge</ Badge >
7781 < Badge variant = "error" > Error Badge</ Badge >
7882 </ div >
7983 </ div >
8084 < div className = "space-y-4" >
81- < Typography variant = "h4" component = "h3" >
85+ < Text variant = "h4" tag = "h3" >
8286 Avatar
83- </ Typography >
87+ </ Text >
8488 < Avatar />
8589 </ div >
8690 < div className = "space-y-4" >
87- < Typography variant = "h4" component = "h3" >
91+ < Text variant = "h4" tag = "h3" >
8892 Input
89- </ Typography >
93+ </ Text >
9094 < Input />
9195 </ div >
9296 </ div >
9397 < div className = "grid gap-8 grid-cols-1 lg:grid-cols-3" >
9498 < div className = "space-y-4" >
95- < Typography variant = "h4" component = "h3" >
99+ < Text variant = "h4" tag = "h3" >
96100 Textarea
97- </ Typography >
101+ </ Text >
98102 < Textarea />
99103 </ div >
100104 < div className = "space-y-4" >
101- < Typography variant = "h4" component = "h3" >
105+ < Text variant = "h4" tag = "h3" >
102106 Basic Card
103- </ Typography >
107+ </ Text >
104108 < BasicCard />
105109 </ div >
106110 < div className = "space-y-4" >
107- < Typography variant = "h4" component = "h3" >
111+ < Text variant = "h4" tag = "h3" >
108112 Accordion
109- </ Typography >
113+ </ Text >
110114 < AccordionStyleDefault />
111115 </ div >
112116 </ div >
113117 </ section >
114118
115119 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
116- < Typography variant = "h2" component = "h2" className = "mb-16 text-center" >
120+ < Text variant = "h2" tag = "h2" className = "mb-16 text-center" >
117121 And NO! We didn't just copy Gumroad!
118122 < br />
119123 Inspired, if you will... 💅
120- </ Typography >
124+ </ Text >
121125
122126 < div className = "grid grid-cols-1 lg:grid-cols-3 items-center" >
123127 < Image
@@ -126,21 +130,17 @@ export default function Home() {
126130 width = { 300 }
127131 height = { 500 }
128132 />
129- < Typography
130- variant = "h3"
131- component = "h3"
132- className = "lg:hidden mt-2 mb-12"
133- >
133+ < Text variant = "h3" tag = "h3" className = "lg:hidden mt-2 mb-12" >
134134 👆 RetroUI Card
135- </ Typography >
135+ </ Text >
136136
137137 < div className = "hidden lg:block space-y-4" >
138- < Typography variant = "h2" component = "h2" className = "text-left" >
138+ < Text variant = "h2" tag = "h2" className = "text-left" >
139139 👈 RetroUI Card
140- </ Typography >
141- < Typography variant = "h2" component = "h2" className = "text-right" >
140+ </ Text >
141+ < Text variant = "h2" tag = "h2" className = "text-right" >
142142 Gumroad's Card 👉
143- </ Typography >
143+ </ Text >
144144 </ div >
145145 < Image
146146 src = "/images/gumroad_product_card.png"
@@ -149,16 +149,16 @@ export default function Home() {
149149 width = { 300 }
150150 height = { 600 }
151151 />
152- < Typography component = "h3" variant = "h3" className = "lg:hidden mt-2" >
152+ < Text tag = "h3" variant = "h3" className = "lg:hidden mt-2" >
153153 👆 Gumroad's Card
154- </ Typography >
154+ </ Text >
155155 </ div >
156156 </ section >
157157
158158 < section className = "container max-w-6xl mx-auto border-2 bg-primary-400 border-black py-16 px-4 lg:p-16" >
159- < Typography component = "h2" variant = "h2" className = "mb-8 text-center" >
159+ < Text tag = "h2" variant = "h2" className = "mb-8 text-center" >
160160 And did I mention it's Free and Open Source?
161- </ Typography >
161+ </ Text >
162162 < div className = "flex flex-col lg:flex-row items-center justify-center space-y-4 lg:space-y-0 lg:space-x-4" >
163163 < Link
164164 href = "https://github.com/Logging-Stuff/retroui"
0 commit comments