88 Card ,
99 Avatar ,
1010 Badge ,
11+ CommandDisplay ,
1112} from "@/components/retroui" ;
1213import AccordionStyleDefault from "@/preview/components/accordion-style-default" ;
1314import AlertStyleDefaultIcon from "@/preview/components/alert-style-with-icon" ;
@@ -74,12 +75,12 @@ export default async function Home() {
7475 </ Text >
7576
7677 < p className = "text-lg text-muted-foreground mb-8 mt-4" >
77- Retro styled component library based on React and TailwindCSS.
78- Comes with 40+ free UI components that you can just copy paste
79- into your projects .
78+ React and TailwindCSS based UI library built for making unique and
79+ modern looking web applications. Perfect for any project using
80+ Shadcn/ui .
8081 </ p >
8182
82- < div className = "flex space-x -4" >
83+ < div className = "flex flex-col md:flex-row items-center gap -4" >
8384 < Link href = "/docs" passHref >
8485 < Button
8586 className = "w-full"
@@ -88,15 +89,9 @@ export default async function Home() {
8889 Get Started
8990 </ Button >
9091 </ Link >
91- < Link href = "https://pro.retroui.dev/blocks" passHref >
92- < Button
93- className = "w-full border-foreground text-foreground bg-background"
94- variant = "outline"
95- aria-label = "Get Started with RetroUI"
96- >
97- Browse Blocks
98- </ Button >
99- </ Link >
92+ < div className = "w-full max-w-90 shadow shadow-primary" >
93+ < CommandDisplay command = 'npx shadcn add "retroui.dev/r/button.json"' />
94+ </ div >
10095 </ div >
10196 </ div >
10297 < div className = "hidden lg:block lg:w-1/3" >
@@ -112,8 +107,8 @@ export default async function Home() {
112107 </ section >
113108 < section className = "container max-w-6xl mx-auto px-4 lg:px-0 lg:my-36" >
114109 { /* <Text as="h2" className="mb-16 text-center">
115- Old school with modern twist! ✨
116- </Text> */ }
110+ Old school with modern twist! ✨
111+ </Text> */ }
117112 < div className = "grid gap-6 grid-cols-1 lg:grid-cols-2 xl:grid-cols-3 mb-8" >
118113 < Card className = "w-full bg-background shadow-none" >
119114 < Card . Header >
@@ -216,7 +211,7 @@ export default async function Home() {
216211 Github Stars
217212 </ Text >
218213 < Text className = "text-outlined text-7xl lg:text-8xl font-head" >
219- 350 +
214+ 500 +
220215 </ Text >
221216 < Image
222217 src = "/images/shooting_star.svg"
@@ -395,58 +390,45 @@ export default async function Home() {
395390 </ div >
396391 </ section >
397392
398- < section className = "min-h-[50rem] mx-auto px-4 bg-[url('/images/retro_pro_bg_w.jpeg')] dark:bg-[url('/images/retro_pro_bg.jpeg')] bg-cover bg-no-repeat bg-size-[80% auto] " >
393+ < section className = "mx-auto px-4" >
399394 < div className = "container max-w-6xl h-full mx-auto py-16 flex flex-col justify-between gap-20" >
400- < div className = "flex justify-between items-start mt-20" >
401- < div className = "flex flex-col gap-10 items-start justify-start" >
402- < Text as = "h2" >
403- Ship < span className = "text-outlined" > Faster</ span > With Pro
404- Blocks
395+ < div className = "flex flex-col md:flex-row items-center gap-10" >
396+ < div className = "w-full md:w-3/5" >
397+ < Text as = "h1" >
398+ Ship < span className = "text-outlined" > Faster</ span > With Blocks
405399 < br />
406400 and Templates 🚀
407401 </ Text >
408- < div className = "flex flex-col space-y-1 text-muted-foreground" >
409- < Text className = "text-lg" >
410- - Based on the design foundation of RetroUI.
411- </ Text >
412- < Text className = "text-lg" >
413- - Over 50+ premium ready-to-use components.
414- </ Text >
415- < Text className = "text-lg" >
416- - Complete pre-built website templates.
417- </ Text >
418- < Text className = "text-lg" >
419- - Lifetime access to all future updates.
420- </ Text >
402+ < Text
403+ as = "p"
404+ className = "text-muted-foreground font-medium text-xl mt-2 mb-8"
405+ >
406+ Get access to 100+ premium blocks, templates and figma kit,
407+ ready to make your project stand out.
408+ </ Text >
409+
410+ < div className = "flex gap-3" >
411+ < Link href = "https://pro.retroui.dev/blocks" target = "_blank" >
412+ < Button > Explore Blocks</ Button >
413+ </ Link >
414+ < Link href = "https://pro.retroui.dev/templates" target = "_blank" >
415+ < Button variant = "secondary" > Explore Templates</ Button >
416+ </ Link >
421417 </ div >
422418 </ div >
423- < Link
424- id = "checkout-figma-kit"
425- data-umami-event = "checkout-figma-kit"
426- href = "https://dub.sh/retroui-pro"
427- target = "_blank"
428- >
429- < Button > Explore Blocks</ Button >
430- </ Link >
431- </ div >
432- < div className = "" >
433- < Image
434- src = "/images/retro_pro_blocks.png"
435- width = { 1920 }
436- height = { 1080 }
437- alt = "retroui code showcase"
438- className = "hidden dark:block"
439- />
440- < Image
441- src = "/images/retro_pro_blocks_w.png"
442- width = { 1920 }
443- height = { 1080 }
444- alt = "retroui code showcase"
445- className = "block dark:hidden"
446- />
419+
420+ < div className = "w-full md:w-2/5" >
421+ < Image
422+ src = "/images/pro_showcase.svg"
423+ width = { 1920 }
424+ height = { 1080 }
425+ alt = "retroui code showcase"
426+ />
427+ </ div >
447428 </ div >
448429 </ div >
449430 </ section >
431+
450432 < footer className = "bg-black py-8" >
451433 < 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" >
452434 < div className = "flex justify-center space-x-4" >
0 commit comments