From cb5fa2047c27f750629ce755cf73db8c86b691e6 Mon Sep 17 00:00:00 2001 From: t3ned Date: Wed, 11 Nov 2026 23:21:24 +0000 Subject: [PATCH 01/27] feat: sync profile with linkedin and offer free consultations - Add Stats.cc owner role and update titles, summaries and awards - Replace paid consultation and engagement minimum with a free 30 minute call - Quote fixed or hourly and move booking to cal.com - Swap the hero email button for the booking link --- src/components/ContractSection.vue | 24 +++----------- src/components/HeroSection.vue | 17 ++++++---- src/data.ts | 51 +++++++++++++++++++----------- src/legal.ts | 26 +++++++-------- 4 files changed, 57 insertions(+), 61 deletions(-) diff --git a/src/components/ContractSection.vue b/src/components/ContractSection.vue index 2b3e74e..056f977 100644 --- a/src/components/ContractSection.vue +++ b/src/components/ContractSection.vue @@ -13,25 +13,9 @@ import SectionLabel from "./SectionLabel.vue";

{{ contracting.pitch }}

@@ -41,7 +25,7 @@ import SectionLabel from "./SectionLabel.vue"; rel="noopener" class="bg-accent mt-8 inline-flex h-11 items-center gap-2 rounded-lg px-5 font-mono text-sm font-semibold text-white transition-opacity hover:opacity-85" > - book a consultation + book a free consultation import headshot from "@/assets/headshot.jpg"; -import { profile } from "@/data"; +import { contracting, profile } from "@/data";
- {{ profile.email }} + book a free call Date: Wed, 11 Nov 2026 23:21:24 +0000 Subject: [PATCH 02/27] fix: make raster favicon corners transparent --- public/apple-touch-icon.png | Bin 9460 -> 2749 bytes public/favicon.ico | Bin 3066 -> 1317 bytes 2 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/apple-touch-icon.png b/public/apple-touch-icon.png index b9b73b56b4d77b74740105d66fb260ee020b71e7..b2cd21c8c7c17a8ca268c06f959cfbe3127b1262 100644 GIT binary patch literal 2749 zcmds3`9G9v8<#A{o@_D0NEuskFeal!kwF+s&Kzmt*teq5U=ngvLfJCSVyR4KBE}Je zA+%x0QbM)}6G{vY4JI@1-s$3`}=*K&vo6O`+GeZ?rumqX$@%+5fM2j zM|)2o*X^#~M1lCcIxiSVQZbG`u_7WD9Cp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ov 2026 23:27:03 +0000 Subject: [PATCH 03/27] refactor: rebuild site on astro with oxlint and oxfmt - Port Vue components to static Astro pages with inline scripts for theme and scroll reveal - Serve legal pages as real routes with a 404 page instead of the SPA fallback - Replace biome with oxlint and oxfmt, and update all packages - Run astro on bun so builds don't depend on the local node version --- .claude/launch.json | 2 +- .claude/skills/commit/SKILL.md | 4 +- .github/workflows/ci.yml | 7 +- .gitignore | 3 + .oxfmtrc.json | 16 + .oxlintrc.json | 14 + CODE_STYLE.md | 20 +- README.md | 2 +- astro.config.ts | 9 + biome.json | 76 --- bun.lock | 810 +++++++++++++++++++++---- env.d.ts | 1 - index.html | 38 -- package.json | 33 +- src/App.vue | 75 --- src/components/ContractSection.astro | 76 +++ src/components/ContractSection.vue | 69 --- src/components/EducationSection.astro | 64 ++ src/components/EducationSection.vue | 69 --- src/components/ExperienceSection.astro | 48 ++ src/components/ExperienceSection.vue | 47 -- src/components/HeroSection.astro | 87 +++ src/components/HeroSection.vue | 89 --- src/components/LegalView.vue | 48 -- src/components/SectionLabel.astro | 12 + src/components/SectionLabel.vue | 12 - src/components/SiteFooter.astro | 46 ++ src/components/SiteFooter.vue | 43 -- src/components/StackSection.astro | 51 ++ src/components/StackSection.vue | 51 -- src/components/ThemeToggle.astro | 63 ++ src/components/ThemeToggle.vue | 47 -- src/composables/useTheme.ts | 31 - src/layouts/Layout.astro | 128 ++++ src/main.ts | 28 - src/pages/404.astro | 15 + src/pages/[slug].astro | 50 ++ src/pages/index.astro | 18 + src/style.css | 2 +- tsconfig.json | 9 +- vite.config.ts | 13 - wrangler.jsonc | 4 +- 42 files changed, 1448 insertions(+), 882 deletions(-) create mode 100644 .oxfmtrc.json create mode 100644 .oxlintrc.json create mode 100644 astro.config.ts delete mode 100644 biome.json delete mode 100644 env.d.ts delete mode 100644 index.html delete mode 100644 src/App.vue create mode 100644 src/components/ContractSection.astro delete mode 100644 src/components/ContractSection.vue create mode 100644 src/components/EducationSection.astro delete mode 100644 src/components/EducationSection.vue create mode 100644 src/components/ExperienceSection.astro delete mode 100644 src/components/ExperienceSection.vue create mode 100644 src/components/HeroSection.astro delete mode 100644 src/components/HeroSection.vue delete mode 100644 src/components/LegalView.vue create mode 100644 src/components/SectionLabel.astro delete mode 100644 src/components/SectionLabel.vue create mode 100644 src/components/SiteFooter.astro delete mode 100644 src/components/SiteFooter.vue create mode 100644 src/components/StackSection.astro delete mode 100644 src/components/StackSection.vue create mode 100644 src/components/ThemeToggle.astro delete mode 100644 src/components/ThemeToggle.vue delete mode 100644 src/composables/useTheme.ts create mode 100644 src/layouts/Layout.astro delete mode 100644 src/main.ts create mode 100644 src/pages/404.astro create mode 100644 src/pages/[slug].astro create mode 100644 src/pages/index.astro delete mode 100644 vite.config.ts diff --git a/.claude/launch.json b/.claude/launch.json index 097d843..5e5163e 100644 --- a/.claude/launch.json +++ b/.claude/launch.json @@ -5,7 +5,7 @@ "name": "dev", "runtimeExecutable": "bun", "runtimeArgs": ["run", "dev"], - "port": 5173 + "port": 4321 } ] } diff --git a/.claude/skills/commit/SKILL.md b/.claude/skills/commit/SKILL.md index 03a4315..328de57 100644 --- a/.claude/skills/commit/SKILL.md +++ b/.claude/skills/commit/SKILL.md @@ -87,12 +87,12 @@ Each commit should contain one logical change. Create separate commits for: **Stage together:** -- New component `ContractSection.vue` + its import and usage in `App.vue` +- New component `ContractSection.astro` + its import and usage in `index.astro` - A copy change in `data.ts` + the matching markup tweak in the section component that renders it **Stage separately:** -- Two new components `StackSection.vue` and `EducationSection.vue`, each with their own `App.vue` wiring +- Two new components `StackSection.astro` and `EducationSection.astro`, each with their own `index.astro` wiring - A `useTheme.ts` composable change + an unrelated style fix in `style.css` ## Instructions diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 479ff16..846f5d8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -18,8 +18,11 @@ jobs: - name: Install dependencies run: bun install --frozen-lockfile - - name: Lint and check formatting - run: bunx biome ci . + - name: Lint + run: bun run lint + + - name: Check formatting + run: bun run format:check - name: Type-check and build run: bun run build diff --git a/.gitignore b/.gitignore index 2f79262..405a522 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,6 @@ dist-ssr *.njsproj *.sln *.sw? + +# Astro +.astro diff --git a/.oxfmtrc.json b/.oxfmtrc.json new file mode 100644 index 0000000..5a7e81d --- /dev/null +++ b/.oxfmtrc.json @@ -0,0 +1,16 @@ +{ + "$schema": "./node_modules/oxfmt/configuration_schema.json", + "useTabs": true, + "tabWidth": 4, + "printWidth": 120, + "singleQuote": false, + "jsxSingleQuote": false, + "quoteProps": "as-needed", + "trailingComma": "all", + "semi": true, + "arrowParens": "always", + "bracketSameLine": false, + "bracketSpacing": true, + "ignorePatterns": ["bun.lock"], + "astro": true +} diff --git a/.oxlintrc.json b/.oxlintrc.json new file mode 100644 index 0000000..d82a139 --- /dev/null +++ b/.oxlintrc.json @@ -0,0 +1,14 @@ +{ + "$schema": "./node_modules/oxlint/configuration_schema.json", + "plugins": ["typescript", "unicorn", "oxc", "import"], + "categories": { + "correctness": "error" + }, + "rules": { + "no-unused-vars": "error", + "prefer-const": "error", + "typescript/no-explicit-any": "error", + "typescript/no-non-null-assertion": "error" + }, + "ignorePatterns": ["dist", ".astro"] +} diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 8c44339..dd4b66e 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -2,7 +2,7 @@ ## Formatting -Biome: tabs (width 4), double quotes, semicolons, trailing commas, 120 char width. No `any`, no unused vars/imports, no non-null assertions. Vue SFCs relax the unused/undeclared rules. `bun run lint` to check, `bun run format` to fix. +Oxfmt: tabs (width 4), double quotes, semicolons, trailing commas, 120 char width. Oxlint: no `any`, no unused vars, no non-null assertions. `bun run lint` to lint, `bun run format` to fix formatting. ### Blank Lines @@ -10,16 +10,16 @@ Blank line after multi-line block (3+ lines) when followed by another statement. ```typescript // Good -watchEffect(() => { - localStorage.setItem("theme", theme.value); - document.documentElement.classList.toggle("dark", isDark.value); +button?.addEventListener("click", () => { + const dark = !root.classList.contains("dark"); + apply(dark); }); -export function useTheme() { ... } +apply(root.classList.contains("dark")); // Good - single lines together +const root = document.documentElement; const media = window.matchMedia("(prefers-color-scheme: dark)"); -const systemDark = ref(media.matches); ``` ## Comments @@ -43,12 +43,14 @@ const toggle = () => { ... }; Prefer popular, well-maintained packages over hand-rolling functionality for anything with a standard. Avoid general-purpose utility packages like `lodash` to keep bundle size in check; import only focused, single-purpose packages. -## Vue / Frontend +## Astro / Frontend -**Component Organization:** One component per section in `src/components/`. Small, one-time-use markup can stay inline in its parent. Larger or reusable pieces get their own file. +**Component Organization:** Pages in `src/pages/`, the shared shell in `src/layouts/Layout.astro`, one component per section in `src/components/`. Small, one-time-use markup can stay inline in its parent. Larger or reusable pieces get their own file. **Content vs markup:** All copy, links, and profile data live in `src/data.ts`. Components render data, they do not embed prose. +**JavaScript:** The site ships static HTML. Keep client scripts to small inline ` - - -
- - - diff --git a/package.json b/package.json index 9d76e28..68bf5c6 100644 --- a/package.json +++ b/package.json @@ -1,28 +1,27 @@ { "name": "gmiles.dev", - "private": true, "version": "1.0.0", + "private": true, "type": "module", "scripts": { - "dev": "vite", - "build": "vue-tsc --noEmit && vite build", - "type-check": "vue-tsc --noEmit", - "lint": "biome check .", - "format": "biome check --write .", - "preview": "vite preview" + "dev": "bun --bun astro dev", + "build": "bun --bun astro check && bun --bun astro build", + "type-check": "bun --bun astro check", + "lint": "oxlint", + "format": "oxfmt", + "format:check": "oxfmt --check", + "preview": "bun --bun astro preview" }, "dependencies": { - "vue": "^3.5.39" + "astro": "^7.4.11" }, "devDependencies": { - "@biomejs/biome": "^2.5.3", - "@tailwindcss/vite": "^4.3.2", - "@types/node": "^26.1.1", - "@vitejs/plugin-vue": "^6.0.8", - "@vue/tsconfig": "^0.9.1", - "tailwindcss": "^4.3.2", - "typescript": "^5", - "vite": "^8.1.4", - "vue-tsc": "^3.3.7" + "@astrojs/check": "^0.9.12", + "@astrojs/compiler-rs": "^0.5.3", + "@tailwindcss/vite": "^4.3.5", + "oxfmt": "^0.78.0", + "oxlint": "^1.93.0", + "tailwindcss": "^4.3.5", + "typescript": "^6.0.3" } } diff --git a/src/App.vue b/src/App.vue deleted file mode 100644 index 9e617aa..0000000 --- a/src/App.vue +++ /dev/null @@ -1,75 +0,0 @@ - - - diff --git a/src/components/ContractSection.astro b/src/components/ContractSection.astro new file mode 100644 index 0000000..4a32e37 --- /dev/null +++ b/src/components/ContractSection.astro @@ -0,0 +1,76 @@ +--- +import { contracting } from "@/data"; +import SectionLabel from "./SectionLabel.astro"; +--- + +
diff --git a/src/components/ContractSection.vue b/src/components/ContractSection.vue deleted file mode 100644 index 056f977..0000000 --- a/src/components/ContractSection.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/components/EducationSection.astro b/src/components/EducationSection.astro new file mode 100644 index 0000000..65f9dd7 --- /dev/null +++ b/src/components/EducationSection.astro @@ -0,0 +1,64 @@ +--- +import { schools } from "@/data"; +import SectionLabel from "./SectionLabel.astro"; +--- + +
+ + +
+ {schools.map((school, i) => ( +
+
+
+

{school.period}

+

{school.name}

+

{school.qualification}

+
+
+

{school.headline}

+

{school.headlineNote}

+
+
+ + {school.detail &&

{school.detail}

} + + {school.subjects && ( +
    + {school.subjects.map(({ subject, grade }) => ( +
  • + {subject} + {grade} +
  • + ))} +
+ )} + + {school.awards && ( +
    + {school.awards.map((award) => ( +
  • + + + + + {award} +
  • + ))} +
+ )} +
+ ))} +
+
diff --git a/src/components/EducationSection.vue b/src/components/EducationSection.vue deleted file mode 100644 index 05f77f6..0000000 --- a/src/components/EducationSection.vue +++ /dev/null @@ -1,69 +0,0 @@ - - - diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro new file mode 100644 index 0000000..0c03b57 --- /dev/null +++ b/src/components/ExperienceSection.astro @@ -0,0 +1,48 @@ +--- +import { roles } from "@/data"; +import SectionLabel from "./SectionLabel.astro"; +--- + +
+ + +
    + {roles.map((role, i) => ( +
  1. +
  2. + ))} +
