Files
portfolio/app/uses/page.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

128 lines
4.2 KiB
TypeScript
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
import type { Metadata } from "next";
import Hero from "@/components/content/Hero";
import SectionLabel from "@/components/layout/SectionLabel";
import Collapsible from "@/components/ui/Collapsible";
import { hardware, editorAndShell, aiTools } from "@/constants";
import type { ToolGroup } from "@/constants/uses";
export const metadata: Metadata = {
title: "Uses - Angel Mankel",
};
function ToolSection({
label,
groups,
}: {
label: string;
groups: ToolGroup[];
}) {
return (
<section className="space-y-4">
<SectionLabel label={label} />
<div className="space-y-3">
{groups.map((group) => (
<Collapsible
key={group.label}
title={group.label}
subtitle={`${group.items.length} items`}
>
<ul className="space-y-2 text-[14px]">
{group.items.map((item) => (
<li key={item.name} className="flex flex-col gap-0.5">
<span className="text-neutral-100">{item.name}</span>
{item.description && (
<span className="text-neutral-400">{item.description}</span>
)}
</li>
))}
</ul>
</Collapsible>
))}
</div>
</section>
);
}
export default function UsesPage() {
return (
<div className="space-y-14">
<Hero label="Uses" subtitle="The gear, software, and setup behind my work." />
<section className="space-y-4">
<SectionLabel label="Hardware" />
<div className="space-y-3">
{hardware.machines.map((machine) => (
<Collapsible
key={machine.name}
title={machine.name}
subtitle={machine.role}
>
<dl className="space-y-3 text-[14px]">
<div className="flex flex-col gap-1 sm:flex-row sm:gap-3">
<dt className="w-20 shrink-0 text-neutral-500">OS</dt>
<dd className="text-neutral-200">{machine.os}</dd>
</div>
<div className="flex flex-col gap-1 sm:flex-row sm:gap-3">
<dt className="w-20 shrink-0 text-neutral-500">Specs</dt>
<dd className="flex flex-wrap gap-1.5">
{machine.specs.map((spec) => (
<span
key={spec}
className="rounded-md border border-neutral-800 bg-neutral-900 px-2 py-0.5 text-[12px] text-neutral-300"
>
{spec}
</span>
))}
</dd>
</div>
{machine.services && (
<div className="flex flex-col gap-1 sm:flex-row sm:gap-3">
<dt className="w-20 shrink-0 text-neutral-500">
Running
</dt>
<dd>
<ul className="space-y-1 text-neutral-200">
{machine.services.map((service) => (
<li
key={service}
className="before:mr-2 before:text-neutral-600 before:content-['–']"
>
{service}
</li>
))}
</ul>
</dd>
</div>
)}
</dl>
</Collapsible>
))}
</div>
{hardware.extras?.map((extra) => (
<Collapsible
key={extra.label}
title={extra.label}
subtitle={`${extra.items.length} items`}
>
<ul className="space-y-1.5 text-[14px] text-neutral-200">
{extra.items.map((item) => (
<li
key={item}
className="before:mr-2 before:text-neutral-600 before:content-['–']"
>
{item}
</li>
))}
</ul>
</Collapsible>
))}
</section>
<ToolSection label="Editor & Shell" groups={editorAndShell} />
<ToolSection label="AI Tools" groups={aiTools} />
</div>
);
}