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

54 lines
1.7 KiB
TypeScript

import type { Metadata } from "next";
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 manrope = Manrope({
variable: "--font-manrope",
subsets: ["latin"],
});
const garamond = EB_Garamond({
variable: "--font-garamond",
subsets: ["latin"],
style: ["normal", "italic"],
});
export const metadata: Metadata = {
title: "Angel Mankel - Software Engineer",
};
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={`${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>
);
}