1- "use client" ;
2-
31import { JoinNewsletter } from "@/components" ;
42import {
53 Accordion ,
@@ -12,9 +10,9 @@ import {
1210 H3 ,
1311 H4 ,
1412 Input ,
15- ProductCard ,
1613 Textarea ,
1714} from "@/packages/ui" ;
15+ import Image from "next/image" ;
1816import Link from "next/link" ;
1917
2018export default function Home ( ) {
@@ -31,12 +29,16 @@ export default function Home() {
3129 </ p >
3230
3331 < div className = "max-w-96 grid gap-4 mx-auto grid-cols-2" >
34- < Link href = "/components " passHref >
32+ < Link href = "/docs " passHref >
3533 < Button className = "w-full" aria-label = "Get Started with RetroUI" >
3634 Get Started
3735 </ Button >
3836 </ Link >
39- < Link href = "/components" passHref >
37+ < Link
38+ href = "https://github.com/ariflogs/retroui"
39+ target = "_blank"
40+ passHref
41+ >
4042 < Button
4143 className = "w-full"
4244 variant = "outline"
@@ -109,49 +111,49 @@ export default function Home() {
109111
110112 < section className = "container max-w-6xl mx-auto" >
111113 < H2 className = "mb-16" >
112- And NO! We didn' t just copy Gumroad!
114+ And NO! We didn' t just copy Gumroad!
113115 < br />
114116 Inspired, if you will... 💅
115117 </ H2 >
116118
117119 < div className = "grid grid-cols-1 lg:grid-cols-3 items-center" >
118- < img
120+ < Image
119121 src = "/images/our_product_card.png"
120122 alt = "our product card"
121- className = "w-80"
123+ width = { 300 }
124+ height = { 500 }
122125 />
123126 < H3 className = "lg:hidden mt-2 mb-12" > 👆 RetroUI Card</ H3 >
124127
125128 < div className = "hidden lg:block space-y-4" >
126129 < H2 className = "text-left" > 👈 RetroUI Card</ H2 >
127- < H2 className = "text-right" > Gumroad' s Card 👉</ H2 >
130+ < H2 className = "text-right" > Gumroad' s Card 👉</ H2 >
128131 </ div >
129- < img
132+ < Image
130133 src = "/images/gumroad_product_card.png"
131134 alt = "our product card"
132- className = "w-72 ml-auto"
135+ className = "ml-auto"
136+ width = { 300 }
137+ height = { 600 }
133138 />
134- < H3 className = "lg:hidden mt-2" > 👆 Gumroad' s Card</ H3 >
139+ < H3 className = "lg:hidden mt-2" > 👆 Gumroad' s Card</ H3 >
135140 </ div >
136141 </ section >
137142
138143 < JoinNewsletter />
139144 < footer className = "bg-black py-8" >
140145 < div className = "container max-w-6xl mx-auto flex flex-col lg:flex-row space-y-4 lg:space-y-0 justify-between items-center" >
141146 < div className = "flex justify-center space-x-4" >
142- < a
143- href = "https://twitter.com/ariflogs"
144- className = "text-primary-500 mx-2"
145- >
147+ < a href = "https://twitter.com/ariflogs" className = "text-primary-500" >
146148 Twitter
147149 </ a >
148150 < a
149151 href = "https://github.com/ariflogs/retroui"
150- className = "text-primary-500 mx-2 "
152+ className = "text-primary-500"
151153 >
152154 GitHub
153155 </ a >
154- < a href = "/docs" className = "text-primary-500 mx-2 " >
156+ < a href = "/docs" className = "text-primary-500" >
155157 Documentation
156158 </ a >
157159 </ div >
0 commit comments