Skip to content

Commit 3bc2e47

Browse files
committed
Default image
1 parent c32ae09 commit 3bc2e47

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

apps/dashboard/src/pages/project-showcase/[slug].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ export function DetailPageUI() {
8181
client: thirdwebClient,
8282
uri: project.image,
8383
}) ?? "")
84-
: (project.image ?? "/assets/showcase/abstract-w.png")
84+
: (project.image ?? "/assets/showcase/default_image.png")
8585
}
8686
alt={`${project.title} Thumbnail`}
8787
layout="fill"

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

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function ProjectShowcaseUI() {
5757
<div className="grid gap-6 lg:grid-cols-[1fr_400px] lg:gap-12 xl:grid-cols-[1fr_600px]">
5858
<div className="flex flex-col justify-center space-y-4">
5959
<div className="space-y-2">
60-
<h1 className="text-3xl font-bold tracking-tighter sm:text-5xl xl:text-6xl/none">
60+
<h1 className="font-bold text-3xl tracking-tighter sm:text-5xl xl:text-6xl/none">
6161
Built on thirdweb
6262
</h1>
6363
<p className="max-w-[600px] md:text-3xl">
@@ -67,13 +67,13 @@ export function ProjectShowcaseUI() {
6767
<div className="flex flex-col gap-2 min-[400px]:flex-row">
6868
<Link
6969
href="https://thirdweb.com/login"
70-
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"
70+
className="inline-flex h-10 items-center justify-center rounded-md bg-gray-900 px-8 font-medium text-gray-50 text-sm 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:focus-visible:ring-gray-300 dark:hover:bg-gray-50/90"
7171
>
7272
Get Started
7373
</Link>
7474
<Link
7575
href="https://blog.thirdweb.com/case-studies/"
76-
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"
76+
className="inline-flex h-10 items-center justify-center rounded-md border border-gray-200 bg-white px-8 font-medium text-sm 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:focus-visible:ring-gray-300 dark:hover:bg-gray-800 dark:hover:text-gray-50"
7777
>
7878
View all case studies
7979
</Link>
@@ -124,7 +124,8 @@ export function ProjectShowcaseUI() {
124124
client: thirdwebClient,
125125
uri: project.image,
126126
}) ?? "")
127-
: (project.image ?? "/assets/showcase/abstract-w.png")
127+
: (project.image ??
128+
"/assets/showcase/default_image.png")
128129
}
129130
alt={project.title}
130131
width={300}

0 commit comments

Comments
 (0)