@@ -3,10 +3,7 @@ import {
33 Badge ,
44 BasicCard ,
55 Button ,
6- H1 ,
7- H2 ,
8- H3 ,
9- H4 ,
6+ Text ,
107 Input ,
118 Textarea ,
129} from "@/packages/ui" ;
@@ -20,8 +17,10 @@ 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+ < Text as = "h1" > Make your projects</ Text >
21+ < Text as = "h1" className = "text-outlined" >
22+ stand out!
23+ </ Text >
2524
2625 < p className = "text-lg text-muted mb-8 mt-4" >
2726 Retro styled component library for modern web apps. Comes with 20+
@@ -60,53 +59,53 @@ export default function Home() {
6059 </ section >
6160
6261 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
63- < H2 className = "mb-16 text-center" >
62+ < Text as = "h2" className = "mb-16 text-center" >
6463 Our components look both old school and modern! ✨
65- </ H2 >
64+ </ Text >
6665
6766 < div className = "grid gap-4 grid-cols-2 lg:grid-cols-4 mb-8" >
6867 < div className = "space-y-4" >
69- < H4 > Button</ H4 >
68+ < Text as = "h4" > Button</ Text >
7069 < Button > Click Me</ Button >
7170 </ div >
7271 < div className = "space-y-4" >
73- < H4 > Badge</ H4 >
72+ < Text as = "h4" > Badge</ Text >
7473 < div className = "flex flex-wrap space-y-2 lg:space-y-0 space-x-2" >
7574 < Badge > Default Badge</ Badge >
7675 < Badge variant = "error" > Error Badge</ Badge >
7776 </ div >
7877 </ div >
7978 < div className = "space-y-4" >
80- < H4 > Avatar</ H4 >
79+ < Text as = "h4" > Avatar</ Text >
8180 < Avatar />
8281 </ div >
8382 < div className = "space-y-4" >
84- < H4 > Input</ H4 >
83+ < Text as = "h4" > Input</ Text >
8584 < Input />
8685 </ div >
8786 </ div >
8887 < div className = "grid gap-8 grid-cols-1 lg:grid-cols-3" >
8988 < div className = "space-y-4" >
90- < H4 > Textarea</ H4 >
89+ < Text as = "h4" > Textarea</ Text >
9190 < Textarea />
9291 </ div >
9392 < div className = "space-y-4" >
94- < H4 > Basic Card</ H4 >
93+ < Text as = "h4" > Basic Card</ Text >
9594 < BasicCard />
9695 </ div >
9796 < div className = "space-y-4" >
98- < H4 > Accordion</ H4 >
97+ < Text as = "h4" > Accordion</ Text >
9998 < AccordionStyleDefault />
10099 </ div >
101100 </ div >
102101 </ section >
103102
104103 < section className = "container max-w-6xl mx-auto px-4 lg:px-0" >
105- < H2 className = "mb-16 text-center" >
104+ < Text as = "h2" className = "mb-16 text-center" >
106105 And NO! We didn't just copy Gumroad!
107106 < br />
108107 Inspired, if you will... 💅
109- </ H2 >
108+ </ Text >
110109
111110 < div className = "grid grid-cols-1 lg:grid-cols-3 items-center" >
112111 < Image
@@ -115,11 +114,17 @@ export default function Home() {
115114 width = { 300 }
116115 height = { 500 }
117116 />
118- < H3 className = "lg:hidden mt-2 mb-12" > 👆 RetroUI Card</ H3 >
117+ < Text as = "h3" className = "lg:hidden mt-2 mb-12" >
118+ 👆 RetroUI Card
119+ </ Text >
119120
120121 < 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 >
122+ < Text as = "h2" className = "text-left" >
123+ 👈 RetroUI Card
124+ </ Text >
125+ < Text as = "h2" className = "text-right" >
126+ Gumroad's Card 👉
127+ </ Text >
123128 </ div >
124129 < Image
125130 src = "/images/gumroad_product_card.png"
@@ -128,14 +133,16 @@ export default function Home() {
128133 width = { 300 }
129134 height = { 600 }
130135 />
131- < H3 className = "lg:hidden mt-2" > 👆 Gumroad's Card</ H3 >
136+ < Text as = "h3" className = "lg:hidden mt-2" >
137+ 👆 Gumroad's Card
138+ </ Text >
132139 </ div >
133140 </ section >
134141
135142 < 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" >
143+ < Text as = "h2" className = "mb-8 text-center" >
137144 And did I mention it's Free and Open Source?
138- </ H2 >
145+ </ Text >
139146 < div className = "flex flex-col lg:flex-row items-center justify-center space-y-4 lg:space-y-0 lg:space-x-4" >
140147 < Link
141148 href = "https://github.com/Logging-Stuff/retroui"
0 commit comments