+
diff --git a/src/components/ExperienceSection.vue b/src/components/ExperienceSection.vue deleted file mode 100644 index b7b3291..0000000 --- a/src/components/ExperienceSection.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro new file mode 100644 index 0000000..66140c3 --- /dev/null +++ b/src/components/HeroSection.astro @@ -0,0 +1,87 @@ +--- +import { Image } from "astro:assets"; +import headshot from "@/assets/headshot.jpg"; +import { contracting, profile } from "@/data"; +--- + +
+
+
+

+ ~/gmiles.dev $ whoami +

+

+ {profile.name} +

+

+ {profile.tagline} +

+

+ {profile.summary} +

+

+ + + + + {profile.location} +

+ +
+ +
+ George Miles +
+
+
diff --git a/src/components/HeroSection.vue b/src/components/HeroSection.vue deleted file mode 100644 index 392193c..0000000 --- a/src/components/HeroSection.vue +++ /dev/null @@ -1,89 +0,0 @@ - - - diff --git a/src/components/LegalView.vue b/src/components/LegalView.vue deleted file mode 100644 index 1e26eb7..0000000 --- a/src/components/LegalView.vue +++ /dev/null @@ -1,48 +0,0 @@ - - - diff --git a/src/components/SectionLabel.astro b/src/components/SectionLabel.astro new file mode 100644 index 0000000..2b56ce0 --- /dev/null +++ b/src/components/SectionLabel.astro @@ -0,0 +1,12 @@ +--- +interface Props { + title: string; +} + +const { title } = Astro.props; +--- + +
+

{title}

+ +
diff --git a/src/components/SectionLabel.vue b/src/components/SectionLabel.vue deleted file mode 100644 index ab4b418..0000000 --- a/src/components/SectionLabel.vue +++ /dev/null @@ -1,12 +0,0 @@ - - - diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro new file mode 100644 index 0000000..ed9f244 --- /dev/null +++ b/src/components/SiteFooter.astro @@ -0,0 +1,46 @@ +--- +import { profile } from "@/data"; +--- + + diff --git a/src/components/SiteFooter.vue b/src/components/SiteFooter.vue deleted file mode 100644 index 149ccb5..0000000 --- a/src/components/SiteFooter.vue +++ /dev/null @@ -1,43 +0,0 @@ - - - diff --git a/src/components/StackSection.astro b/src/components/StackSection.astro new file mode 100644 index 0000000..2c5f29f --- /dev/null +++ b/src/components/StackSection.astro @@ -0,0 +1,51 @@ +--- +import { stack } from "@/data"; +import SectionLabel from "./SectionLabel.astro"; +--- + +
+ + + +
+ +
+ + + + george@gmiles: ~/stack +
+ + +
+

+ $ tree ./career + --sort started +

+ +
+ {stack.map((layer, i) => ( +
+

+ {i === stack.length - 1 ? "└── " : "├── "} + {layer.name} + # {layer.note} +

+

+ {layer.items.map((item, j) => ( + <> + {j > 0 && · } + {item} + + ))} +

+
+ ))} +
+ +

+ $ +

+
+
+
diff --git a/src/components/StackSection.vue b/src/components/StackSection.vue deleted file mode 100644 index df60faa..0000000 --- a/src/components/StackSection.vue +++ /dev/null @@ -1,51 +0,0 @@ - - - diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro new file mode 100644 index 0000000..13c6f41 --- /dev/null +++ b/src/components/ThemeToggle.astro @@ -0,0 +1,63 @@ + + + diff --git a/src/components/ThemeToggle.vue b/src/components/ThemeToggle.vue deleted file mode 100644 index d6fc05e..0000000 --- a/src/components/ThemeToggle.vue +++ /dev/null @@ -1,47 +0,0 @@ - - - diff --git a/src/composables/useTheme.ts b/src/composables/useTheme.ts deleted file mode 100644 index c465472..0000000 --- a/src/composables/useTheme.ts +++ /dev/null @@ -1,31 +0,0 @@ -import { computed, ref, watchEffect } from "vue"; - -export type Theme = "light" | "dark" | "system"; - -const stored = localStorage.getItem("theme") as Theme | null; -const theme = ref(stored === "light" || stored === "dark" || stored === "system" ? stored : "system"); - -const media = window.matchMedia("(prefers-color-scheme: dark)"); -const systemDark = ref(media.matches); -media.addEventListener("change", (event) => (systemDark.value = event.matches)); - -const isDark = computed(() => theme.value === "dark" || (theme.value === "system" && systemDark.value)); - -watchEffect(() => { - localStorage.setItem("theme", theme.value); - document.documentElement.classList.toggle("dark", isDark.value); -}); - -/** - * Provides the current theme preference, the resolved dark state, and a toggle - */ -export function useTheme() { - /** - * Flips to the opposite of whatever is currently showing. System resolves to its effective theme first - */ - const toggle = () => { - theme.value = isDark.value ? "light" : "dark"; - }; - - return { theme, isDark, toggle }; -} diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro new file mode 100644 index 0000000..2e3ba46 --- /dev/null +++ b/src/layouts/Layout.astro @@ -0,0 +1,128 @@ +--- +import SiteFooter from "@/components/SiteFooter.astro"; +import ThemeToggle from "@/components/ThemeToggle.astro"; +import "@/style.css"; + +interface Props { + title: string; + /** Shows the section nav. Only the home page has sections to jump to */ + nav?: boolean; +} + +const { title, nav = false } = Astro.props; +--- + + + + + + + + + + + + + + + + {title} + + + + + + + + + diff --git a/src/main.ts b/src/main.ts deleted file mode 100644 index 5a427a6..0000000 --- a/src/main.ts +++ /dev/null @@ -1,28 +0,0 @@ -import { createApp } from "vue"; -import App from "./App.vue"; - -import "./style.css"; - -const app = createApp(App); - -// v-reveal fades elements in as they scroll into view. Optional value is the stagger delay in ms -app.directive("reveal", { - mounted(el, binding) { - el.classList.add("reveal"); - if (binding.value) el.style.transitionDelay = `${binding.value}ms`; - - const observer = new IntersectionObserver( - ([entry]) => { - if (entry?.isIntersecting) { - el.classList.add("revealed"); - observer.disconnect(); - } - }, - { threshold: 0.15 }, - ); - - observer.observe(el); - }, -}); - -app.mount("#app"); diff --git a/src/pages/404.astro b/src/pages/404.astro new file mode 100644 index 0000000..61728f0 --- /dev/null +++ b/src/pages/404.astro @@ -0,0 +1,15 @@ +--- +import Layout from "@/layouts/Layout.astro"; +--- + + +
+

+ ~/gmiles.dev $ cd: no such file or directory +

+

No such page

+ + back to gmiles.dev + +
+
diff --git a/src/pages/[slug].astro b/src/pages/[slug].astro new file mode 100644 index 0000000..8d912db --- /dev/null +++ b/src/pages/[slug].astro @@ -0,0 +1,50 @@ +--- +import type { GetStaticPaths } from "astro"; +import Layout from "@/layouts/Layout.astro"; +import { legalDocs } from "@/legal"; + +export const getStaticPaths = (() => + legalDocs.map((doc) => ({ params: { slug: doc.slug }, props: { doc } }))) satisfies GetStaticPaths; + +const { doc } = Astro.props; +--- + + +
+ + + back to gmiles.dev + + +

+ ~/gmiles.dev $ cat {doc.slug}.md +

+

{doc.title}

+

last updated: {doc.updated}

