Files
portfolio/components/content/ProjectCard.tsx
T
donnyandClaude Opus 5.5 abd5fd4a58 feat: refresh uses, testimonials, and theme
Uses page:
- Merge "For work"/"For fun" into one Hardware list; drop the MS-01.
- Gaming rig becomes the Arch "Daily driver" (9950X, Looking Glass VM);
  custom workstation is now the Proxmox box (5900X, 128GB, RTX 3090).
- Swap MetaMCP -> ContextForge and Open WebUI -> Paseo; add Codex,
  OpenCode, and OpenRouter.

Testimonials:
- Add Douglas Wilhelm; trim all quotes to ~55-60 words of verbatim
  sentences so cards stay the same size.
- Move above projects and restyle as a card with gold-bordered initials,
  inline gold quote marks, and a countdown line under the divider.
- Fix carousel bugs: hooks after an early return, timer not resetting on
  manual navigation, layout shift between quotes of different lengths.
  The countdown animation now drives rotation, and hover/keyboard focus
  pause it.

Theme:
- Centralize colors and fonts as CSS variables in globals.css; the
  neutral-* scale reads from them, and the header's hardcoded bg is gone.
- New defaults: Manrope (body), EB Garamond (display), zinc greys, gold.
- Add a dev-only theme switcher for A/B-ing fonts and palettes; it is
  compiled out of production builds.
- Remove dead runtime-built hover classes on the about page that never
  generated CSS.

Copy: replace em dashes with plain hyphens site-wide.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-24 18:16:13 -07:00

36 lines
1.4 KiB
TypeScript

import Link from 'next/link';
import { IconArrowNarrowRight, IconExternalLink } from '@tabler/icons-react';
import { colors } from '@/constants';
interface ProjectCardProps {
slug: string;
title: string;
year: string;
stack: string[];
description: string;
liveUrl: string;
}
export default function ProjectCard({ slug, title, year, stack, description, liveUrl }: ProjectCardProps) {
return (
<section className="space-y-2 border-t border-neutral-700 pt-4 flex flex-col mt-5">
<Link href={`/projects/${slug}`} className='flex justify-between hover:text-neutral-500 transition-colors items-center w-full text-left cursor-pointer group'>
<h1 className="text-[24px] font-semibold">{title}</h1>
<IconArrowNarrowRight className='group-hover:scale-150 transition-transform'/>
</Link>
<p className="text-md text-neutral-400 text-muted">{year} - {stack.join(' · ')}</p>
<p className="text-xl">{description}</p>
<a
href={liveUrl}
target="_blank"
rel="noreferrer"
className="mt-2 inline-flex w-fit items-center gap-2 rounded-lg border border-neutral-700 px-4 py-2 text-[15px] font-medium transition-colors hover:border-neutral-500"
style={{ color: colors.accent }}
>
Live Demo
<IconExternalLink size={18} />
</a>
</section>
);
}