@@ -3,10 +3,7 @@ import {
33 Badge ,
44 BasicCard ,
55 Button ,
6- H1 ,
7- H2 ,
8- H3 ,
9- H4 ,
6+ Typography ,
107 Input ,
118 Textarea ,
129} from "@/packages/ui" ;
@@ -20,8 +17,8 @@ export default function Home() {
2017 < main className = "space-y-36" >
2118 < section className = "container max-w-6xl mx-auto px-4 lg:px-0 mt-36 text-gray-900 flex justify-center items-center" >
2219 < div className = "text-center lg:text-left w-full lg:w-2/3" >
23- < H1 > Make your projects</ H1 >
24- < H1 className = "text-outlined" > stand out!</ H1 >
20+ < Typography > Make your projects</ Typography >
21+ < Typography className = "text-outlined" > stand out!</ Typography >
2522
2623 < p className = "text-lg text-muted mb-8 mt-4" >
2724 Retro styled component library for modern web apps. Comes with 20+
@@ -60,53 +57,67 @@ export default function Home() {
6057 </ section >
6158
6259 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
63- < H2 className = "mb-16 text-center" >
60+ < Typography variant = "h2" component = "h2" className = "mb-16 text-center" >
6461 Our components look both old school and modern! ✨
65- </ H2 >
62+ </ Typography >
6663
6764 < div className = "grid gap-4 grid-cols-2 lg:grid-cols-4 mb-8" >
6865 < div className = "space-y-4" >
69- < H4 > Button</ H4 >
66+ < Typography variant = "h4" component = "h3" >
67+ Button
68+ </ Typography >
7069 < Button > Click Me</ Button >
7170 </ div >
7271 < div className = "space-y-4" >
73- < H4 > Badge</ H4 >
72+ < Typography variant = "h4" component = "h3" >
73+ Badge
74+ </ Typography >
7475 < div className = "flex flex-wrap space-y-2 lg:space-y-0 space-x-2" >
7576 < Badge > Default Badge</ Badge >
7677 < Badge variant = "error" > Error Badge</ Badge >
7778 </ div >
7879 </ div >
7980 < div className = "space-y-4" >
80- < H4 > Avatar</ H4 >
81+ < Typography variant = "h4" component = "h3" >
82+ Avatar
83+ </ Typography >
8184 < Avatar />
8285 </ div >
8386 < div className = "space-y-4" >
84- < H4 > Input</ H4 >
87+ < Typography variant = "h4" component = "h3" >
88+ Input
89+ </ Typography >
8590 < Input />
8691 </ div >
8792 </ div >
8893 < div className = "grid gap-8 grid-cols-1 lg:grid-cols-3" >
8994 < div className = "space-y-4" >
90- < H4 > Textarea</ H4 >
95+ < Typography variant = "h4" component = "h3" >
96+ Textarea
97+ </ Typography >
9198 < Textarea />
9299 </ div >
93100 < div className = "space-y-4" >
94- < H4 > Basic Card</ H4 >
101+ < Typography variant = "h4" component = "h3" >
102+ Basic Card
103+ </ Typography >
95104 < BasicCard />
96105 </ div >
97106 < div className = "space-y-4" >
98- < H4 > Accordion</ H4 >
107+ < Typography variant = "h4" component = "h3" >
108+ Accordion
109+ </ Typography >
99110 < AccordionStyleDefault />
100111 </ div >
101112 </ div >
102113 </ section >
103114
104115 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
105- < H2 className = "mb-16 text-center" >
116+ < Typography variant = "h2" component = "h2" className = "mb-16 text-center" >
106117 And NO! We didn't just copy Gumroad!
107118 < br />
108119 Inspired, if you will... 💅
109- </ H2 >
120+ </ Typography >
110121
111122 < div className = "grid grid-cols-1 lg:grid-cols-3 items-center" >
112123 < Image
@@ -115,11 +126,21 @@ export default function Home() {
115126 width = { 300 }
116127 height = { 500 }
117128 />
118- < H3 className = "lg:hidden mt-2 mb-12" > 👆 RetroUI Card</ H3 >
129+ < Typography
130+ variant = "h3"
131+ component = "h3"
132+ className = "lg:hidden mt-2 mb-12"
133+ >
134+ 👆 RetroUI Card
135+ </ Typography >
119136
120137 < div className = "hidden lg:block space-y-4" >
121- < H2 className = "text-left" > 👈 RetroUI Card</ H2 >
122- < H2 className = "text-right" > Gumroad's Card 👉</ H2 >
138+ < Typography variant = "h2" component = "h2" className = "text-left" >
139+ 👈 RetroUI Card
140+ </ Typography >
141+ < Typography variant = "h2" component = "h2" className = "text-right" >
142+ Gumroad's Card 👉
143+ </ Typography >
123144 </ div >
124145 < Image
125146 src = "/images/gumroad_product_card.png"
@@ -128,14 +149,16 @@ export default function Home() {
128149 width = { 300 }
129150 height = { 600 }
130151 />
131- < H3 className = "lg:hidden mt-2" > 👆 Gumroad's Card</ H3 >
152+ < Typography component = "h3" variant = "h3" className = "lg:hidden mt-2" >
153+ 👆 Gumroad's Card
154+ </ Typography >
132155 </ div >
133156 </ section >
134157
135158 < section className = "container max-w-6xl mx-auto border-2 bg-primary-400 border-black py-16 px-4 lg:p-16" >
136- < H2 className = "mb-8 text-center" >
159+ < Typography component = "h2" variant = "h2" className = "mb-8 text-center" >
137160 And did I mention it's Free and Open Source?
138- </ H2 >
161+ </ Typography >
139162 < div className = "flex flex-col lg:flex-row items-center justify-center space-y-4 lg:space-y-0 lg:space-x-4" >
140163 < Link
141164 href = "https://github.com/Logging-Stuff/retroui"
0 commit comments