Skip to content

Commit

Permalink
docs: showcase light mode (#1203)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Nov 21, 2024
1 parent 36c2444 commit 379a553
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions apps/docs/app/(home)/showcase/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,13 @@ export default function Component() {
<ShowcaseCard key={item.title} {...item} />
))}
</div>

<div className="my-20 flex flex-col items-center gap-6">
<h2 className="text-4xl font-bold">Building something cool?</h2>
<Button asChild>
<a href="mailto:[email protected]">Let us know about it!</a>
</Button>
</div>
</div>
</div>
);
Expand All @@ -127,7 +134,7 @@ function ShowcaseCard({
description,
}: ShowcaseItem) {
return (
<Card className="group relative flex max-h-[350px] flex-col overflow-hidden rounded-lg border-zinc-800 bg-zinc-950">
<Card className="bg-card group relative flex max-h-[350px] flex-col overflow-hidden rounded-lg">
<div className="overflow-hidden">
<Image
src={image}
Expand All @@ -141,11 +148,11 @@ function ShowcaseCard({
<div className="flex items-center justify-between">
<h3 className="text-lg font-semibold">{title}</h3>
<div className="flex gap-2">
<span className="rounded bg-purple-900/50 px-2 py-1 text-xs">
<span className="rounded bg-purple-300/50 px-2 py-1 text-xs dark:bg-purple-900/50">
{tag}
</span>
{secondaryTag && (
<span className="rounded bg-zinc-800 px-2 py-1 text-xs">
<span className="rounded bg-green-100 px-2 py-1 text-xs dark:bg-green-800">
{secondaryTag}
</span>
)}
Expand Down

0 comments on commit 379a553

Please sign in to comment.