File tree Expand file tree Collapse file tree 5 files changed +82
-3
lines changed Expand file tree Collapse file tree 5 files changed +82
-3
lines changed Original file line number Diff line number Diff line change @@ -57,9 +57,9 @@ export default async function Home() {
5757 < div className = "bg-image bg-cover bg-no-repeat bg-center flex flex-col items-center min-h-screen" >
5858 < section className = "container max-w-6xl mx-auto px-4 lg:px-0 text-gray-900 flex justify-center items-center lg:gap-28 xl:gap-32 my-28" >
5959 < div className = "text-center lg:text-left w-full lg:w-2/3" >
60- < Link href = "/themes " className = "mb-4 inline-block" >
60+ < Link href = "/docs/components/calendar " className = "mb-4 inline-block" >
6161 < Badge >
62- Introducing RetroUI Themes !
62+ New Calendar & Carousel components !
6363 < PaintbrushIcon className = "ml-2 h-4 w-4 inline-block" />
6464 </ Badge >
6565 </ Link >
Original file line number Diff line number Diff line change 1+ import showcaseData from "@/showcase.json" ;
2+ import { Card , Text , Button } from "@/components/retroui" ;
3+ import Image from "next/image" ;
4+ import Link from "next/link" ;
5+ import { ArrowUpRight } from "lucide-react" ;
6+
7+ export default function ShowcasePage ( ) {
8+ return (
9+ < div className = "max-w-6xl mx-auto py-12 px-4 lg:px-0" >
10+ < div className = "mb-12 flex flex-col gap-2 items-start" >
11+ < Text as = "h1" >
12+ Showcase
13+ </ Text >
14+ < Text className = "text-lg text-muted-foreground mb-4" >
15+ Build something cool using RetroUI? Share it with the community.
16+ </ Text >
17+ < Button asChild >
18+ < Link href = "https://github.com/Logging-Studio/RetroUI/discussions/102" target = "_blank" >
19+ Add Your Project
20+ </ Link >
21+ </ Button >
22+ </ div >
23+
24+ < ul className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6" >
25+ { Object . entries ( showcaseData ) . map ( ( [ key , value ] ) => (
26+ < li key = { key } >
27+ < Card className = "hover:shadow" >
28+ < Card . Header >
29+ < Image
30+ src = { value . cover }
31+ alt = { value . name }
32+ width = { 600 }
33+ height = { 400 }
34+ className = "mb-6 border-2 border-muted-foreground"
35+ />
36+ < div className = "flex items-center justify-between gap-2" >
37+ < Card . Title > { value . name } </ Card . Title >
38+
39+ < Button asChild size = "sm" variant = "secondary" >
40+ < Link href = { value . url } target = "_blank" rel = "noopener noreferrer" >
41+ Visit < ArrowUpRight className = "ml-2 h-4 w-4" />
42+ </ Link >
43+ </ Button >
44+ </ div >
45+ </ Card . Header >
46+ </ Card >
47+ </ li >
48+ ) ) }
49+ </ ul >
50+ </ div >
51+ ) ;
52+ }
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ export default function TopNav() {
4949 </ div >
5050
5151 { /* Navigation Links */ }
52- < div className = "hidden md:flex space-x-6 " >
52+ < div className = "hidden md:flex space-x-4 " >
5353 { navConfig . topNavItems . map ( ( item ) => (
5454 < Link
5555 key = { item . title }
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export const navConfig: INavigationConfig = {
1010 { title : "Components" , href : `${ componentsRoute } /button` } ,
1111 { title : "Themes" , href : "/themes" } ,
1212 { title : "Blog" , href : "/blogs" } ,
13+ { title : "Showcase" , href : "/showcase" } ,
1314 ] ,
1415 sideNavItems : [
1516 {
Original file line number Diff line number Diff line change 1+ {
2+ "pouf.chat" : {
3+ "name" : " Pouf Chat" ,
4+ "url" : " https://pouf.chat" ,
5+ "cover" : " https://pub-5f7cbdfd9ffa4c838e386788f395f0c4.r2.dev/showcase/pouf.chat.png" ,
6+ "color" : " purple-200"
7+ },
8+ "buildersguild.space" : {
9+ "name" : " Builders Guild" ,
10+ "url" : " https://buildersguild.space" ,
11+ "cover" : " https://pub-5f7cbdfd9ffa4c838e386788f395f0c4.r2.dev/showcase/buildersguild.space.png" ,
12+ "color" : " orange-200"
13+ },
14+ "startcod.ing" : {
15+ "name" : " Start Coding" ,
16+ "url" : " https://startcoding.ing" ,
17+ "cover" : " https://pub-5f7cbdfd9ffa4c838e386788f395f0c4.r2.dev/showcase/startcod.ing.png" ,
18+ "color" : " yellow-200"
19+ },
20+ "rewardkitty.com" : {
21+ "name" : " Reward Kitty" ,
22+ "url" : " https://rewardkitty.com" ,
23+ "cover" : " https://pub-5f7cbdfd9ffa4c838e386788f395f0c4.r2.dev/showcase/rewardkitty.com.png" ,
24+ "color" : " blue-200"
25+ }
26+ }
You can’t perform that action at this time.
0 commit comments