@@ -18,8 +18,8 @@ import Link from "next/link";
1818export default function Home ( ) {
1919 return (
2020 < main className = "space-y-36" >
21- < section className = "container max-w-6xl mx-auto mt-36 text-gray-900 flex justify-center items-center" >
22- < div className = "w-2/3" >
21+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 mt-36 text-gray-900 flex justify-center items-center" >
22+ < div className = "text-center lg:text-left w-full lg: w-2/3" >
2323 < H1 > Make your projects</ H1 >
2424 < H1 className = "text-outlined" > stand out!</ H1 >
2525
@@ -29,7 +29,7 @@ export default function Home() {
2929 { /* <br /> Now available for both HTML and React! */ }
3030 </ p >
3131
32- < div className = "max-w-96 grid gap-4 grid-cols-2" >
32+ < div className = "max-w-96 grid gap-4 grid-cols-2 mx-auto lg:mx-0 " >
3333 < Link href = "/docs" passHref >
3434 < Button className = "w-full" aria-label = "Get Started with RetroUI" >
3535 Get Started
@@ -50,7 +50,7 @@ export default function Home() {
5050 </ Link >
5151 </ div >
5252 </ div >
53- < div className = "w-1/3" >
53+ < div className = "hidden lg:block lg: w-1/3" >
5454 < img
5555 alt = "orange cool cat"
5656 src = "/images/orange_boos.png"
@@ -59,7 +59,7 @@ export default function Home() {
5959 </ div >
6060 </ section >
6161
62- < section className = "container max-w-6xl mx-auto " >
62+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 " >
6363 < H2 className = "mb-16 text-center" >
6464 Our components look both old school and modern! ✨
6565 </ H2 >
@@ -71,7 +71,7 @@ export default function Home() {
7171 </ div >
7272 < div className = "space-y-4" >
7373 < H4 > Badge</ H4 >
74- < div className = "space-x-2" >
74+ < div className = "flex flex-wrap space-y-2 lg:space-y-0 space-x-2" >
7575 < Badge > Default Badge</ Badge >
7676 < Badge variant = "error" > Error Badge</ Badge >
7777 </ div >
@@ -101,7 +101,7 @@ export default function Home() {
101101 </ div >
102102 </ section >
103103
104- < section className = "container max-w-6xl mx-auto" >
104+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 " >
105105 < H2 className = "mb-16 text-center" >
106106 And NO! We didn't just copy Gumroad!
107107 < br />
@@ -124,19 +124,19 @@ export default function Home() {
124124 < Image
125125 src = "/images/gumroad_product_card.png"
126126 alt = "our product card"
127- className = "ml-auto"
127+ className = "mr-auto lg: ml-auto"
128128 width = { 300 }
129129 height = { 600 }
130130 />
131131 < H3 className = "lg:hidden mt-2" > 👆 Gumroad's Card</ H3 >
132132 </ div >
133133 </ section >
134134
135- < section className = "container max-w-6xl mx-auto border-2 bg-primary-400 border-black p-16" >
135+ < section className = "container max-w-6xl mx-auto border-2 bg-primary-400 border-black py-16 px-4 lg: p-16" >
136136 < H2 className = "mb-8 text-center" >
137137 And did I mention it's Free and Open Source?
138138 </ H2 >
139- < div className = "flex justify-center space-x-4" >
139+ < div className = "flex flex-col lg:flex-row items-center justify-center space-y-4 lg:space-y-0 lg: space-x-4" >
140140 < Link
141141 href = "https://github.com/ariflogs/retroui"
142142 target = "_blank"
0 commit comments