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
+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>
|
||||
);
|
||||
|
||||
Reference in new issue
Block a user