@@ -18,8 +18,8 @@ import Link from "next/link";
18
18
export default function Home ( ) {
19
19
return (
20
20
< 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" >
23
23
< H1 > Make your projects</ H1 >
24
24
< H1 className = "text-outlined" > stand out!</ H1 >
25
25
@@ -29,7 +29,7 @@ export default function Home() {
29
29
{ /* <br /> Now available for both HTML and React! */ }
30
30
</ p >
31
31
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 " >
33
33
< Link href = "/docs" passHref >
34
34
< Button className = "w-full" aria-label = "Get Started with RetroUI" >
35
35
Get Started
@@ -50,7 +50,7 @@ export default function Home() {
50
50
</ Link >
51
51
</ div >
52
52
</ div >
53
- < div className = "w-1/3" >
53
+ < div className = "hidden lg:block lg: w-1/3" >
54
54
< img
55
55
alt = "orange cool cat"
56
56
src = "/images/orange_boos.png"
@@ -59,7 +59,7 @@ export default function Home() {
59
59
</ div >
60
60
</ section >
61
61
62
- < section className = "container max-w-6xl mx-auto " >
62
+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 " >
63
63
< H2 className = "mb-16 text-center" >
64
64
Our components look both old school and modern! ✨
65
65
</ H2 >
@@ -71,7 +71,7 @@ export default function Home() {
71
71
</ div >
72
72
< div className = "space-y-4" >
73
73
< 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" >
75
75
< Badge > Default Badge</ Badge >
76
76
< Badge variant = "error" > Error Badge</ Badge >
77
77
</ div >
@@ -101,7 +101,7 @@ export default function Home() {
101
101
</ div >
102
102
</ section >
103
103
104
- < section className = "container max-w-6xl mx-auto" >
104
+ < section className = "container max-w-6xl mx-auto px-4 lg:px-0 " >
105
105
< H2 className = "mb-16 text-center" >
106
106
And NO! We didn't just copy Gumroad!
107
107
< br />
@@ -124,19 +124,19 @@ export default function Home() {
124
124
< Image
125
125
src = "/images/gumroad_product_card.png"
126
126
alt = "our product card"
127
- className = "ml-auto"
127
+ className = "mr-auto lg: ml-auto"
128
128
width = { 300 }
129
129
height = { 600 }
130
130
/>
131
131
< H3 className = "lg:hidden mt-2" > 👆 Gumroad's Card</ H3 >
132
132
</ div >
133
133
</ section >
134
134
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" >
136
136
< H2 className = "mb-8 text-center" >
137
137
And did I mention it's Free and Open Source?
138
138
</ 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" >
140
140
< Link
141
141
href = "https://github.com/ariflogs/retroui"
142
142
target = "_blank"
0 commit comments