Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
cb5fa20
feat: sync profile with linkedin and offer free consultations
t3ned Nov 11, 2026
ff747e5
fix: make raster favicon corners transparent
t3ned Nov 11, 2026
250631e
refactor: rebuild site on astro with oxlint and oxfmt
t3ned Nov 11, 2026
aef8626
fix: darken dark mode accent and tighten hire copy
t3ned Nov 11, 2026
ac41970
feat: redesign site as classic
t3ned Nov 12, 2026
b48e606
feat: show owner title tag in hero
t3ned Nov 12, 2026
b90f748
fix: refine classic design from impeccable review
t3ned Nov 12, 2026
473c044
chore: drop unused accent token and match 404 button size
t3ned Nov 12, 2026
7362f03
feat: rework hero role, hire section and section hierarchy
t3ned Nov 12, 2026
35f75f5
feat: flip portrait to a joke on hover and rewrite hero summary
t3ned Nov 12, 2026
8b5719e
fix: drop double divider under education lists
t3ned Nov 12, 2026
32b3b9b
feat: show Stats.cc logo in hero role line
t3ned Nov 12, 2026
9fcd32d
feat: animate Stats.cc logo on hover
t3ned Nov 12, 2026
09be072
fix: wave the Stats.cc logo and align it to the cap height
t3ned Nov 12, 2026
61cc30b
feat: lowercase stats.cc in hero and ripple the logo on hover
t3ned Nov 12, 2026
f2e6cac
feat: retitle stats.cc role to Managing Director and rewrite hero sum…
t3ned Nov 12, 2026
3d6ae69
fix: say our product in hero summary
t3ned Nov 12, 2026
a8d7a76
feat: refresh experience copy and focus each role on scroll
t3ned Nov 12, 2026
2e827b3
feat: type out the stack terminal, add terminal easter egg and strong…
t3ned Nov 12, 2026
83ab64e
feat: turn experience into a scroll timeline with rail fill and stron…
t3ned Nov 12, 2026
088b2b2
feat: fill experience rail per role and give the terminal a fixed scr…
t3ned Nov 12, 2026
68a2f10
feat: rail tail for single roles, coloured grades and award tooltips
t3ned Nov 12, 2026
e0f8887
feat: colour education headlines and mention stats.cc at Henley
t3ned Nov 12, 2026
3a574a6
fix: default cursor on award hover
t3ned Nov 12, 2026
f8f104d
fix: harden terminal commands, live clock, award ids and footer year
t3ned Nov 12, 2026
effef95
feat: add structured data, sitemap, robots and per-page meta for SEO
t3ned Nov 12, 2026
0cf84ed
fix: show award tooltips on tap and keep them inside narrow screens
t3ned Nov 12, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .claude/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"name": "dev",
"runtimeExecutable": "bun",
"runtimeArgs": ["run", "dev"],
"port": 5173
"port": 4321
}
]
}
4 changes: 2 additions & 2 deletions .claude/skills/commit/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,6 @@ dist-ssr
*.njsproj
*.sln
*.sw?

# Astro
.astro
16 changes: 16 additions & 0 deletions .oxfmtrc.json
Original file line number Diff line number Diff line change
@@ -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
}
14 changes: 14 additions & 0 deletions .oxlintrc.json
Original file line number Diff line number Diff line change
@@ -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"]
}
37 changes: 21 additions & 16 deletions CODE_STYLE.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,24 @@

## 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

Blank line after multi-line block (3+ lines) when followed by another statement. Single-line pairs fine. Single line then multi-line fine. Only multi-line then next statement needs the blank line.

```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
Expand All @@ -43,28 +43,33 @@ 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 `<script>` blocks in the component that needs them. No UI framework islands unless something genuinely needs one.

**Icons:** Inline SVG only. No emojis or unicode symbols as icons. Terminal ASCII art (tree glyphs, interpuncts) is content, not iconography.

## 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.

Fonts are self-hosted through Astro's fonts API (`fonts` in `astro.config.ts`, `<Font>` 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 `<html>`, 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 `<html>`, 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), `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

Load-in stagger via `.rise` (hero only), scroll reveal via the `v-reveal` directive. All animation respects `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`.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# gmiles.dev

Personal portfolio site built with Vue 3, Tailwind CSS v4, Vite, and TypeScript on [Bun](https://bun.sh).
Personal portfolio site built with Astro, Tailwind CSS v4, and TypeScript on [Bun](https://bun.sh).

```sh
bun install
Expand Down
28 changes: 28 additions & 0 deletions astro.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
import sitemap from "@astrojs/sitemap";
import tailwindcss from "@tailwindcss/vite";
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" },
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: [
{
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"],
},
],
});
76 changes: 0 additions & 76 deletions biome.json

This file was deleted.

Loading
Loading