Skip to content

Commit a15919d

Browse files
committed
added hero
1 parent a8c3d3f commit a15919d

File tree

3 files changed

+42
-18
lines changed

3 files changed

+42
-18
lines changed
34.8 KB
Loading

apps/dashboard/src/lib/project-showcase-constants.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -469,4 +469,4 @@ export const PROJECT_SHOWCASE_INDUSTRIES = [
469469
"Real World Assets",
470470
];
471471

472-
export const PROJECT_SHOWCASE_ITEMS_PER_PAGE = 6;
472+
export const PROJECT_SHOWCASE_ITEMS_PER_PAGE = 12;

apps/dashboard/src/pages/project-showcase/index.tsx

Lines changed: 41 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ import {
2929
PROJECT_SHOWCASE_INDUSTRIES,
3030
PROJECT_SHOWCASE_ITEMS_PER_PAGE,
3131
} from "../../lib/project-showcase-constants";
32+
import { AppFooter } from "@/components/blocks/app-footer";
3233

3334
export function ProjectShowcaseUI() {
3435
const thirdwebClient = useThirdwebClient();
@@ -52,23 +53,43 @@ export function ProjectShowcaseUI() {
5253

5354
return (
5455
<div className="min-h-screen bg-background">
55-
<header className="px-4 py-12 text-center md:px-6">
56-
<h1 className="mb-4 font-bold text-4xl">built on thirdweb</h1>
57-
<p className="mx-auto mb-8 max-w-2xl text-muted-foreground text-xl">
58-
Discover the latest web3 apps and games built on thirdweb.
59-
</p>
60-
<div className="flex justify-center gap-4">
61-
<Button size="lg" asChild>
62-
<Link href="https://portal.thirdweb.com/">
63-
Start building
64-
<ArrowRight className="ml-2 h-4 w-4" />
65-
</Link>
66-
</Button>
67-
<Button size="lg" variant="outline" asChild>
68-
<Link href="https://thirdweb.com/contact-us">Contact Us</Link>
69-
</Button>
56+
<section className="w-full">
57+
<div className="container px-4 md:px-6">
58+
<div className="grid gap-6 lg:grid-cols-[1fr_400px] lg:gap-12 xl:grid-cols-[1fr_600px]">
59+
<div className="flex flex-col justify-center space-y-4">
60+
<div className="space-y-2">
61+
<h1 className="text-3xl font-bold tracking-tighter sm:text-5xl xl:text-6xl/none">
62+
Built on thirdweb
63+
</h1>
64+
<p className="max-w-[600px] md:text-3xl">
65+
Discover the latest web3 apps and games built on thirdweb.
66+
</p>
67+
</div>
68+
<div className="flex flex-col gap-2 min-[400px]:flex-row">
69+
<Link
70+
href="https://thirdweb.com/login"
71+
className="inline-flex h-10 items-center justify-center rounded-md bg-gray-900 px-8 text-sm font-medium text-gray-50 shadow transition-colors hover:bg-gray-900/90 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:bg-gray-50 dark:text-gray-900 dark:hover:bg-gray-50/90 dark:focus-visible:ring-gray-300"
72+
>
73+
Get Started
74+
</Link>
75+
<Link
76+
href="https://blog.thirdweb.com/case-studies/"
77+
className="inline-flex h-10 items-center justify-center rounded-md border border-gray-200 bg-white px-8 text-sm font-medium shadow-sm transition-colors hover:bg-gray-100 hover:text-gray-900 focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-gray-950 disabled:pointer-events-none disabled:opacity-50 dark:border-gray-800 dark:bg-gray-950 dark:hover:bg-gray-800 dark:hover:text-gray-50 dark:focus-visible:ring-gray-300"
78+
>
79+
View all case studies
80+
</Link>
81+
</div>
82+
</div>
83+
<Image
84+
alt="Hero"
85+
className="mx-auto overflow-hidden object-cover object-center sm:w-full lg:order-last"
86+
height="550"
87+
src="/assets/showcase/abstract-w.png"
88+
width="550"
89+
/>
7090
</div>
71-
</header>
91+
</div>
92+
</section>
7293
<main className="container mx-auto px-4 py-12 md:px-6">
7394
<section>
7495
<div className="mb-8">
@@ -112,7 +133,7 @@ export function ProjectShowcaseUI() {
112133
className="h-48 w-full object-cover"
113134
/>
114135
<CardHeader>
115-
<CardTitle>{project.title}</CardTitle>
136+
<CardTitle className="mb-3">{project.title}</CardTitle>
116137
<CardDescription>{project.description}</CardDescription>
117138
</CardHeader>
118139
<CardContent className="flex-grow">
@@ -182,10 +203,13 @@ export function ProjectShowcaseUI() {
182203
);
183204
}
184205

206+
207+
185208
export default function ProjectShowcasePage() {
186209
return (
187210
<ThirdwebProvider>
188211
<ProjectShowcaseUI />
212+
<AppFooter/>
189213
</ThirdwebProvider>
190214
);
191215
}

0 commit comments

Comments
 (0)