Skip to content

Commit 465e20a

Browse files
brian033claude
andcommitted
ui: simplify project highlight cards, remove nested borders
Replace Card/Tag/ExternalLink nesting with clean clickable cards. Tag is now plain text, whole card is a link, no more box-in-box. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 10ede52 commit 465e20a

1 file changed

Lines changed: 10 additions & 9 deletions

File tree

src/components/sections/ProjectHighlightGrid.tsx

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,17 @@ export function ProjectHighlightGrid() {
1818
/>
1919
<div className="mt-10 grid gap-5 md:grid-cols-2 xl:grid-cols-4">
2020
{projectHighlights.map((project) => (
21-
<Card key={project.id} className="flex h-full flex-col rounded-[1.75rem] border-white/10 bg-white/10 p-6 text-slate-100 shadow-none backdrop-blur-sm">
22-
<Tag>{project.tag}</Tag>
23-
<h3 className="mt-4 text-2xl text-white">{project.title}</h3>
21+
<a
22+
key={project.id}
23+
href={project.href}
24+
target="_blank"
25+
rel="noopener noreferrer"
26+
className="group flex h-full flex-col rounded-[1.75rem] bg-white/10 p-6 text-slate-100 backdrop-blur-sm transition hover:bg-white/15"
27+
>
28+
<span className="text-xs font-semibold uppercase tracking-wider text-sky-300">{project.tag}</span>
29+
<h3 className="mt-3 text-2xl text-white">{project.title}</h3>
2430
<p className="mt-3 flex-1 text-sm leading-7 text-slate-200">{project.blurb}</p>
25-
<div className="mt-6">
26-
<ExternalLink href={project.href} className="text-sky-200 hover:text-white">
27-
Visit {project.title}
28-
</ExternalLink>
29-
</div>
30-
</Card>
31+
</a>
3132
))}
3233
</div>
3334
</div>

0 commit comments

Comments
 (0)