+ +
+ {doc.sections.map((section) => ( +
+

{section.heading}

+ {section.paragraphs.map((paragraph) => ( +

{paragraph}

+ ))} +
+ ))} +
+
+
diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..ccc3238 --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,18 @@ +--- +import ContractSection from "@/components/ContractSection.astro"; +import EducationSection from "@/components/EducationSection.astro"; +import ExperienceSection from "@/components/ExperienceSection.astro"; +import HeroSection from "@/components/HeroSection.astro"; +import StackSection from "@/components/StackSection.astro"; +import Layout from "@/layouts/Layout.astro"; +--- + + +
+ + + + + +
+
diff --git a/src/style.css b/src/style.css index 5ca1740..9840daa 100644 --- a/src/style.css +++ b/src/style.css @@ -56,7 +56,7 @@ body { color: var(--c-bg); } -/* Scroll reveal (via v-reveal directive) */ +/* Scroll reveal. The observer in Layout.astro adds .revealed */ .reveal { opacity: 0; translate: 0 18px; diff --git a/tsconfig.json b/tsconfig.json index 3eb455d..a228a25 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,11 +1,10 @@ { - "extends": "@vue/tsconfig/tsconfig.dom.json", - "include": ["env.d.ts", "src/**/*", "src/**/*.vue"], + "extends": "astro/tsconfigs/strict", + "include": [".astro/types.d.ts", "**/*"], + "exclude": ["dist"], "compilerOptions": { - "baseUrl": ".", "paths": { "@/*": ["./src/*"] - }, - "noEmit": true + } } } diff --git a/vite.config.ts b/vite.config.ts deleted file mode 100644 index 132cd9d..0000000 --- a/vite.config.ts +++ /dev/null @@ -1,13 +0,0 @@ -import { fileURLToPath, URL } from "node:url"; -import tailwindcss from "@tailwindcss/vite"; -import vue from "@vitejs/plugin-vue"; -import { defineConfig } from "vite"; - -export default defineConfig({ - plugins: [vue(), tailwindcss()], - resolve: { - alias: { - "@": fileURLToPath(new URL("./src", import.meta.url)), - }, - }, -}); diff --git a/wrangler.jsonc b/wrangler.jsonc index 6b17978..37e3ca3 100644 --- a/wrangler.jsonc +++ b/wrangler.jsonc @@ -4,6 +4,6 @@ "compatibility_date": "2026-07-14", "assets": { "directory": "./dist", - "not_found_handling": "single-page-application" - } + "not_found_handling": "404-page", + }, } From aef86260cb393d6a6125b2d6c7a99a773e2f5348 Mon Sep 17 00:00:00 2001 From: t3ned Date: Wed, 11 Nov 2026 23:33:13 +0000 Subject: [PATCH 04/27] fix: darken dark mode accent and tighten hire copy --- src/data.ts | 4 ++-- src/style.css | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data.ts b/src/data.ts index 1e2b265..c584744 100644 --- a/src/data.ts +++ b/src/data.ts @@ -129,11 +129,11 @@ export const roles: Role[] = [ export const contracting = { bookingUrl: "https://cal.com/gmiles", - pitch: "I take on a small number of contract and commission projects. I can build something new from scratch or build on what you already have: MVPs, new features, system rewrites, performance work, and full-stack builds.", + pitch: "I take on a small number of contract projects: new builds from scratch, or new features, rewrites and performance work on what you already have.", points: [ "Consultations are free. Book a 30 minute call and we'll talk through what you need.", "Quoted fixed or hourly, whichever suits the work.", - "I keep client slots deliberately limited. Live availability is on the booking calendar: if you can see a slot, I can take you on.", + "I only work with a few clients at a time, so I can give each project proper focus.", ], terms: [ { term: "Subject to contract", detail: "every engagement starts with a signed agreement" }, diff --git a/src/style.css b/src/style.css index 9840daa..11118fa 100644 --- a/src/style.css +++ b/src/style.css @@ -24,8 +24,8 @@ --c-ink: #ece7df; --c-soft: #9a938a; --c-line: #2b2721; - --c-accent: #ff8c42; - --c-accent-soft: #ff8c4218; + --c-accent: #e05a14; + --c-accent-soft: #e05a1418; } @theme inline { From ac419707ee67f9063675cd6e38de8d3493174c76 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 00:21:15 +0000 Subject: [PATCH 05/27] feat: redesign site as classic --- CODE_STYLE.md | 17 ++-- src/components/ContractSection.astro | 107 ++++++++++---------- src/components/EducationSection.astro | 60 ++++++------ src/components/ExperienceSection.astro | 102 +++++++++++-------- src/components/HeroSection.astro | 130 ++++++++++++------------- src/components/Section.astro | 23 +++++ src/components/SectionLabel.astro | 12 --- src/components/SiteFooter.astro | 77 ++++++++------- src/components/StackSection.astro | 49 +++++----- src/components/ThemeToggle.astro | 2 +- src/data.ts | 2 + src/layouts/Layout.astro | 123 ++++++++++------------- src/pages/404.astro | 29 ++++-- src/pages/[slug].astro | 33 ++++--- src/pages/index.astro | 12 +-- src/style.css | 128 +++++++++++------------- 16 files changed, 463 insertions(+), 443 deletions(-) create mode 100644 src/components/Section.astro delete mode 100644 src/components/SectionLabel.astro diff --git a/CODE_STYLE.md b/CODE_STYLE.md index dd4b66e..8233a8d 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -55,18 +55,19 @@ Prefer popular, well-maintained packages over hand-rolling functionality for any ## Typography -| Font | Class | Usage | -| ------------------- | -------------- | --------------------------------------------------------- | -| Bricolage Grotesque | `font-display` | Headings, titles (`font-semibold` to `font-extrabold`) | -| Instrument Sans | `font-sans` | Body, UI (default, `font-normal` to `font-medium`) | -| JetBrains Mono | `font-mono` | Labels, terminal, meta (`font-normal` to `font-semibold`) | +| Font | Class | Usage | +| ----------------- | ----------- | --------------------------------------------------------------------- | +| Schibsted Grotesk | `font-sans` | Headings and body (default). Headings `font-semibold` to `font-bold` | +| JetBrains Mono | `font-mono` | The `~/` mark, prompts, the stack terminal and dates (`tabular-nums`) | + +One family carries the whole hierarchy through size, weight and tracking. Headings track tight (`-0.02em` to `-0.04em` for the hero name), body copy sits at a 60 to 68ch measure with `leading-relaxed`. Figures inside experience highlights are set in heavier ink by `splitFigures`. Mono is for code, data and dates only, never decoration. ## Theming -Hex colors in CSS vars, defined in `src/style.css` (`:root` for light, `.dark` overrides) and exposed to Tailwind via `@theme inline`. Light/dark via `.dark` class on ``, applied pre-paint by the inline script in `index.html`. Rust-orange accent (`--c-accent`), warm paper light theme, deep ink dark theme. The stack terminal stays dark in both themes. +Hex colors in CSS vars, defined in `src/style.css` (`:root` for light, `.dark` overrides) and exposed to Tailwind via `@theme inline`. Light/dark via `.dark` class on ``, applied pre-paint by the inline script in `Layout.astro`. Neutral grounds: soft off-white light theme (`#f6f6f4`), deep neutral charcoal dark theme (`#121212`). Orange is a precise accent for links, the primary button, role titles and small highlights. The stack terminal stays dark in both themes. -Semantic tokens: `bg`, `surface`, `ink` (text), `soft` (muted text), `line` (borders), `accent`, `accent-soft`. Use these, never raw hex in components. +Semantic tokens: `bg`, `surface`, `ink` (text), `soft` (muted text), `line` (borders), `accent` (accent text, AA on `bg`), `accent-fill` (primary button fill), `on-accent` (text on `accent-fill`, white in light and charcoal in dark), `accent-soft`, `term` (terminal ground). Use these, never raw hex in components. Selection, focus rings, caret and scrollbar are themed from the same tokens in `style.css`. ## Motion -Load-in stagger via `.rise` (hero only), scroll reveal via the `.reveal` class with an optional inline `transition-delay` for stagger. All animation respects `prefers-reduced-motion`. +One authored moment: the hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. diff --git a/src/components/ContractSection.astro b/src/components/ContractSection.astro index 4a32e37..c15d101 100644 --- a/src/components/ContractSection.astro +++ b/src/components/ContractSection.astro @@ -1,76 +1,77 @@ --- -import { contracting } from "@/data"; -import SectionLabel from "./SectionLabel.astro"; +import { contracting, profile } from "@/data"; +import Section from "./Section.astro"; + +// The free consultation point leads the closing call to action, the rest sit with the pitch +const [lead, ...points] = contracting.points; --- -
- +
+

+ {contracting.pitch} +

-
- -
-

{contracting.pitch}

+
    + {points.map((point) => ( +
  • + + {point} +
  • + ))} +
-
    - {contracting.points.map((point, i) => ( -
  • - - {point} -
  • - ))} -
+

Terms

+
+ {contracting.terms.map((item) => ( +
+
{item.term}
+
{item.detail}
+
+ ))} +
+
+

+ {lead} +

+ - - -
-

The terms

-
- {contracting.terms.map((item) => ( -
-
- - - - {item.term} -
-
{item.detail}
-
- ))} -
+

+ or email{" "} + + {profile.email} + +

-
+
diff --git a/src/components/EducationSection.astro b/src/components/EducationSection.astro index 65f9dd7..c034540 100644 --- a/src/components/EducationSection.astro +++ b/src/components/EducationSection.astro @@ -1,54 +1,50 @@ --- import { schools } from "@/data"; -import SectionLabel from "./SectionLabel.astro"; +import Section from "./Section.astro"; --- -
- - -
- {schools.map((school, i) => ( -
-
-
-

{school.period}

-

{school.name}

-

{school.qualification}

-
-
-

{school.headline}

-

{school.headlineNote}

-
+
+
+ {schools.map((school) => ( +
+
+

{school.name}

+

{school.qualification}

+

{school.period}

+ {school.detail &&

{school.detail}

}
- {school.detail &&

{school.detail}

} +

+ + {school.headline} + + {school.headlineNote} +

{school.subjects && ( -
    +
    {school.subjects.map(({ subject, grade }) => ( -
  • - {subject} - {grade} -
  • +
    +
    {subject}
    +
    {grade}
    +
    ))} -
+ )} {school.awards && ( -
    +
      {school.awards.map((award) => ( -
    • +
))}
-
+
diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro index 0c03b57..eb0a496 100644 --- a/src/components/ExperienceSection.astro +++ b/src/components/ExperienceSection.astro @@ -1,48 +1,72 @@ --- -import { roles } from "@/data"; -import SectionLabel from "./SectionLabel.astro"; ---- +import { type Role, roles } from "@/data"; +import Section from "./Section.astro"; + +/** + * Groups consecutive roles at the same company so promotions read as one tenure + */ +const groupByCompany = (list: Role[]) => + list.reduce<{ company: string; location: string; roles: Role[] }[]>((groups, role) => { + const last = groups.at(-1); + if (last?.company === role.company) last.roles.push(role); + else groups.push({ company: role.company, location: role.location, roles: [role] }); + return groups; + }, []); -
- +/** + * Splits a highlight into plain text and figures so the numbers can be set in heavier ink + */ +const splitFigures = (text: string) => + text + .split(/((? ({ part, figure: i % 2 === 1 })); + +const groups = groupByCompany(roles); +--- -
    - {roles.map((role, i) => ( -
  1. -
  2. ))}
-
+ diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index 66140c3..2d0d216 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -4,84 +4,78 @@ import headshot from "@/assets/headshot.jpg"; import { contracting, profile } from "@/data"; --- -
-
- -
- George Miles -
+

+ {profile.role} + + {profile.location} +

+ +
+ Portrait of George Miles +
diff --git a/src/components/Section.astro b/src/components/Section.astro new file mode 100644 index 0000000..aea1b8b --- /dev/null +++ b/src/components/Section.astro @@ -0,0 +1,23 @@ +--- +interface Props { + id: string; + title: string; +} + +const { id, title } = Astro.props; +--- + + +
+
+

+ {title} +

+
+ +
+
+
diff --git a/src/components/SectionLabel.astro b/src/components/SectionLabel.astro deleted file mode 100644 index 2b56ce0..0000000 --- a/src/components/SectionLabel.astro +++ /dev/null @@ -1,12 +0,0 @@ ---- -interface Props { - title: string; -} - -const { title } = Astro.props; ---- - -
-

{title}

- -
diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro index ed9f244..2c619c5 100644 --- a/src/components/SiteFooter.astro +++ b/src/components/SiteFooter.astro @@ -1,46 +1,51 @@ --- import { profile } from "@/data"; + +const legal = [ + { href: "/privacy", label: "Privacy" }, + { href: "/terms", label: "Terms" }, + { href: "/refunds", label: "Refunds" }, +]; --- -
+ + +
+ + + + +
+

The terms

+
+ {contracting.terms.map((item) => ( +
+
+ + + + {item.term} +
+
{item.detail}
+
+ ))} +
+
+
+
diff --git a/src/components/StackSection.astro b/src/components/StackSection.astro index 2c5f29f..6076859 100644 --- a/src/components/StackSection.astro +++ b/src/components/StackSection.astro @@ -1,40 +1,35 @@ --- import { stack } from "@/data"; -import SectionLabel from "./SectionLabel.astro"; +import Section from "./Section.astro"; --- -
- - +
-
- -
- - - - george@gmiles: ~/stack +
+
+ + + + george@gmiles: ~/stack
- -
-

- $ tree ./career - --sort started +

+

+ $ tree ./career --sort started

-
+
{stack.map((layer, i) => (
-

+

{i === stack.length - 1 ? "└── " : "├── "} - {layer.name} - # {layer.note} + {layer.name} + # {layer.note}

-

+

{layer.items.map((item, j) => ( <> - {j > 0 && · } + {j > 0 && · } {item} ))} @@ -43,9 +38,13 @@ import SectionLabel from "./SectionLabel.astro"; ))}

-

- $ +

+ $ +

-
+
diff --git a/src/components/ThemeToggle.astro b/src/components/ThemeToggle.astro index 13c6f41..73ae95b 100644 --- a/src/components/ThemeToggle.astro +++ b/src/components/ThemeToggle.astro @@ -3,7 +3,7 @@ type="button" title="Toggle theme" aria-label="Toggle theme" - class="border-line bg-surface text-soft hover:border-accent hover:text-accent flex size-9 items-center justify-center rounded-lg border transition-colors" + class="text-soft hover:text-ink hover:bg-surface hover:border-line flex size-9 items-center justify-center rounded-lg border border-transparent transition-colors" > @@ -21,14 +29,15 @@ const { title, nav = false } = Astro.props; name="description" content="George Miles, senior backend engineer working the full stack. Rust, distributed systems, DevOps, and modern frontend." /> - + + @@ -45,84 +54,52 @@ const { title, nav = false } = Astro.props; })(); - -
- - + + + Skip to content + -
- +
-
- -
+
+ +
- -
- - + diff --git a/src/pages/404.astro b/src/pages/404.astro index 61728f0..a2f5b3f 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -3,13 +3,30 @@ import Layout from "@/layouts/Layout.astro"; --- -
-

- ~/gmiles.dev $ cd: no such file or directory +

+

+ $ cd ./this-page +
+ cd: no such file or directory

-

No such page

- - back to gmiles.dev +

No such page

+
+ + Back to gmiles.dev
diff --git a/src/pages/[slug].astro b/src/pages/[slug].astro index 8d912db..077f160 100644 --- a/src/pages/[slug].astro +++ b/src/pages/[slug].astro @@ -10,11 +10,8 @@ const { doc } = Astro.props; --- -
- +
+ - back to gmiles.dev + Back to gmiles.dev -

- ~/gmiles.dev $ cat {doc.slug}.md -

-

{doc.title}

-

last updated: {doc.updated}

+
+

{doc.title}

+

+ Last updated + + + ~/ + {doc.slug}.md + +

+
-
+
{doc.sections.map((section) => (
-

{section.heading}

+

{section.heading}

{section.paragraphs.map((paragraph) => (

{paragraph}

))} diff --git a/src/pages/index.astro b/src/pages/index.astro index ccc3238..4dbf33b 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -8,11 +8,9 @@ import Layout from "@/layouts/Layout.astro"; --- -
- - - - - -
+ + + + +
diff --git a/src/style.css b/src/style.css index 11118fa..807f27b 100644 --- a/src/style.css +++ b/src/style.css @@ -3,29 +3,36 @@ @custom-variant dark (&:where(.dark, .dark *)); @theme { - --font-display: "Bricolage Grotesque", ui-sans-serif, sans-serif; - --font-sans: "Instrument Sans", ui-sans-serif, sans-serif; + --font-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif; --font-mono: "JetBrains Mono", ui-monospace, monospace; } :root { - --c-bg: #faf8f4; + --c-bg: #f6f6f4; --c-surface: #ffffff; - --c-ink: #1b1712; - --c-soft: #6f6a62; - --c-line: #e6e1d8; - --c-accent: #d1490f; - --c-accent-soft: #d1490f14; + --c-ink: #151514; + --c-soft: #5f5e5a; + --c-line: #e3e2de; + --c-accent: #b8430d; + --c-accent-fill: #c4460e; + --c-on-accent: #ffffff; + --c-accent-soft: #c4460e14; + --c-term: #171716; + color-scheme: light; } .dark { - --c-bg: #100e0c; - --c-surface: #18150f; - --c-ink: #ece7df; - --c-soft: #9a938a; - --c-line: #2b2721; - --c-accent: #e05a14; - --c-accent-soft: #e05a1418; + --c-bg: #121212; + --c-surface: #1a1a19; + --c-ink: #ececea; + --c-soft: #9e9d98; + --c-line: #2a2a28; + --c-accent: #ec6b2d; + --c-accent-fill: #e8662a; + --c-on-accent: #121212; + --c-accent-soft: #ec6b2d1a; + --c-term: #0b0b0b; + color-scheme: dark; } @theme inline { @@ -35,90 +42,73 @@ --color-soft: var(--c-soft); --color-line: var(--c-line); --color-accent: var(--c-accent); + --color-accent-fill: var(--c-accent-fill); + --color-on-accent: var(--c-on-accent); --color-accent-soft: var(--c-accent-soft); + --color-term: var(--c-term); } html { scroll-behavior: smooth; + scrollbar-color: var(--c-line) var(--c-bg); + -webkit-text-size-adjust: 100%; } body { background-color: var(--c-bg); color: var(--c-ink); font-family: var(--font-sans); - transition: - background-color 0.3s ease, - color 0.3s ease; + font-feature-settings: "ss01"; + caret-color: var(--c-accent); + -webkit-font-smoothing: antialiased; + -moz-osx-font-smoothing: grayscale; } ::selection { - background-color: var(--c-accent); - color: var(--c-bg); + background-color: var(--c-accent-fill); + color: var(--c-on-accent); } -/* Scroll reveal. The observer in Layout.astro adds .revealed */ -.reveal { - opacity: 0; - translate: 0 18px; - transition: - opacity 0.65s ease, - translate 0.65s ease; +:focus-visible { + outline: 2px solid var(--c-accent); + outline-offset: 3px; + border-radius: 4px; } -.reveal.revealed { - opacity: 1; - translate: 0 0; +/* Inline text links. Accent ink with an underline that firms up on hover */ +.link { + color: var(--c-accent); + text-decoration-line: underline; + text-decoration-thickness: 1px; + text-underline-offset: 0.22em; + text-decoration-color: color-mix(in srgb, var(--c-accent) 35%, transparent); + transition: text-decoration-color 0.2s ease; } -/* Blinking block cursor at the stack terminal's idle prompt */ -@keyframes cursor-blink { - 0%, - 100% { - opacity: 1; - } - 50% { - opacity: 0; - } +.link:hover { + text-decoration-color: currentColor; } -.terminal-cursor { - display: inline-block; - width: 0.55em; - height: 1em; - translate: 0 0.15em; - background-color: rgb(255 255 255 / 0.6); - animation: cursor-blink 1.1s steps(1) infinite; -} - -@media (prefers-reduced-motion: reduce) { - .terminal-cursor { - animation: none; - } -} - -/* Hero load-in stagger */ -@keyframes rise-in { +/* Hero settle. Each line arrives with a short stagger set by --i, the portrait unblurs */ +@keyframes settle { from { opacity: 0; - translate: 0 22px; - } - to { - opacity: 1; - translate: 0 0; + translate: 0 10px; + filter: blur(6px); } } -.rise { - animation: rise-in 0.7s ease both; - animation-delay: calc(var(--rise, 0) * 90ms); +.settle { + animation: settle 0.9s cubic-bezier(0.16, 1, 0.3, 1) both; + animation-delay: calc(var(--i, 0) * 70ms + 60ms); } @media (prefers-reduced-motion: reduce) { - .reveal, - .rise { + html { + scroll-behavior: auto; + } + + .settle { animation: none; - opacity: 1; - translate: 0 0; - transition: none; } } From b48e606f357a12be3e63ccd8ed8767b5dad42d05 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 00:46:16 +0000 Subject: [PATCH 06/27] feat: show owner title tag in hero --- src/components/HeroSection.astro | 14 ++++++++++++-- src/data.ts | 2 +- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index 2d0d216..6d1fde1 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -2,6 +2,8 @@ import { Image } from "astro:assets"; import headshot from "@/assets/headshot.jpg"; import { contracting, profile } from "@/data"; + +const [title, org] = profile.role.split(", "); ---
@@ -9,6 +11,16 @@ import { contracting, profile } from "@/data";

{profile.name}

+

+ + {title} + {org && ( + {org} + )} +

- {profile.role} - {profile.location}

diff --git a/src/data.ts b/src/data.ts index 8170e50..7697e01 100644 --- a/src/data.ts +++ b/src/data.ts @@ -27,7 +27,7 @@ export interface School { export const profile = { name: "George Miles", - role: "Senior Backend Engineer", + role: "Owner, Stats.cc", tagline: "Backend at the core. Full stack from the ground up.", summary: "I own and run Stats.cc, and I build high-performance distributed systems: platforms processing billions of real-time events on Kubernetes clusters that stay up. The AI wave pulled me up the stack, so now I ship the frontend too.", From b90f7487c51c096f12ba030c6c80332074c3dcda Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 01:00:14 +0000 Subject: [PATCH 07/27] fix: refine classic design from impeccable review - Self-host fonts through Astro so visitors never hit Google - Add canonical, Open Graph and Twitter tags with an Owner, Stats.cc title - Keep primary button hover and focus at AA contrast - Align every experience role on one rail and render bullets crisply - Link Stats.cc from the hero title tag and keep orange for live items - Use en dashes in periods and pretty wrapping for paragraphs --- CODE_STYLE.md | 2 ++ astro.config.ts | 19 ++++++++++++- src/components/ContractSection.astro | 2 +- src/components/EducationSection.astro | 2 +- src/components/ExperienceSection.astro | 16 +++++------ src/components/HeroSection.astro | 39 ++++++++++++++++++-------- src/components/ThemeToggle.astro | 1 + src/data.ts | 23 ++++++++------- src/layouts/Layout.astro | 37 ++++++++++++++++-------- src/pages/index.astro | 3 +- src/style.css | 17 +++++++++-- 11 files changed, 111 insertions(+), 50 deletions(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 8233a8d..5aec6a6 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -62,6 +62,8 @@ Prefer popular, well-maintained packages over hand-rolling functionality for any One family carries the whole hierarchy through size, weight and tracking. Headings track tight (`-0.02em` to `-0.04em` for the hero name), body copy sits at a 60 to 68ch measure with `leading-relaxed`. Figures inside experience highlights are set in heavier ink by `splitFigures`. Mono is for code, data and dates only, never decoration. +Fonts are self-hosted through Astro's fonts API (`fonts` in `astro.config.ts`, `` in `Layout.astro`). They download at build time, so visitors never request anything from Google. Keep it that way: the privacy policy says the site does no tracking. + ## Theming Hex colors in CSS vars, defined in `src/style.css` (`:root` for light, `.dark` overrides) and exposed to Tailwind via `@theme inline`. Light/dark via `.dark` class on ``, applied pre-paint by the inline script in `Layout.astro`. Neutral grounds: soft off-white light theme (`#f6f6f4`), deep neutral charcoal dark theme (`#121212`). Orange is a precise accent for links, the primary button, role titles and small highlights. The stack terminal stays dark in both themes. diff --git a/astro.config.ts b/astro.config.ts index 42cea46..ebd04e5 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -1,9 +1,26 @@ import tailwindcss from "@tailwindcss/vite"; -import { defineConfig } from "astro/config"; +import { defineConfig, fontProviders } from "astro/config"; export default defineConfig({ site: "https://gmiles.dev", // Emit privacy.html rather than privacy/index.html so /privacy is served without a trailing slash redirect build: { format: "file" }, vite: { plugins: [tailwindcss()] }, + // Downloaded at build time and served from this site, so visitors never hit Google + fonts: [ + { + provider: fontProviders.google(), + name: "Schibsted Grotesk", + cssVariable: "--font-schibsted", + weights: ["400 800"], + styles: ["normal", "italic"], + }, + { + provider: fontProviders.google(), + name: "JetBrains Mono", + cssVariable: "--font-jetbrains", + weights: [400, 500], + styles: ["normal"], + }, + ], }); diff --git a/src/components/ContractSection.astro b/src/components/ContractSection.astro index c15d101..1f0c1ee 100644 --- a/src/components/ContractSection.astro +++ b/src/components/ContractSection.astro @@ -50,7 +50,7 @@ const [lead, ...points] = contracting.points; href={contracting.bookingUrl} target="_blank" rel="noopener" - class="bg-accent-fill text-on-accent group inline-flex h-12 items-center gap-2.5 rounded-lg pr-4 pl-5 text-[0.9375rem] font-semibold shadow-[0_1px_2px_rgb(0_0_0/0.12),0_4px_14px_-4px_var(--c-accent-fill)] transition-[filter] hover:brightness-110 active:brightness-95" + class="bg-accent-fill text-on-accent group inline-flex h-12 items-center gap-2.5 rounded-lg pr-4 pl-5 text-[0.9375rem] font-semibold shadow-[0_1px_2px_rgb(0_0_0/0.12),0_4px_14px_-4px_var(--c-accent-fill)] hover:bg-accent-fill-hover transition-[background-color,box-shadow]" > Book a free call

- + {school.headline} {school.headlineNote} diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro index eb0a496..a514c32 100644 --- a/src/components/ExperienceSection.astro +++ b/src/components/ExperienceSection.astro @@ -33,15 +33,13 @@ const groups = groupByCompany(roles);

{group.location}

-
    1 && "border-line ml-1 border-l pl-6"]}> +
      {group.roles.map((role) => (
    1. - {group.roles.length > 1 && ( -
-
+
Portrait of George Miles { root.classList.toggle("dark", dark); + document.querySelector('meta[name="theme-color"]')?.setAttribute("content", dark ? "#121212" : "#f6f6f4"); const label = dark ? "Switch to light theme" : "Switch to dark theme"; button?.setAttribute("title", label); button?.setAttribute("aria-label", label); diff --git a/src/data.ts b/src/data.ts index 7697e01..f0491a4 100644 --- a/src/data.ts +++ b/src/data.ts @@ -28,7 +28,10 @@ export interface School { export const profile = { name: "George Miles", role: "Owner, Stats.cc", - tagline: "Backend at the core. Full stack from the ground up.", + companyUrl: "https://stats.cc", + tagline: "Backend at the core. Full\u00a0stack from the ground up.", + description: + "George Miles, owner of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", summary: "I own and run Stats.cc, and I build high-performance distributed systems: platforms processing billions of real-time events on Kubernetes clusters that stay up. The AI wave pulled me up the stack, so now I ship the frontend too.", location: "England · remote, worldwide", @@ -70,7 +73,7 @@ export const roles: Role[] = [ { company: "Stats.cc", title: "Owner", - period: "Oct 2026 - Present", + period: "Oct 2026 – Present", location: "Remote, UK", summary: "Took over the business I helped build. Now leading everything from infrastructure, backend and frontend to product direction and business strategy, on a mission to give 250 million gamers the tools to track, analyse and improve their performance.", @@ -82,7 +85,7 @@ export const roles: Role[] = [ { company: "Stats.cc", title: "Founding Engineer", - period: "Feb 2024 - Present", + period: "Feb 2024 – Present", location: "Remote, UK", summary: "Joined the founders after building a similar side project around the same time. Led backend architecture and built and ran all of the infrastructure, then moved into full stack to ship frontend features too.", @@ -95,7 +98,7 @@ export const roles: Role[] = [ { company: "Linkme", title: "Backend Engineer", - period: "Apr - Jul 2025", + period: "Apr – Jul 2025", location: "Remote, UK", summary: "Four-month contract architecting a TypeScript authentication service and integrating it with legacy systems, delivered while continuing to lead engineering at Stats.cc.", @@ -107,7 +110,7 @@ export const roles: Role[] = [ { company: "Enthusiast Gaming", title: "Backend Engineer · Tabstats", - period: "Mar 2022 - Jan 2023", + period: "Mar 2022 – Jan 2023", location: "Remote, UK", summary: "Engineered high-performance backend services powering real-time player statistics and analysis.", highlights: [ @@ -118,7 +121,7 @@ export const roles: Role[] = [ { company: "Enthusiast Gaming", title: "Community Management · Tabwire", - period: "Nov 2020 - Mar 2022", + period: "Nov 2020 – Mar 2022", location: "Remote, UK", summary: "Joined Tabwire before the acquisition, providing responsive support across social accounts and forums, and built tooling for the team's moderation processes.", @@ -150,10 +153,10 @@ export const schools: School[] = [ { name: "Henley Business School", qualification: "BSc Entrepreneurship · University of Reading", - period: "2023 - 2026", + period: "2023 – 2026", detail: "Business strategy, finance, and team management, studied alongside full-time engineering work.", headline: "First", - headlineNote: "honours", + headlineNote: "Honours", awards: [ "Best Overall Performance Business", "Best Business and Management Student (Entrepreneurship and Innovation)", @@ -164,9 +167,9 @@ export const schools: School[] = [ { name: "Bexhill College", qualification: "A-Levels", - period: "2020 - 2022", + period: "2020 – 2022", headline: "AAB", - headlineNote: "a-levels", + headlineNote: "A-Levels", subjects: [ { subject: "Computer Science", grade: "A" }, { subject: "Business Studies", grade: "A" }, diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ce54973..eb5be0b 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -1,4 +1,6 @@ --- +import { Font, getImage } from "astro:assets"; +import headshot from "@/assets/headshot.jpg"; import SiteFooter from "@/components/SiteFooter.astro"; import ThemeToggle from "@/components/ThemeToggle.astro"; import { profile } from "@/data"; @@ -12,6 +14,11 @@ interface Props { const { title, nav = false } = Astro.props; +// Pages build as name.html, so drop the extension and index for the public URL +const canonical = new URL(Astro.url.pathname.replace(/(index)?\.html$/, ""), Astro.site).href; +const og = await getImage({ src: headshot, width: 640, height: 640, format: "jpg" }); +const ogImage = new URL(og.src, Astro.site).href; + const links = [ { href: "#experience", label: "Experience" }, { href: "#stack", label: "Stack" }, @@ -25,21 +32,24 @@ const links = [ - - - + + + + + + + + + + + + + - - - + + {title} @@ -51,6 +61,9 @@ const links = [ pref === "dark" || ((pref === null || pref === "system") && window.matchMedia("(prefers-color-scheme: dark)").matches); document.documentElement.classList.toggle("dark", dark); + document + .querySelector('meta[name="theme-color"]') + ?.setAttribute("content", dark ? "#121212" : "#f6f6f4"); })(); diff --git a/src/pages/index.astro b/src/pages/index.astro index 4dbf33b..ad5537f 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -4,10 +4,11 @@ import EducationSection from "@/components/EducationSection.astro"; import ExperienceSection from "@/components/ExperienceSection.astro"; import HeroSection from "@/components/HeroSection.astro"; import StackSection from "@/components/StackSection.astro"; +import { profile } from "@/data"; import Layout from "@/layouts/Layout.astro"; --- - + diff --git a/src/style.css b/src/style.css index 807f27b..6a281df 100644 --- a/src/style.css +++ b/src/style.css @@ -3,8 +3,8 @@ @custom-variant dark (&:where(.dark, .dark *)); @theme { - --font-sans: "Schibsted Grotesk", ui-sans-serif, system-ui, sans-serif; - --font-mono: "JetBrains Mono", ui-monospace, monospace; + --font-sans: var(--font-schibsted), ui-sans-serif, system-ui, sans-serif; + --font-mono: var(--font-jetbrains), ui-monospace, monospace; } :root { @@ -15,6 +15,7 @@ --c-line: #e3e2de; --c-accent: #b8430d; --c-accent-fill: #c4460e; + --c-accent-fill-hover: #a83c0a; --c-on-accent: #ffffff; --c-accent-soft: #c4460e14; --c-term: #171716; @@ -29,6 +30,7 @@ --c-line: #2a2a28; --c-accent: #ec6b2d; --c-accent-fill: #e8662a; + --c-accent-fill-hover: #f07a43; --c-on-accent: #121212; --c-accent-soft: #ec6b2d1a; --c-term: #0b0b0b; @@ -43,6 +45,7 @@ --color-line: var(--c-line); --color-accent: var(--c-accent); --color-accent-fill: var(--c-accent-fill); + --color-accent-fill-hover: var(--c-accent-fill-hover); --color-on-accent: var(--c-on-accent); --color-accent-soft: var(--c-accent-soft); --color-term: var(--c-term); @@ -72,7 +75,15 @@ body { :focus-visible { outline: 2px solid var(--c-accent); outline-offset: 3px; - border-radius: 4px; +} + +/* Layered so utilities such as text-balance still win */ +@layer base { + p, + li, + dd { + text-wrap: pretty; + } } /* Inline text links. Accent ink with an underline that firms up on hover */ From 473c044a864f7a19e31bb44087d0eeb9346629f8 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 01:04:48 +0000 Subject: [PATCH 08/27] chore: drop unused accent token and match 404 button size --- src/pages/404.astro | 2 +- src/style.css | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/404.astro b/src/pages/404.astro index a2f5b3f..bd7dc7a 100644 --- a/src/pages/404.astro +++ b/src/pages/404.astro @@ -12,7 +12,7 @@ import Layout from "@/layouts/Layout.astro";

No such page

Date: Thu, 12 Nov 2026 17:39:08 +0000 Subject: [PATCH 09/27] feat: rework hero role, hire section and section hierarchy --- src/components/ContractSection.astro | 46 +++------ src/components/EducationSection.astro | 12 +-- src/components/ExperienceSection.astro | 6 +- src/components/HeroSection.astro | 131 +++++++++++++++++++------ src/data.ts | 14 ++- 5 files changed, 126 insertions(+), 83 deletions(-) diff --git a/src/components/ContractSection.astro b/src/components/ContractSection.astro index 1f0c1ee..dff9930 100644 --- a/src/components/ContractSection.astro +++ b/src/components/ContractSection.astro @@ -1,56 +1,32 @@ --- import { contracting, profile } from "@/data"; import Section from "./Section.astro"; - -// The free consultation point leads the closing call to action, the rest sit with the pitch -const [lead, ...points] = contracting.points; ---
-

- {contracting.pitch} -

- -
    - {points.map((point) => ( -
  • - - {point} -
  • - ))} -
+

{contracting.title}

+

{contracting.pitch}

-

Terms

-
+
{contracting.terms.map((item) => ( -
+
{item.term}
{item.detail}
))}
-
-

- {lead} -

-
+
+
+

{contracting.cta.title}

+

{contracting.cta.detail}

+
+
Book a free call (
-

{school.name}

-

{school.qualification}

-

{school.period}

+

{school.name}

+

{school.qualification}

+

{school.period}

{school.detail &&

{school.detail}

}
@@ -33,11 +33,11 @@ import Section from "./Section.astro"; )} {school.awards && ( -
-

- {profile.location} -

+
    +
  • + + {profile.location} +
  • + +
  • + + {profile.remote} +
  • +
@@ -104,3 +154,22 @@ const [title, org] = profile.role.split(", "); />
+ + diff --git a/src/data.ts b/src/data.ts index f0491a4..45545dc 100644 --- a/src/data.ts +++ b/src/data.ts @@ -29,12 +29,13 @@ export const profile = { name: "George Miles", role: "Owner, Stats.cc", companyUrl: "https://stats.cc", - tagline: "Backend at the core. Full\u00a0stack from the ground up.", description: "George Miles, owner of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", summary: "I own and run Stats.cc, and I build high-performance distributed systems: platforms processing billions of real-time events on Kubernetes clusters that stay up. The AI wave pulled me up the stack, so now I ship the frontend too.", - location: "England · remote, worldwide", + location: "England", + timeZone: "Europe/London", + remote: "Remote, worldwide", email: "hi@gmiles.dev", linkedin: "https://linkedin.com/in/gtmmiles", resumeUrl: @@ -134,12 +135,9 @@ export const roles: Role[] = [ export const contracting = { bookingUrl: "https://cal.com/gmiles", - pitch: "I take on a small number of contract projects: new builds from scratch, or new features, rewrites and performance work on what you already have.", - points: [ - "Consultations are free. Book a 30 minute call and we'll talk through what you need.", - "Quoted fixed or hourly, whichever suits the work.", - "I only work with a few clients at a time, so I can give each project proper focus.", - ], + title: "Need something built?", + pitch: "I take on a small number of contract projects, so each one gets proper focus. New builds from scratch, or new features, rewrites and performance work on what you already have.", + cta: { title: "Free 30 minute consultation", detail: "Talk through what you need, no commitment." }, terms: [ { term: "Subject to contract", detail: "every engagement starts with a signed agreement" }, { term: "Fully scoped", detail: "we agree exactly what's being built before work starts" }, From 35f75f55adfb18399e9a5637ec116edfe24aa644 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 17:51:29 +0000 Subject: [PATCH 10/27] feat: flip portrait to a joke on hover and rewrite hero summary --- src/components/HeroSection.astro | 32 +++++++++++++++++++++++--------- src/data.ts | 3 ++- src/style.css | 9 +++++++++ 3 files changed, 34 insertions(+), 10 deletions(-) diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index f557a90..96428e5 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -142,16 +142,30 @@ const [title, org] = profile.role.split(", ");
+
- Portrait of George Miles +
+
+ Portrait of George Miles + +
+
diff --git a/src/data.ts b/src/data.ts index 45545dc..adb2154 100644 --- a/src/data.ts +++ b/src/data.ts @@ -32,7 +32,8 @@ export const profile = { description: "George Miles, owner of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", summary: - "I own and run Stats.cc, and I build high-performance distributed systems: platforms processing billions of real-time events on Kubernetes clusters that stay up. The AI wave pulled me up the stack, so now I ship the frontend too.", + "I own Stats.cc and still write a lot of the code behind it. I've built real-time pipelines that handle billions of events and the infrastructure that keeps them running, and these days I ship the product on top as well.", + photoQuip: "Hey, you're too close to my face.", location: "England", timeZone: "Europe/London", remote: "Remote, worldwide", diff --git a/src/style.css b/src/style.css index 7c97af3..f89cc96 100644 --- a/src/style.css +++ b/src/style.css @@ -111,6 +111,11 @@ body { animation-delay: calc(var(--i, 0) * 70ms + 60ms); } +/* Portrait flip. A slight overshoot so the card lands rather than stops */ +.portrait { + transition: transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1); +} + @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; @@ -119,4 +124,8 @@ body { .settle { animation: none; } + + .portrait { + transition: none; + } } From 8b5719e3986dc97168395b09d4d9f6c942caf834 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 17:52:45 +0000 Subject: [PATCH 11/27] fix: drop double divider under education lists --- src/components/EducationSection.astro | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/EducationSection.astro b/src/components/EducationSection.astro index e22a05c..f082856 100644 --- a/src/components/EducationSection.astro +++ b/src/components/EducationSection.astro @@ -24,7 +24,7 @@ import Section from "./Section.astro"; {school.subjects && (
{school.subjects.map(({ subject, grade }) => ( -
+
{subject}
{grade}
@@ -35,7 +35,7 @@ import Section from "./Section.astro"; {school.awards && (
    {school.awards.map((award) => ( -
  • +
  • Date: Thu, 12 Nov 2026 17:54:20 +0000 Subject: [PATCH 12/27] feat: show Stats.cc logo in hero role line --- src/assets/stats-cc.svg | 1 + src/components/HeroSection.astro | 2 ++ 2 files changed, 3 insertions(+) create mode 100644 src/assets/stats-cc.svg diff --git a/src/assets/stats-cc.svg b/src/assets/stats-cc.svg new file mode 100644 index 0000000..f41cd66 --- /dev/null +++ b/src/assets/stats-cc.svg @@ -0,0 +1 @@ + diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index 96428e5..2d8f7ce 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -1,6 +1,7 @@ --- import { Image } from "astro:assets"; import headshot from "@/assets/headshot.jpg"; +import StatsLogo from "@/assets/stats-cc.svg"; import { contracting, profile } from "@/data"; const [title, org] = profile.role.split(", "); @@ -26,6 +27,7 @@ const [title, org] = profile.role.split(", "); rel="noopener" class="text-ink hover:text-accent group inline-flex items-center gap-1 transition-colors" > + {org} Date: Thu, 12 Nov 2026 17:56:09 +0000 Subject: [PATCH 13/27] feat: animate Stats.cc logo on hover --- src/components/HeroSection.astro | 5 ++++- src/style.css | 31 ++++++++++++++++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index 2d8f7ce..8c5a8d7 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -27,7 +27,10 @@ const [title, org] = profile.role.split(", "); rel="noopener" class="text-ink hover:text-accent group inline-flex items-center gap-1 transition-colors" > - + {org} Date: Thu, 12 Nov 2026 17:58:27 +0000 Subject: [PATCH 14/27] fix: wave the Stats.cc logo and align it to the cap height --- src/components/HeroSection.astro | 2 +- src/style.css | 31 ++++++++++++++++--------------- 2 files changed, 17 insertions(+), 16 deletions(-) diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index 8c5a8d7..ff44f7d 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -28,7 +28,7 @@ const [title, org] = profile.role.split(", "); class="text-ink hover:text-accent group inline-flex items-center gap-1 transition-colors" > {org} diff --git a/src/style.css b/src/style.css index 9a31d9b..d35d110 100644 --- a/src/style.css +++ b/src/style.css @@ -118,26 +118,28 @@ body { transition: transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1); } -/* Stats.cc mark. On hover the two bars slide past each other along their diagonal and settle back */ +/* Stats.cc mark. On hover a wave runs up the diagonal, the lower bar first, and both settle back into place */ +@keyframes logo-wave { + 35% { + translate: 30px -30px; + } + + 65% { + translate: -8px 8px; + } +} + .stats-logo { color: var(--c-logo); overflow: visible; } -.stats-logo path { - transition: translate 0.55s cubic-bezier(0.34, 1.56, 0.64, 1); -} - -.stats-logo path:last-child { - transition-delay: 60ms; +.group:hover .stats-logo path { + animation: logo-wave 0.75s cubic-bezier(0.37, 0, 0.63, 1); } .group:hover .stats-logo path:first-child { - translate: 34px -34px; -} - -.group:hover .stats-logo path:last-child { - translate: -34px 34px; + animation-delay: 110ms; } @media (prefers-reduced-motion: reduce) { @@ -149,12 +151,11 @@ body { animation: none; } - .portrait, - .stats-logo path { + .portrait { transition: none; } .group:hover .stats-logo path { - translate: none; + animation: none; } } From 61cc30b156a35c6fdd8c49895f457a0cbe8d9733 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 18:04:12 +0000 Subject: [PATCH 15/27] feat: lowercase stats.cc in hero and ripple the logo on hover --- src/data.ts | 2 +- src/style.css | 21 +++++++++++++-------- 2 files changed, 14 insertions(+), 9 deletions(-) diff --git a/src/data.ts b/src/data.ts index adb2154..a537486 100644 --- a/src/data.ts +++ b/src/data.ts @@ -27,7 +27,7 @@ export interface School { export const profile = { name: "George Miles", - role: "Owner, Stats.cc", + role: "Owner, stats.cc", companyUrl: "https://stats.cc", description: "George Miles, owner of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", diff --git a/src/style.css b/src/style.css index d35d110..f48f00a 100644 --- a/src/style.css +++ b/src/style.css @@ -118,14 +118,14 @@ body { transition: transform 0.7s cubic-bezier(0.34, 1.3, 0.64, 1); } -/* Stats.cc mark. On hover a wave runs up the diagonal, the lower bar first, and both settle back into place */ -@keyframes logo-wave { - 35% { - translate: 30px -30px; +/* Stats.cc mark. On hover a ripple runs up the diagonal, the lower bar first. Each bar nudges along its axis and pulses, then settles */ +@keyframes logo-ripple { + 30% { + transform: translate(10px, -10px) scale(1.16); } - 65% { - translate: -8px 8px; + 60% { + transform: translate(-3px, 3px) scale(0.95); } } @@ -134,12 +134,17 @@ body { overflow: visible; } +.stats-logo path { + transform-box: fill-box; + transform-origin: center; +} + .group:hover .stats-logo path { - animation: logo-wave 0.75s cubic-bezier(0.37, 0, 0.63, 1); + animation: logo-ripple 0.7s cubic-bezier(0.37, 0, 0.63, 1); } .group:hover .stats-logo path:first-child { - animation-delay: 110ms; + animation-delay: 120ms; } @media (prefers-reduced-motion: reduce) { From f2e6cacdce691c463cd4cefb4dfd83852f1cf291 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:13:53 +0000 Subject: [PATCH 16/27] feat: retitle stats.cc role to Managing Director and rewrite hero summary --- src/data.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/data.ts b/src/data.ts index a537486..36b2237 100644 --- a/src/data.ts +++ b/src/data.ts @@ -27,12 +27,12 @@ export interface School { export const profile = { name: "George Miles", - role: "Owner, stats.cc", + role: "Managing Director, stats.cc", companyUrl: "https://stats.cc", description: - "George Miles, owner of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", + "George Miles, Managing Director of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", summary: - "I own Stats.cc and still write a lot of the code behind it. I've built real-time pipelines that handle billions of events and the infrastructure that keeps them running, and these days I ship the product on top as well.", + "I start with the people using the product and work back to the code. I've built real-time pipelines that handle billions of events and the infrastructure that keeps them running, and these days I ship the product on top as well.", photoQuip: "Hey, you're too close to my face.", location: "England", timeZone: "Europe/London", @@ -74,7 +74,7 @@ export const stack: StackLayer[] = [ export const roles: Role[] = [ { company: "Stats.cc", - title: "Owner", + title: "Managing Director", period: "Oct 2026 – Present", location: "Remote, UK", summary: From 3d6ae690395587cbd3c7a153b329b085a479a67d Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:15:29 +0000 Subject: [PATCH 17/27] fix: say our product in hero summary --- src/data.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/data.ts b/src/data.ts index 36b2237..d690bf0 100644 --- a/src/data.ts +++ b/src/data.ts @@ -32,7 +32,7 @@ export const profile = { description: "George Miles, Managing Director of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", summary: - "I start with the people using the product and work back to the code. I've built real-time pipelines that handle billions of events and the infrastructure that keeps them running, and these days I ship the product on top as well.", + "I start with the people using our product and work back to the code. I've built real-time pipelines that handle billions of events and the infrastructure that keeps them running, and these days I ship the product on top as well.", photoQuip: "Hey, you're too close to my face.", location: "England", timeZone: "Europe/London", From a8d7a769c40c2123a1fde5e820e904adb1470bb8 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:28:10 +0000 Subject: [PATCH 18/27] feat: refresh experience copy and focus each role on scroll --- src/components/ExperienceSection.astro | 57 +++++++++++++------------- src/data.ts | 24 +++++------ src/style.css | 43 ++++++++++++++++++- 3 files changed, 82 insertions(+), 42 deletions(-) diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro index fd445bd..5748c71 100644 --- a/src/components/ExperienceSection.astro +++ b/src/components/ExperienceSection.astro @@ -6,10 +6,10 @@ import Section from "./Section.astro"; * Groups consecutive roles at the same company so promotions read as one tenure */ const groupByCompany = (list: Role[]) => - list.reduce<{ company: string; location: string; roles: Role[] }[]>((groups, role) => { + list.reduce<{ company: string; roles: Role[] }[]>((groups, role) => { const last = groups.at(-1); if (last?.company === role.company) last.roles.push(role); - else groups.push({ company: role.company, location: role.location, roles: [role] }); + else groups.push({ company: role.company, roles: [role] }); return groups; }, []); @@ -28,39 +28,40 @@ const groups = groupByCompany(roles);
      {groups.map((group) => (
    1. -
      -

      {group.company}

      -

      {group.location}

      -
      +

      {group.company}

        {group.roles.map((role) => ( -
      1. +
      2. ))}
      diff --git a/src/data.ts b/src/data.ts index d690bf0..f5b7146 100644 --- a/src/data.ts +++ b/src/data.ts @@ -9,7 +9,6 @@ export interface Role { company: string; title: string; period: string; - location: string; summary: string; highlights: string[]; } @@ -76,60 +75,59 @@ export const roles: Role[] = [ company: "Stats.cc", title: "Managing Director", period: "Oct 2026 – Present", - location: "Remote, UK", summary: "Took over the business I helped build. Now leading everything from infrastructure, backend and frontend to product direction and business strategy, on a mission to give 250 million gamers the tools to track, analyse and improve their performance.", highlights: [ "Own product direction and business strategy end to end", "Still hands-on across infrastructure, backend and frontend", + "Implementing user feedback in real time", ], }, { company: "Stats.cc", title: "Founding Engineer", period: "Feb 2024 – Present", - location: "Remote, UK", summary: "Joined the founders after building a similar side project around the same time. Led backend architecture and built and ran all of the infrastructure, then moved into full stack to ship frontend features too.", highlights: [ - "25+ Rust microservices on production Kubernetes", + "25+ microservices on production Kubernetes", "Full system rewrite in Rust: 10x faster, ~20% cheaper", - "GitOps pipelines shipping releases in under 10 minutes", + "Databases holding tens of billions of records", + "GitOps pipelines shipping releases in under 7 minutes", ], }, { company: "Linkme", title: "Backend Engineer", period: "Apr – Jul 2025", - location: "Remote, UK", summary: - "Four-month contract architecting a TypeScript authentication service and integrating it with legacy systems, delivered while continuing to lead engineering at Stats.cc.", + "Architected a TypeScript authentication service and integrated it with legacy systems, delivered while continuing to lead engineering at Stats.cc.", highlights: [ "OAuth 2.0 + MFA, expanding login options from 1 to 4", "Replaced a brittle untyped flow with type-safe auth", + "Worked on a high-performance Rust service", ], }, { company: "Enthusiast Gaming", title: "Backend Engineer · Tabstats", period: "Mar 2022 – Jan 2023", - location: "Remote, UK", summary: "Engineered high-performance backend services powering real-time player statistics and analysis.", highlights: [ - "Real-time processing of 3B+ in-game events", - "Scaled the merged platform after the $11M Tabwire acquisition", + "Backend service ingesting 3B+ in-game events in real time", + "Built the app's match event processing and storage for fast local querying", ], }, { company: "Enthusiast Gaming", title: "Community Management · Tabwire", period: "Nov 2020 – Mar 2022", - location: "Remote, UK", summary: - "Joined Tabwire before the acquisition, providing responsive support across social accounts and forums, and built tooling for the team's moderation processes.", + "Provided responsive support across Tabwire's social accounts and forums, and built tooling for the team's moderation processes.", highlights: [ + "Improved the moderation pipeline", "User pain points from support later shaped backend priorities", - "Joined pre-acquisition; Tabwire sold to Enthusiast for $11M", + "Joined before Enthusiast Gaming acquired Tabwire for $11M", ], }, ]; diff --git a/src/style.css b/src/style.css index f48f00a..ec6b5f2 100644 --- a/src/style.css +++ b/src/style.css @@ -147,6 +147,45 @@ body { animation-delay: 120ms; } +/* Experience. Each role zooms up to full size and ink as it crosses the middle of the viewport, and its dot fills. Browsers without view timelines show everything at rest */ +@supports (animation-timeline: view()) { + .role { + view-timeline-name: --role; + } + + .role-body { + transform-origin: left center; + animation: role-focus linear both; + animation-timeline: --role; + } + + .role-dot { + animation: role-dot linear both; + animation-timeline: --role; + } +} + +@keyframes role-focus { + 0%, + 100% { + scale: 0.92; + opacity: 0.3; + } + + 42%, + 58% { + scale: 1; + opacity: 1; + } +} + +@keyframes role-dot { + 42%, + 58% { + background-color: var(--c-accent); + } +} + @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; @@ -160,7 +199,9 @@ body { transition: none; } - .group:hover .stats-logo path { + .group:hover .stats-logo path, + .role-body, + .role-dot { animation: none; } } From 2e827b3a9a2ba658e1e79785d7c196daa5fe8f0b Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:32:34 +0000 Subject: [PATCH 19/27] feat: type out the stack terminal, add terminal easter egg and stronger role focus --- CODE_STYLE.md | 4 +- src/components/ExperienceSection.astro | 4 +- src/components/StackSection.astro | 154 ++++++++++++++++++++++--- src/data.ts | 19 +++ src/style.css | 73 ++++++++++-- 5 files changed, 231 insertions(+), 23 deletions(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 5aec6a6..d22b826 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -68,8 +68,8 @@ Fonts are self-hosted through Astro's fonts API (`fonts` in `astro.config.ts`, ` Hex colors in CSS vars, defined in `src/style.css` (`:root` for light, `.dark` overrides) and exposed to Tailwind via `@theme inline`. Light/dark via `.dark` class on ``, applied pre-paint by the inline script in `Layout.astro`. Neutral grounds: soft off-white light theme (`#f6f6f4`), deep neutral charcoal dark theme (`#121212`). Orange is a precise accent for links, the primary button, role titles and small highlights. The stack terminal stays dark in both themes. -Semantic tokens: `bg`, `surface`, `ink` (text), `soft` (muted text), `line` (borders), `accent` (accent text, AA on `bg`), `accent-fill` (primary button fill), `on-accent` (text on `accent-fill`, white in light and charcoal in dark), `accent-soft`, `term` (terminal ground). Use these, never raw hex in components. Selection, focus rings, caret and scrollbar are themed from the same tokens in `style.css`. +Semantic tokens: `bg`, `surface`, `ink` (text), `soft` (muted text), `line` (borders), `accent` (accent text, AA on `bg`), `accent-fill` (primary button fill), `on-accent` (text on `accent-fill`, white in light and charcoal in dark), `term` (terminal ground), `term-accent` (terminal orange), `logo` (the stats.cc mark's dark half). Use these, never raw hex in components. Selection, focus rings, caret and scrollbar are themed from the same tokens in `style.css`. ## Motion -One authored moment: the hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. +The hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Experience roles zoom into focus on scroll through a CSS view timeline, with a terminal cursor on the role in focus. The stack terminal types its command out on first view and its last prompt takes commands (replies live in `terminal` in `src/data.ts`). The portrait flips on hover and the stats.cc mark ripples. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro index 5748c71..7b4afac 100644 --- a/src/components/ExperienceSection.astro +++ b/src/components/ExperienceSection.astro @@ -39,7 +39,9 @@ const groups = groupByCompany(roles); />
      -

      {role.title}

      +

      + {role.title} +

      {role.period}

      {role.summary}

      diff --git a/src/components/StackSection.astro b/src/components/StackSection.astro index 6076859..b140771 100644 --- a/src/components/StackSection.astro +++ b/src/components/StackSection.astro @@ -1,11 +1,16 @@ --- -import { stack } from "@/data"; +import { stack, terminal } from "@/data"; import Section from "./Section.astro"; + +const command = "tree ./career"; ---
      - -
      + +
      @@ -15,15 +20,21 @@ import Section from "./Section.astro";

      - $ tree ./career --sort started + $ {command} --sort started +

      {stack.map((layer, i) => ( -
      +

      {i === stack.length - 1 ? "└── " : "├── "} - {layer.name} + {layer.name} # {layer.note}

      @@ -38,13 +49,130 @@ import Section from "./Section.astro"; ))}

      -

      - $ - -

      +
      + +
      + + +
      + + diff --git a/src/data.ts b/src/data.ts index f5b7146..1dfc4a7 100644 --- a/src/data.ts +++ b/src/data.ts @@ -70,6 +70,25 @@ export const stack: StackLayer[] = [ }, ]; +// Replies for the stack terminal easter egg. Lines that are URLs render as links +export const terminal: Record = { + help: [ + "whoami who is this", + "ls list sections", + "cd jump to a section", + "hire book a free call", + "clear clear the screen", + ], + whoami: ["George Miles, Managing Director at stats.cc"], + ls: ["experience stack education hire"], + hire: ["Free 30 minute consultation, no commitment:", "https://cal.com/gmiles"], + "sudo hire george": ["[sudo] password for visitor: ********", "Access granted.", "https://cal.com/gmiles"], + "rm -rf /": ["Nice try."], + exit: ["There is no escape. Try hire instead."], + coffee: ["418 I'm a teapot"], + vim: ["You are now trapped. Just kidding, this is not vim."], +}; + export const roles: Role[] = [ { company: "Stats.cc", diff --git a/src/style.css b/src/style.css index ec6b5f2..17761dc 100644 --- a/src/style.css +++ b/src/style.css @@ -18,6 +18,7 @@ --c-accent-fill-hover: #a83c0a; --c-on-accent: #ffffff; --c-term: #171716; + --c-term-accent: #ff8c42; --c-logo: #1e1e1e; color-scheme: light; } @@ -33,6 +34,7 @@ --c-accent-fill-hover: #f07a43; --c-on-accent: #121212; --c-term: #0b0b0b; + --c-term-accent: #ff8c42; --c-logo: #ffffff; color-scheme: dark; } @@ -48,6 +50,7 @@ --color-accent-fill-hover: var(--c-accent-fill-hover); --color-on-accent: var(--c-on-accent); --color-term: var(--c-term); + --color-term-accent: var(--c-term-accent); } html { @@ -163,25 +166,76 @@ body { animation: role-dot linear both; animation-timeline: --role; } + + /* A terminal cursor after the title, shown while the role is in focus */ + .role-title::after { + content: ""; + display: inline-block; + width: 0.5em; + height: 1.05em; + margin-left: 0.3em; + translate: 0 0.18em; + background-color: currentColor; + animation: + role-cursor linear both, + blink 1.1s steps(1) infinite; + animation-timeline: --role, auto; + } +} + +@keyframes role-cursor { + 0%, + 34%, + 66%, + 100% { + scale: 0 1; + } + + 36%, + 64% { + scale: 1; + } +} + +@keyframes blink { + 50% { + opacity: 0; + } +} + +/* Stack terminal. Lines held back until the command has typed out */ +[data-term-reveal] { + transition: + opacity 0.35s ease, + translate 0.35s ease; +} + +.term-input:focus-visible { + outline: none; +} + +.term-hidden { + opacity: 0; + translate: 0 4px; } @keyframes role-focus { 0%, 100% { - scale: 0.92; - opacity: 0.3; + scale: 0.88; + opacity: 0.25; } - 42%, - 58% { + 36%, + 64% { scale: 1; opacity: 1; } } @keyframes role-dot { - 42%, - 58% { + 36%, + 64% { background-color: var(--c-accent); } } @@ -201,7 +255,12 @@ body { .group:hover .stats-logo path, .role-body, - .role-dot { + .role-dot, + .role-title::after { animation: none; } + + .role-title::after { + display: none; + } } From 83ab64ef3d103777c638c353397b4fd49a90c491 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:37:49 +0000 Subject: [PATCH 20/27] feat: turn experience into a scroll timeline with rail fill and stronger zoom --- CODE_STYLE.md | 2 +- src/components/ExperienceSection.astro | 8 +-- src/style.css | 88 +++++++++++--------------- 3 files changed, 42 insertions(+), 56 deletions(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index d22b826..359fb4a 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -72,4 +72,4 @@ Semantic tokens: `bg`, `surface`, `ink` (text), `soft` (muted text), `line` (bor ## Motion -The hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Experience roles zoom into focus on scroll through a CSS view timeline, with a terminal cursor on the role in focus. The stack terminal types its command out on first view and its last prompt takes commands (replies live in `terminal` in `src/data.ts`). The portrait flips on hover and the stats.cc mark ripples. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. +The hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Experience reads as a scroll timeline through CSS view timelines: the rail fills to the middle of the viewport, dots light as it reaches them, and the role at the middle zooms into focus. The stack terminal types its command out on first view and its last prompt takes commands (replies live in `terminal` in `src/data.ts`). The portrait flips on hover and the stats.cc mark ripples. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro index 7b4afac..bc271d0 100644 --- a/src/components/ExperienceSection.astro +++ b/src/components/ExperienceSection.astro @@ -27,10 +27,10 @@ const groups = groupByCompany(roles);
        {groups.map((group) => ( -
      1. +
      2. {group.company}

        -
          +
            {group.roles.map((role) => (
          1. -

            - {role.title} -

            +

            {role.title}

            {role.period}

            {role.summary}

            diff --git a/src/style.css b/src/style.css index 17761dc..9344d91 100644 --- a/src/style.css +++ b/src/style.css @@ -150,8 +150,22 @@ body { animation-delay: 120ms; } -/* Experience. Each role zooms up to full size and ink as it crosses the middle of the viewport, and its dot fills. Browsers without view timelines show everything at rest */ +/* Experience timeline. The rail fills with accent up to the middle of the viewport as you scroll, each dot lights as the fill reaches it, and the role at the middle zooms into focus while its neighbours recede. Browsers without view timelines show everything at rest */ @supports (animation-timeline: view()) { + .role-rail::before { + content: ""; + position: absolute; + top: 0; + bottom: 0; + left: -1.5px; + width: 2px; + background-color: var(--c-accent); + transform-origin: top; + animation: rail-fill linear both; + animation-timeline: view(); + animation-range: cover 50vh cover calc(100% - 50vh); + } + .role { view-timeline-name: --role; } @@ -164,42 +178,41 @@ body { .role-dot { animation: role-dot linear both; - animation-timeline: --role; + animation-timeline: view(); } +} - /* A terminal cursor after the title, shown while the role is in focus */ - .role-title::after { - content: ""; - display: inline-block; - width: 0.5em; - height: 1.05em; - margin-left: 0.3em; - translate: 0 0.18em; - background-color: currentColor; - animation: - role-cursor linear both, - blink 1.1s steps(1) infinite; - animation-timeline: --role, auto; +@keyframes rail-fill { + from { + scale: 1 0; } } -@keyframes role-cursor { +@keyframes role-focus { 0%, - 34%, - 66%, 100% { - scale: 0 1; + scale: 0.82; + opacity: 0.18; } - 36%, - 64% { + 38%, + 62% { scale: 1; + opacity: 1; } } -@keyframes blink { - 50% { - opacity: 0; +@keyframes role-dot { + 0%, + 48% { + background-color: var(--c-bg); + box-shadow: 0 0 0 0 transparent; + } + + 52%, + 100% { + background-color: var(--c-accent); + box-shadow: 0 0 0 4px color-mix(in srgb, var(--c-accent) 25%, transparent); } } @@ -219,27 +232,6 @@ body { translate: 0 4px; } -@keyframes role-focus { - 0%, - 100% { - scale: 0.88; - opacity: 0.25; - } - - 36%, - 64% { - scale: 1; - opacity: 1; - } -} - -@keyframes role-dot { - 36%, - 64% { - background-color: var(--c-accent); - } -} - @media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; @@ -256,11 +248,7 @@ body { .group:hover .stats-logo path, .role-body, .role-dot, - .role-title::after { + .role-rail::before { animation: none; } - - .role-title::after { - display: none; - } } From 088b2b2d54271bc16c63ccf07b6db2df9a80d5cf Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:40:52 +0000 Subject: [PATCH 21/27] feat: fill experience rail per role and give the terminal a fixed scrollback --- CODE_STYLE.md | 2 +- src/components/ExperienceSection.astro | 54 ++++++++--------- src/components/StackSection.astro | 7 ++- src/style.css | 80 +++++++++++++------------- 4 files changed, 75 insertions(+), 68 deletions(-) diff --git a/CODE_STYLE.md b/CODE_STYLE.md index 359fb4a..24e1a4e 100644 --- a/CODE_STYLE.md +++ b/CODE_STYLE.md @@ -72,4 +72,4 @@ Semantic tokens: `bg`, `surface`, `ink` (text), `soft` (muted text), `line` (bor ## Motion -The hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Experience reads as a scroll timeline through CSS view timelines: the rail fills to the middle of the viewport, dots light as it reaches them, and the role at the middle zooms into focus. The stack terminal types its command out on first view and its last prompt takes commands (replies live in `terminal` in `src/data.ts`). The portrait flips on hover and the stats.cc mark ripples. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. +The hero settles in on load through `.settle`, a short opacity, rise and unblur with an exponential ease-out, staggered by an inline `--i` index. Experience reads as a scroll timeline through CSS view timelines: each rail segment fills as the next role reaches the middle of the screen, and each dot lights as it crosses the middle. The stack terminal types its command out on first view and its last prompt takes commands (replies live in `terminal` in `src/data.ts`). The portrait flips on hover and the stats.cc mark ripples. Everything else is static apart from small hover transitions. All animation is disabled under `prefers-reduced-motion`. diff --git a/src/components/ExperienceSection.astro b/src/components/ExperienceSection.astro index bc271d0..12d54cc 100644 --- a/src/components/ExperienceSection.astro +++ b/src/components/ExperienceSection.astro @@ -27,41 +27,41 @@ const groups = groupByCompany(roles);
              {groups.map((group) => ( -
            1. +
            2. {group.company}

              -
                +
                  {group.roles.map((role) => ( -
                1. +
                2. + {/* Rail segment from this dot down to the next one. Fills as the next role reaches the middle of the screen */} +
                3. ))}
                diff --git a/src/components/StackSection.astro b/src/components/StackSection.astro index b140771..8d2406e 100644 --- a/src/components/StackSection.astro +++ b/src/components/StackSection.astro @@ -18,7 +18,10 @@ const command = "tree ./career"; george@gmiles: ~/stack
            -
            +

            $ {command} --sort started

            {school.subjects.map(({ subject, grade }) => ( -
            +
            {subject}
            -
            {grade}
            +
            + {grade} +
            ))}
            @@ -34,8 +41,12 @@ import Section from "./Section.astro"; {school.awards && (
              - {school.awards.map((award) => ( -
            • + {school.awards.map((award, i) => ( +
            • - {award} + + {award.name} + + + {award.about} +
            • ))}
            diff --git a/src/data.ts b/src/data.ts index 1dfc4a7..42df5ee 100644 --- a/src/data.ts +++ b/src/data.ts @@ -21,7 +21,7 @@ export interface School { headline: string; headlineNote: string; subjects?: { subject: string; grade: string }[]; - awards?: string[]; + awards?: { name: string; about: string }[]; } export const profile = { @@ -170,20 +170,33 @@ export const schools: School[] = [ name: "Henley Business School", qualification: "BSc Entrepreneurship · University of Reading", period: "2023 – 2026", - detail: "Business strategy, finance, and team management, studied alongside full-time engineering work.", + detail: "Graduated top of my class, studying business strategy, finance and team management alongside full-time engineering work.", headline: "First", headlineNote: "Honours", awards: [ - "Best Overall Performance Business", - "Best Business and Management Student (Entrepreneurship and Innovation)", - "Dean's Excellence Award Entrepreneurship", - "Henley Greenshoots Seed Finance Award 2026", + { + name: "Best Overall Performance Business", + about: "Awarded to the student with the strongest overall results across the business programme.", + }, + { + name: "Best Business and Management Student (Entrepreneurship and Innovation)", + about: "The top student on the Entrepreneurship and Innovation pathway.", + }, + { + name: "Dean's Excellence Award Entrepreneurship", + about: "The Dean's award for outstanding achievement in entrepreneurship.", + }, + { + name: "Henley Greenshoots Seed Finance Award 2026", + about: "Seed funding from Henley's Greenshoots programme, which backs promising student ventures.", + }, ], }, { name: "Bexhill College", qualification: "A-Levels", period: "2020 – 2022", + detail: "Where it all started. I landed my first freelance dev work here, and building side projects is what sparked my interest in business.", headline: "AAB", headlineNote: "A-Levels", subjects: [ diff --git a/src/style.css b/src/style.css index d3b9b35..56ccb44 100644 --- a/src/style.css +++ b/src/style.css @@ -150,7 +150,7 @@ body { animation-delay: 120ms; } -/* Experience timeline. Each segment of the rail runs from one dot to the next and fills as the next role reaches the middle of the screen, and each dot lights as it crosses the middle. Browsers without view timelines show the plain rail */ +/* Experience timeline. Each segment of the rail runs from one dot to the next (or to the end of the last role) and fills as the next role reaches the middle of the screen, and each dot lights as it crosses the middle. Browsers without view timelines show the plain rail */ .role-seg { position: absolute; top: 0.88rem; @@ -168,8 +168,9 @@ body { background-color: var(--c-line); } +/* The last role in a company has no next dot, so its segment runs to the end of the role */ li:last-child > .role-seg { - display: none; + bottom: 0; } .role-seg-fill { From e0f888731259402d603a985aba15ee19f4ae15e8 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:48:02 +0000 Subject: [PATCH 23/27] feat: colour education headlines and mention stats.cc at Henley --- src/components/EducationSection.astro | 13 +++---------- src/data.ts | 4 ++-- 2 files changed, 5 insertions(+), 12 deletions(-) diff --git a/src/components/EducationSection.astro b/src/components/EducationSection.astro index 8a8b80f..14d8739 100644 --- a/src/components/EducationSection.astro +++ b/src/components/EducationSection.astro @@ -15,7 +15,7 @@ import Section from "./Section.astro";

            - + {school.headline} {school.headlineNote} @@ -24,16 +24,9 @@ import Section from "./Section.astro"; {school.subjects && (

            {school.subjects.map(({ subject, grade }) => ( -
            +
            {subject}
            -
            - {grade} -
            +
            {grade}
            ))}
            diff --git a/src/data.ts b/src/data.ts index 42df5ee..50d6bcd 100644 --- a/src/data.ts +++ b/src/data.ts @@ -170,13 +170,13 @@ export const schools: School[] = [ name: "Henley Business School", qualification: "BSc Entrepreneurship · University of Reading", period: "2023 – 2026", - detail: "Graduated top of my class, studying business strategy, finance and team management alongside full-time engineering work.", + detail: "Graduated top of my class, studying business strategy, finance and team management while building Stats.cc.", headline: "First", headlineNote: "Honours", awards: [ { name: "Best Overall Performance Business", - about: "Awarded to the student with the strongest overall results across the business programme.", + about: "Awarded by the Dean for the best overall academic performance across the business programme.", }, { name: "Best Business and Management Student (Entrepreneurship and Innovation)", From 3a574a6d3ed28661e24e9ffd2a5335a06ef473d5 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:48:56 +0000 Subject: [PATCH 24/27] fix: default cursor on award hover --- src/components/EducationSection.astro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/EducationSection.astro b/src/components/EducationSection.astro index 14d8739..4d65804 100644 --- a/src/components/EducationSection.astro +++ b/src/components/EducationSection.astro @@ -36,7 +36,7 @@ import Section from "./Section.astro";
              {school.awards.map((award, i) => (
            • From f8f104d2e7cac1d2c0dc6b7bcf3c8b18a6093a71 Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:53:38 +0000 Subject: [PATCH 25/27] fix: harden terminal commands, live clock, award ids and footer year --- src/components/EducationSection.astro | 6 +++--- src/components/HeroSection.astro | 2 +- src/components/SiteFooter.astro | 7 ++++++- src/components/StackSection.astro | 9 +++++---- src/style.css | 4 +++- 5 files changed, 18 insertions(+), 10 deletions(-) diff --git a/src/components/EducationSection.astro b/src/components/EducationSection.astro index 4d65804..82f08e2 100644 --- a/src/components/EducationSection.astro +++ b/src/components/EducationSection.astro @@ -5,7 +5,7 @@ import Section from "./Section.astro";
              - {schools.map((school) => ( + {schools.map((school, s) => (

              {school.name}

              @@ -38,7 +38,7 @@ import Section from "./Section.astro";
            • diff --git a/src/components/HeroSection.astro b/src/components/HeroSection.astro index ff44f7d..260ff02 100644 --- a/src/components/HeroSection.astro +++ b/src/components/HeroSection.astro @@ -190,5 +190,5 @@ const [title, org] = profile.role.split(", "); }; tick(); - setInterval(tick, 30_000); + setInterval(tick, 1000); diff --git a/src/components/SiteFooter.astro b/src/components/SiteFooter.astro index 2c619c5..f9c8404 100644 --- a/src/components/SiteFooter.astro +++ b/src/components/SiteFooter.astro @@ -37,7 +37,7 @@ const legal = [

              - © {new Date().getFullYear()} {profile.name} + © {new Date().getFullYear()} {profile.name}

            • + + diff --git a/src/components/StackSection.astro b/src/components/StackSection.astro index 8d2406e..1fa4929 100644 --- a/src/components/StackSection.astro +++ b/src/components/StackSection.astro @@ -136,21 +136,22 @@ const command = "tree ./career"; */ const run = (raw) => { const cmd = raw.trim().replace(/\s+/g, " "); + const key = cmd.toLowerCase(); if (!cmd) return; print([`$ ${cmd}`], true); - if (cmd === "clear") { + if (key === "clear") { output.replaceChildren(); return; } - const dir = cmd.match(/^cd (?:\.\/|~\/)?(\w+)\/?$/)?.[1]; + const dir = key.match(/^cd (?:\.\/|~\/)?(\w+)\/?$/)?.[1]; if (dir && sections.includes(dir)) { print([`Jumping to ~/${dir}`]); document.getElementById(dir)?.scrollIntoView({ behavior: "smooth" }); return; } - print(terminal[cmd.toLowerCase()] ?? [`command not found: ${cmd.split(" ")[0]}. Try help`]); + print(Object.hasOwn(terminal, key) ? terminal[key] : [`command not found: ${cmd.split(" ")[0]}. Try help`]); }; form?.addEventListener("submit", (event) => { @@ -176,7 +177,7 @@ const command = "tree ./career"; observer.disconnect(); play(); }, - { threshold: 0.5 }, + { rootMargin: "0px 0px -30% 0px" }, ); observer.observe(term); } diff --git a/src/style.css b/src/style.css index 56ccb44..949d30e 100644 --- a/src/style.css +++ b/src/style.css @@ -224,7 +224,8 @@ li:last-child > .role-seg { [data-term-reveal] { transition: opacity 0.35s ease, - translate 0.35s ease; + translate 0.35s ease, + visibility 0.35s; } .term-input:focus-visible { @@ -234,6 +235,7 @@ li:last-child > .role-seg { .term-hidden { opacity: 0; translate: 0 4px; + visibility: hidden; } @media (prefers-reduced-motion: reduce) { From effef95b3cba072a0ce58919685306ea696f717e Mon Sep 17 00:00:00 2001 From: t3ned Date: Thu, 12 Nov 2026 19:53:38 +0000 Subject: [PATCH 26/27] feat: add structured data, sitemap, robots and per-page meta for SEO --- astro.config.ts | 2 ++ bun.lock | 17 +++++++++++++++++ package.json | 1 + public/robots.txt | 4 +++- src/data.ts | 12 ++++++++---- src/layouts/Layout.astro | 38 ++++++++++++++++++++++++++++++++------ src/pages/404.astro | 2 +- src/pages/[slug].astro | 5 ++++- src/pages/index.astro | 2 +- 9 files changed, 69 insertions(+), 14 deletions(-) diff --git a/astro.config.ts b/astro.config.ts index ebd04e5..3a9c297 100644 --- a/astro.config.ts +++ b/astro.config.ts @@ -1,3 +1,4 @@ +import sitemap from "@astrojs/sitemap"; import tailwindcss from "@tailwindcss/vite"; import { defineConfig, fontProviders } from "astro/config"; @@ -5,6 +6,7 @@ export default defineConfig({ site: "https://gmiles.dev", // Emit privacy.html rather than privacy/index.html so /privacy is served without a trailing slash redirect build: { format: "file" }, + integrations: [sitemap({ filter: (page) => !page.includes("404") })], vite: { plugins: [tailwindcss()] }, // Downloaded at build time and served from this site, so visitors never hit Google fonts: [ diff --git a/bun.lock b/bun.lock index 58512a8..95f354a 100644 --- a/bun.lock +++ b/bun.lock @@ -5,6 +5,7 @@ "": { "name": "gmiles.dev", "dependencies": { + "@astrojs/sitemap": "^3.7.4", "astro": "^7.4.11", }, "devDependencies": { @@ -57,6 +58,8 @@ "@astrojs/runtime": ["@astrojs/runtime@0.1.1", "", { "dependencies": { "@oslojs/encoding": "^1.1.0", "clsx": "^2.1.1" } }, "sha512-2Tr9IJ4aQBPDFzlSLq139eWS9OZnuhL0yU2al8cCpnTE/RszygSyGIP8piBmEio1zDUaItb/+YxxsrmldUCBmg=="], + "@astrojs/sitemap": ["@astrojs/sitemap@3.7.4", "", { "dependencies": { "sitemap": "^9.0.0", "zod": "^4.3.6" } }, "sha512-LbKNC24bdUWcQf/pThB6qLlSqHojxGjZDURIzFocY8rlWnAn2t74nnhnK6S5x0NHriHoAduLEpVjRykmeGiVvA=="], + "@astrojs/telemetry": ["@astrojs/telemetry@3.4.2", "", { "dependencies": { "ci-info": "^4.4.0", "dset": "^3.1.4", "is-docker": "^4.0.0", "package-manager-detector": "^1.9.0" } }, "sha512-2JOMRUxJrBSfiVDfeKLv1wBmvSIx1Y6u2YEO8awZ9qSq3u/rNAiUyFdOYi8dHv91kHrmYEQX7pRDw0J4xyj3UA=="], "@astrojs/vite-plugin-astro": ["@astrojs/vite-plugin-astro@0.1.2", "", { "dependencies": { "@astrojs/compiler-rs": "^0.5.1", "@astrojs/internal-helpers": "0.13.2", "@astrojs/runtime": "0.1.1", "common-ancestor-path": "^2.0.0", "devalue": "^6.0.2", "magic-string": "^1.4.2", "rolldown": "~1.2.16", "smol-toml": "^1.9.0", "zod": "^4.6.5" }, "peerDependencies": { "vite": "^8.3.3" } }, "sha512-tDlT8Gp6fX3Km7yGeZSG1xaPfVhcXgmYHp/lKcXf3Rc3fZF4NTeWMwtXVbJy40lvrD7iDxpXN7vAHH2tQSZGWg=="], @@ -357,6 +360,10 @@ "@types/nlcst": ["@types/nlcst@2.0.3", "", { "dependencies": { "@types/unist": "*" } }, "sha512-vSYNSDe6Ix3q+6Z7ri9lyWqgGhJTmzRjZRqyq15N0Z/1/UnVsno9G/N40NBijoYx2seFDIl0+B2mgAb9mezUCA=="], + "@types/node": ["@types/node@24.19.2", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-93d49wCWJkCyN87MxLpNN6KXPCwFw7bVUg79mGUV1OS40JGWwVCr8n61DXCSqz7CV6/VfPkb7xec7uP2M+QHWQ=="], + + "@types/sax": ["@types/sax@1.2.7", "", { "dependencies": { "@types/node": "*" } }, "sha512-rO73L89PJxeYM3s3pPPjiPgVVcymqU490g0YO5n5By0k2Erzj6tay/4lr1CHAAU4JyOWd1rpQ8bCf6cZfHU96A=="], + "@types/unist": ["@types/unist@3.0.3", "", {}, "sha512-ko/gIFJRv177XgZsZcBwnqJN5x/Gien8qNOn0D5bQU/zAzVf9Zt3BlcUiLqhV9y4ARk0GbT3tnUiPNgnTXzc/Q=="], "@ungap/structured-clone": ["@ungap/structured-clone@1.4.0", "", {}, "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ=="], @@ -391,6 +398,8 @@ "anymatch": ["anymatch@3.1.3", "", { "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" } }, "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw=="], + "arg": ["arg@5.0.2", "", {}, "sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg=="], + "aria-query": ["aria-query@5.3.2", "", {}, "sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw=="], "astro": ["astro@7.4.11", "", { "dependencies": { "@astrojs/compiler-rs": "^0.5.2", "@astrojs/internal-helpers": "0.13.2", "@astrojs/markdown-satteri": "0.4.9", "@astrojs/runtime": "0.1.1", "@astrojs/telemetry": "3.4.2", "@astrojs/vite-plugin-astro": "0.1.2", "@capsizecss/unpack": "^4.0.1", "@clack/prompts": "^1.8.1", "@oslojs/encoding": "^1.1.0", "am-i-vibing": "^0.5.0", "aria-query": "^5.3.2", "axobject-query": "^4.1.0", "ci-info": "^4.4.0", "cookie": "^2.0.2", "devalue": "^6.0.3", "diff": "^9.0.0", "dset": "^3.1.4", "es-module-lexer": "^3.0.4", "flattie": "^1.1.1", "fontace": "~0.4.1", "get-tsconfig": "5.0.0-beta.6", "github-slugger": "^2.0.0", "html-escaper": "3.0.3", "http-cache-semantics": "^4.3.0", "jsonc-parser": "^3.3.1", "magic-string": "^1.4.5", "magicast": "^0.5.5", "mri": "^1.2.0", "mrmime": "^2.0.1", "neotraverse": "^1.0.1", "obug": "^3.0.0", "p-limit": "^7.3.3", "p-queue": "^10.0.0", "package-manager-detector": "^1.9.0", "piccolore": "^0.1.3", "picomatch": "^4.0.7", "rolldown": "~1.2.16", "shiki": "^4.6.0", "smol-toml": "^1.9.1", "svgo": "^4.1.0", "tinyclip": "^1.0.3", "tinyexec": "^1.3.1", "tinyglobby": "^0.2.17", "tinyps": "^0.5.1", "ultrahtml": "^1.7.0", "unifont": "^1.0.3", "unstorage": "^1.17.6", "verkit": "^0.5.0", "vite": "^8.3.6", "vitefu": "^1.1.3", "xxhash-wasm": "^1.1.0", "zod": "^4.6.7" }, "optionalDependencies": { "sharp": "^0.35.4" }, "peerDependencies": { "@astrojs/markdown-remark": "^7.3.0" }, "optionalPeers": ["@astrojs/markdown-remark"], "bin": { "astro": "./bin/astro.mjs" } }, "sha512-c8gibLFCnzuXCXqsvTiMXbjCnuIjxGhWw6TO5n11cXzNrw36P3ZgBzsOoRUR4raG1r6cKWeE5oXQu4F3GCBofg=="], @@ -663,6 +672,8 @@ "sisteransi": ["sisteransi@2.0.0", "", {}, "sha512-2WCqLdt12eN6ehLI50S2/ZxoowXU3DD1KVPRyVP0WEsFahrGZZmCdq1K59qjJljMRIDTwx1D9YaRK+hDneBUMg=="], + "sitemap": ["sitemap@9.0.1", "", { "dependencies": { "@types/node": "^24.9.2", "@types/sax": "^1.2.1", "arg": "^5.0.0", "sax": "^1.4.1" }, "bin": { "sitemap": "dist/esm/cli.js" } }, "sha512-S6hzjGJSG3d6if0YoF5kTyeRJvia6FSTBroE5fQ0bu1QNxyJqhhinfUsXi9fH3MgtXODWvwo2BDyQSnhPQ88uQ=="], + "smol-toml": ["smol-toml@1.9.1", "", {}, "sha512-j7WyPdf0CJoutMzMoPLF/bVXHtKZIT9Rb4eGeEbWw8X2t5oirjPgpL+OpaENZrILYaXqYwnVH+qgUwVbl+pUJQ=="], "source-map-js": ["source-map-js@1.2.2", "", {}, "sha512-KGj/8Y43x35aZVDtt+J4mK1hoLGHULMYfSkODJNQjNDC3oW1PqPoxMwo0pLUsWM/UEGzON/NxeHywEfNXNP3Vw=="], @@ -715,6 +726,8 @@ "undici": ["undici@8.12.4", "", {}, "sha512-8Mx+uNKKER2bA4AdtedkqRbwUCIJFr2nJckXRe5yrDqzePqwLP7VNcctN8/XdmDSbF7mS+jJKIszlL+vbam1VA=="], + "undici-types": ["undici-types@7.24.6", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="], + "unified": ["unified@11.0.5", "", { "dependencies": { "@types/unist": "^3.0.0", "bail": "^2.0.0", "devlop": "^1.0.0", "extend": "^3.0.0", "is-plain-obj": "^4.0.0", "trough": "^2.0.0", "vfile": "^6.0.0" } }, "sha512-xKvGhPWw3k84Qjh8bI3ZeJjqnyadK+GEFtazSfZv/rKeTkTjOJho6mFqh2SM96iIcZokxiOpg78GazTSg8+KHA=="], "unifont": ["unifont@1.0.3", "", { "dependencies": { "css-tree": "^3.1.0", "fnv1a-64": "^0.1.2", "std-env": "^4.2.0", "undici": "^8.0.0" } }, "sha512-XGnEwj5sWdCbiBX01mWLSBncS0yMRjnLygau3IfdOlfjMacNIQvTGW4VH7pWBq+gGWArfSef/CensMLjMmIr/A=="], @@ -821,6 +834,8 @@ "@tailwindcss/oxide-wasm32-wasi/tslib": ["tslib@2.8.1", "", { "bundled": true }, "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w=="], + "@types/sax/@types/node": ["@types/node@26.6.6", "", { "dependencies": { "undici-types": "~8.9.0" } }, "sha512-MzQj+8Kx3XI40OmUAE6Qoh58ZMNstNNMwn2nfd3qWsfe7nDNSqJNzes4njhz6AHwrSHOffSLwXU6yb474Q4aog=="], + "@vscode/emmet-helper/jsonc-parser": ["jsonc-parser@2.3.1", "", {}, "sha512-H8jvkz1O50L3dMZCsLqiuB2tA7muqbSg1AtGEkN0leAqGjsUzDJir3Zwr02BhqdcITPg3ei3mZ+HjMocAknhhg=="], "anymatch/picomatch": ["picomatch@2.3.2", "", {}, "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA=="], @@ -849,6 +864,8 @@ "@rolldown/binding-wasm32-wasi/@emnapi/core/@emnapi/wasi-threads": ["@emnapi/wasi-threads@2.2.0", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-JP7OYH38Q7+pyTAe14raZHLQIK7BDKbdwji+Xi3pcd/6QkJYQH3SX4wu6EplGrGJWRepoNzedfm0G3B9Z4e9Rw=="], + "@types/sax/@types/node/undici-types": ["undici-types@8.9.0", "", {}, "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg=="], + "csso/css-tree/mdn-data": ["mdn-data@2.0.28", "", {}, "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g=="], "csso/css-tree/source-map-js": ["source-map-js@1.2.1", "", {}, "sha512-UXWMKhLOwVKb728IUtQPXxfYU+usdybtUrK/8uGE8CQMvrhOpwvzDBwj0QhSL7MQc7vIsISBG8VQ8+IDQxpfQA=="], diff --git a/package.json b/package.json index 68bf5c6..f1d0e5d 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "preview": "bun --bun astro preview" }, "dependencies": { + "@astrojs/sitemap": "^3.7.4", "astro": "^7.4.11" }, "devDependencies": { diff --git a/public/robots.txt b/public/robots.txt index a84b748..8266b72 100644 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,2 +1,4 @@ User-agent: * -Disallow: /assets/images/ +Allow: / + +Sitemap: https://gmiles.dev/sitemap-index.xml diff --git a/src/data.ts b/src/data.ts index 50d6bcd..d801014 100644 --- a/src/data.ts +++ b/src/data.ts @@ -24,12 +24,16 @@ export interface School { awards?: { name: string; about: string }[]; } +const bookingUrl = "https://cal.com/gmiles"; + export const profile = { name: "George Miles", role: "Managing Director, stats.cc", companyUrl: "https://stats.cc", + // Search result title and snippet for the home page + metaTitle: "George Miles · Engineer & Managing Director, stats.cc", description: - "George Miles, Managing Director of Stats.cc and a backend-first engineer working the full stack. Rust, distributed systems and modern frontend. Book a free 30 minute consultation.", + "George Miles, Managing Director of stats.cc and a backend-first full-stack engineer. Rust, distributed systems and modern frontend. Free 30 minute consultation.", summary: "I start with the people using our product and work back to the code. I've built real-time pipelines that handle billions of events and the infrastructure that keeps them running, and these days I ship the product on top as well.", photoQuip: "Hey, you're too close to my face.", @@ -81,8 +85,8 @@ export const terminal: Record = { ], whoami: ["George Miles, Managing Director at stats.cc"], ls: ["experience stack education hire"], - hire: ["Free 30 minute consultation, no commitment:", "https://cal.com/gmiles"], - "sudo hire george": ["[sudo] password for visitor: ********", "Access granted.", "https://cal.com/gmiles"], + hire: ["Free 30 minute consultation, no commitment:", bookingUrl], + "sudo hire george": ["[sudo] password for visitor: ********", "Access granted.", bookingUrl], "rm -rf /": ["Nice try."], exit: ["There is no escape. Try hire instead."], coffee: ["418 I'm a teapot"], @@ -152,7 +156,7 @@ export const roles: Role[] = [ ]; export const contracting = { - bookingUrl: "https://cal.com/gmiles", + bookingUrl, title: "Need something built?", pitch: "I take on a small number of contract projects, so each one gets proper focus. New builds from scratch, or new features, rewrites and performance work on what you already have.", cta: { title: "Free 30 minute consultation", detail: "Talk through what you need, no commitment." }, diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index eb5be0b..b7ee0d4 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -3,22 +3,44 @@ import { Font, getImage } from "astro:assets"; import headshot from "@/assets/headshot.jpg"; import SiteFooter from "@/components/SiteFooter.astro"; import ThemeToggle from "@/components/ThemeToggle.astro"; -import { profile } from "@/data"; +import { profile, schools, stack } from "@/data"; import "@/style.css"; interface Props { title: string; + /** Search snippet and social description. Falls back to the profile description */ + description?: string; /** Shows the section nav. Only the home page has sections to jump to */ nav?: boolean; + /** Adds Person structured data. Only the home page is about George */ + person?: boolean; + /** Keeps the page out of search results */ + noindex?: boolean; } -const { title, nav = false } = Astro.props; +const { title, description = profile.description, nav = false, person = false, noindex = false } = Astro.props; // Pages build as name.html, so drop the extension and index for the public URL const canonical = new URL(Astro.url.pathname.replace(/(index)?\.html$/, ""), Astro.site).href; const og = await getImage({ src: headshot, width: 640, height: 640, format: "jpg" }); const ogImage = new URL(og.src, Astro.site).href; +const [jobTitle, company] = profile.role.split(", "); +const personData = { + "@context": "https://schema.org", + "@type": "Person", + name: profile.name, + url: Astro.site?.href, + image: ogImage, + description: profile.description, + jobTitle, + worksFor: { "@type": "Organization", name: company, url: profile.companyUrl }, + address: { "@type": "PostalAddress", addressRegion: profile.location, addressCountry: "GB" }, + alumniOf: schools.map((school) => ({ "@type": "EducationalOrganization", name: school.name })), + knowsAbout: stack.flatMap((layer) => layer.items), + sameAs: [profile.linkedin], +}; + const links = [ { href: "#experience", label: "Experience" }, { href: "#stack", label: "Stack" }, @@ -28,16 +50,19 @@ const links = [ --- - + - - + + + {noindex && } + {!noindex && } - + + @@ -52,6 +77,7 @@ const links = [ {title} + {person &&