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>
This commit is contained in:
1 parent
6b6790813b
commit
abd5fd4a58
24 files changed
+765
-313
No files matched your search
+5
-6
@@ -12,7 +12,6 @@ import Tooltip from "@/components/ui/Tooltip";
|
||||
import CopyButton from "@/components/ui/CopyButton";
|
||||
import {
|
||||
about,
|
||||
colors,
|
||||
education,
|
||||
email,
|
||||
gitea,
|
||||
@@ -22,7 +21,7 @@ import {
|
||||
} from "@/constants";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "About — Angel Mankel",
|
||||
title: "About - Angel Mankel",
|
||||
};
|
||||
|
||||
export default function AboutPage() {
|
||||
@@ -85,14 +84,14 @@ export default function AboutPage() {
|
||||
<CopyButton
|
||||
value={email}
|
||||
label="Copy email"
|
||||
className={`hover:text-neutral-200 rounded-md hover:bg-[${colors.accent}] p-1 transition-colors duration-200 cursor-pointer`}
|
||||
className={`hover:text-neutral-200 rounded-md p-1 transition-colors duration-200 cursor-pointer`}
|
||||
>
|
||||
<IconMailFilled size={32} />
|
||||
</CopyButton>
|
||||
<CopyButton
|
||||
value={phone}
|
||||
label="Copy phone"
|
||||
className={`hover:text-neutral-200 rounded-md hover:bg-[${colors.accent}] p-1 transition-colors duration-200 cursor-pointer`}
|
||||
className={`hover:text-neutral-200 rounded-md p-1 transition-colors duration-200 cursor-pointer`}
|
||||
>
|
||||
<IconPhoneFilled size={32} />
|
||||
</CopyButton>
|
||||
@@ -102,7 +101,7 @@ export default function AboutPage() {
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
aria-label="LinkedIn"
|
||||
className={`hover:text-neutral-200 rounded-md hover:bg-[${colors.accent}] p-1 transition-colors duration-200`}
|
||||
className={`hover:text-neutral-200 rounded-md p-1 transition-colors duration-200`}
|
||||
>
|
||||
<IconBrandLinkedinFilled size={32} />
|
||||
</a>
|
||||
@@ -113,7 +112,7 @@ export default function AboutPage() {
|
||||
target="_blank"
|
||||
rel="noreferrer"
|
||||
aria-label="Gitea"
|
||||
className={`hover:text-neutral-200 rounded-md hover:bg-[${colors.accent}] p-1 transition-colors duration-200`}
|
||||
className={`hover:text-neutral-200 rounded-md p-1 transition-colors duration-200`}
|
||||
>
|
||||
<GiteaIcon size={32} />
|
||||
</a>
|
||||
|
||||
+54
-4
@@ -1,15 +1,54 @@
|
||||
@import "tailwindcss";
|
||||
|
||||
/*
|
||||
* Site theme. Every color and font on the site reads from these variables, so
|
||||
* swapping a palette or typeface is an edit here (or a live tweak from the
|
||||
* dev-only theme switcher). The `--n-*` scale (Tailwind zinc) feeds every `neutral-*` class.
|
||||
*/
|
||||
:root {
|
||||
--background: #0a0a0a;
|
||||
--foreground: #ededed;
|
||||
--background: var(--n-950);
|
||||
--foreground: color-mix(in oklab, var(--n-100), var(--n-200) 60%);
|
||||
--bg-elevated: color-mix(in oklab, var(--n-900), var(--n-800) 30%);
|
||||
--accent: #d4a24a;
|
||||
--accent-hover: #e6b966;
|
||||
|
||||
--site-sans: var(--font-manrope);
|
||||
--site-serif: var(--font-garamond);
|
||||
|
||||
--n-50: oklch(98.5% 0 0);
|
||||
--n-100: oklch(96.7% 0.001 286.375);
|
||||
--n-200: oklch(92% 0.004 286.32);
|
||||
--n-300: oklch(87.1% 0.006 286.286);
|
||||
--n-400: oklch(70.5% 0.015 286.067);
|
||||
--n-500: oklch(55.2% 0.016 285.938);
|
||||
--n-600: oklch(44.2% 0.017 285.786);
|
||||
--n-700: oklch(37% 0.013 285.805);
|
||||
--n-800: oklch(27.4% 0.006 286.033);
|
||||
--n-900: oklch(21% 0.006 285.885);
|
||||
--n-950: oklch(14.1% 0.005 285.823);
|
||||
}
|
||||
|
||||
@theme inline {
|
||||
--color-background: var(--background);
|
||||
--color-foreground: var(--foreground);
|
||||
--font-sans: var(--font-inter);
|
||||
--font-serif: var(--font-instrument-serif);
|
||||
--color-elevated: var(--bg-elevated);
|
||||
--color-accent: var(--accent);
|
||||
--color-accent-hover: var(--accent-hover);
|
||||
|
||||
--color-neutral-50: var(--n-50);
|
||||
--color-neutral-100: var(--n-100);
|
||||
--color-neutral-200: var(--n-200);
|
||||
--color-neutral-300: var(--n-300);
|
||||
--color-neutral-400: var(--n-400);
|
||||
--color-neutral-500: var(--n-500);
|
||||
--color-neutral-600: var(--n-600);
|
||||
--color-neutral-700: var(--n-700);
|
||||
--color-neutral-800: var(--n-800);
|
||||
--color-neutral-900: var(--n-900);
|
||||
--color-neutral-950: var(--n-950);
|
||||
|
||||
--font-sans: var(--site-sans);
|
||||
--font-serif: var(--site-serif);
|
||||
}
|
||||
|
||||
body {
|
||||
@@ -25,3 +64,14 @@ body {
|
||||
.animate-fade-in {
|
||||
animation: fade-in 400ms ease;
|
||||
}
|
||||
|
||||
@keyframes testimonial-countdown {
|
||||
from { transform: scaleX(1); }
|
||||
to { transform: scaleX(0); }
|
||||
}
|
||||
|
||||
/* Referenced from a class (not only an inline style) so the CSS optimizer keeps
|
||||
the keyframes. Duration comes from --countdown-ms set on the element. */
|
||||
.animate-testimonial-countdown {
|
||||
animation: testimonial-countdown var(--countdown-ms, 10000ms) linear forwards;
|
||||
}
|
||||
+21
-9
@@ -1,40 +1,52 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter, Instrument_Serif } from "next/font/google";
|
||||
import { EB_Garamond, Manrope } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import Header from "@/components/layout/Header";
|
||||
import Footer from "@/components/layout/Footer";
|
||||
import Container from "@/components/layout/Container";
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter",
|
||||
const manrope = Manrope({
|
||||
variable: "--font-manrope",
|
||||
subsets: ["latin"],
|
||||
});
|
||||
|
||||
const instrumentSerif = Instrument_Serif({
|
||||
variable: "--font-instrument-serif",
|
||||
const garamond = EB_Garamond({
|
||||
variable: "--font-garamond",
|
||||
subsets: ["latin"],
|
||||
weight: "400",
|
||||
style: ["normal", "italic"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Angel Mankel — Software Engineer",
|
||||
title: "Angel Mankel - Software Engineer",
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
export default async function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
// Dev-only theme switcher for trying fonts and palettes. Next inlines
|
||||
// NODE_ENV at build time, so in production this branch (and the switcher's
|
||||
// extra fonts) is dropped entirely.
|
||||
let devFontVariables = "";
|
||||
let devSwitcher: React.ReactNode = null;
|
||||
if (process.env.NODE_ENV === "development") {
|
||||
const { fontVariables, sansOptions, serifOptions } = await import("@/components/dev/themeFonts");
|
||||
const { default: ThemeSwitcher } = await import("@/components/dev/ThemeSwitcher");
|
||||
devFontVariables = fontVariables;
|
||||
devSwitcher = <ThemeSwitcher sansOptions={sansOptions} serifOptions={serifOptions} />;
|
||||
}
|
||||
|
||||
return (
|
||||
<html
|
||||
lang="en"
|
||||
className={`${inter.variable} ${instrumentSerif.variable} h-full antialiased scrollbar-track-transparent scrollbar-thumb-neutral-700`}
|
||||
className={`${manrope.variable} ${garamond.variable} ${devFontVariables} h-full antialiased scrollbar-track-transparent scrollbar-thumb-neutral-700`}
|
||||
>
|
||||
<body className="min-h-full flex flex-col font-sans">
|
||||
<Header />
|
||||
<Container>{children}</Container>
|
||||
<Footer />
|
||||
{devSwitcher}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
+9
-9
@@ -28,7 +28,7 @@ export default function HomePage() {
|
||||
|
||||
<p className="text-[19px] leading-[1.65]">
|
||||
I'll pick up whatever a problem needs and keep digging until it
|
||||
works. The constant isn't a particular stack — it's the
|
||||
works. The constant isn't a particular stack - it's the
|
||||
curiosity that got me here.
|
||||
</p>
|
||||
</div>
|
||||
@@ -38,6 +38,14 @@ export default function HomePage() {
|
||||
</div>
|
||||
</Hero>
|
||||
|
||||
{/* Testimonials */}
|
||||
<div className="mt-20">
|
||||
<SectionLabel label="What people say" />
|
||||
<div className="mt-5">
|
||||
<Testimonials items={testimonials} />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Projects */}
|
||||
<div className="mt-20">
|
||||
<SectionLabel label="Selected Projects" />
|
||||
@@ -50,14 +58,6 @@ export default function HomePage() {
|
||||
<AccentLink label="See all projects" link="/projects" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/* Testimonials */}
|
||||
<div className="mt-20">
|
||||
<SectionLabel label="What people say" />
|
||||
<div className="mt-5">
|
||||
<Testimonials items={testimonials} />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -19,10 +19,10 @@ export async function generateMetadata({
|
||||
const { slug } = await params;
|
||||
const project = projects.find((p) => p.slug === slug);
|
||||
|
||||
if (!project) return { title: "Project — Angel Mankel" };
|
||||
if (!project) return { title: "Project - Angel Mankel" };
|
||||
|
||||
return {
|
||||
title: `${project.title} — Angel Mankel`,
|
||||
title: `${project.title} - Angel Mankel`,
|
||||
description: project.description,
|
||||
};
|
||||
}
|
||||
@@ -50,7 +50,7 @@ export default async function ProjectPage({
|
||||
<Hero label={project.title} subtitle={project.description}>
|
||||
<div className="space-y-3">
|
||||
<p className="text-md text-neutral-400">
|
||||
{project.year} — {project.stack.join(" · ")}
|
||||
{project.year} - {project.stack.join(" · ")}
|
||||
</p>
|
||||
|
||||
<a
|
||||
|
||||
@@ -4,7 +4,7 @@ import ProjectCard from "@/components/content/ProjectCard";
|
||||
import { projects } from "@/constants";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Projects — Angel Mankel",
|
||||
title: "Projects - Angel Mankel",
|
||||
};
|
||||
|
||||
export default function ProjectsPage() {
|
||||
|
||||
+65
-75
@@ -6,7 +6,7 @@ import { hardware, editorAndShell, aiTools } from "@/constants";
|
||||
import type { ToolGroup } from "@/constants/uses";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Uses — Angel Mankel",
|
||||
title: "Uses - Angel Mankel",
|
||||
};
|
||||
|
||||
function ToolSection({
|
||||
@@ -51,83 +51,73 @@ export default function UsesPage() {
|
||||
<section className="space-y-4">
|
||||
<SectionLabel label="Hardware" />
|
||||
|
||||
<div className="space-y-10">
|
||||
{hardware.map((group) => (
|
||||
<div key={group.label} className="space-y-4">
|
||||
<h3 className="text-xs font-semibold uppercase tracking-[0.18em] text-neutral-500">
|
||||
{group.label}
|
||||
</h3>
|
||||
|
||||
<div className="space-y-3">
|
||||
{group.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"
|
||||
<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-['–']"
|
||||
>
|
||||
{spec}
|
||||
</span>
|
||||
{service}
|
||||
</li>
|
||||
))}
|
||||
</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>
|
||||
|
||||
{group.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>
|
||||
))}
|
||||
</div>
|
||||
))}
|
||||
</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} />
|
||||
|
||||
Reference in new issue
Block a user