Skip to content

Commit b7a7dbe

Browse files
authored
Merge pull request #104 from Logging-Studio/showcase
Showcase
2 parents ed9a71b + a0548f4 commit b7a7dbe

File tree

5 files changed

+82
-3
lines changed

5 files changed

+82
-3
lines changed

app/(marketing)/page.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff 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>

app/(marketing)/showcase/page.tsx

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
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+
}

components/TopNav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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}

config/navigation.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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
{

showcase.json

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
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+
}

0 commit comments

Comments
 (0)