fix: CV split-button height + LinkedIn redirect; tooling tidy

- CV split button: make the chevron <details> flex and the summary full-height so the
  toggle matches the primary button height (verified 39.1px == 39.1px)
- nginx: /Linkedin now 301s to the real profile (linkedin.com/in/connor-babbington)
- prettier-ignore .pnpm-store; gitignore .claude/settings.local.json; e2e port 4321->4399;
  dev preview autoPort

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
cesnimda
2026-07-04 11:22:48 +02:00
parent b4b293bdb4
commit a10418ab93
6 changed files with 12 additions and 9 deletions
+3 -2
View File
@@ -4,8 +4,9 @@
{ {
"name": "site", "name": "site",
"runtimeExecutable": "pnpm", "runtimeExecutable": "pnpm",
"runtimeArgs": ["-C", "site", "dev", "--host", "--port", "4321"], "runtimeArgs": ["-C", "site", "dev", "--host"],
"port": 4321 "port": 4321,
"autoPort": true
} }
] ]
} }
+1
View File
@@ -26,6 +26,7 @@ relay/appsettings.*.local.json
Thumbs.db Thumbs.db
.vscode/ .vscode/
.idea/ .idea/
.claude/settings.local.json
# Mission prompt scratch files (kept locally, not part of the product) # Mission prompt scratch files (kept locally, not part of the product)
step1.txt step1.txt
+1
View File
@@ -1,6 +1,7 @@
dist/ dist/
.astro/ .astro/
node_modules/ node_modules/
.pnpm-store/
pnpm-lock.yaml pnpm-lock.yaml
public/ public/
*.pdf *.pdf
+2 -2
View File
@@ -27,9 +27,9 @@ server {
gzip_proxied any; gzip_proxied any;
gzip_types text/plain text/css application/javascript application/json image/svg+xml application/xml application/xml+rss; gzip_types text/plain text/css application/javascript application/json image/svg+xml application/xml application/xml+rss;
# --- Preserved LinkedIn redirect (printed on the CVs). Replace slug before cutover. --- # --- Preserved LinkedIn redirect (printed on the CVs). ---
location = /Linkedin { location = /Linkedin {
return 301 https://www.linkedin.com/in/REPLACE-WITH-REAL-SLUG/; return 301 https://www.linkedin.com/in/connor-babbington;
} }
# --- Legacy WordPress URLs -> 410 Gone (crawler cleanup) --- # --- Legacy WordPress URLs -> 410 Gone (crawler cleanup) ---
+2 -2
View File
@@ -30,9 +30,9 @@ const currentLabel = locale === 'en' ? d.cv.english : d.cv.norsk;
{d.cv.download} {d.cv.download}
{!compact && <span class="text-mono-label ml-2 font-mono opacity-70">EN/NO</span>} {!compact && <span class="text-mono-label ml-2 font-mono opacity-70">EN/NO</span>}
</a> </a>
<details class="cv-menu"> <details class="cv-menu flex">
<summary <summary
class="border-accent-ink/20 bg-accent text-accent-ink flex cursor-pointer list-none items-center rounded-r-sm border-l px-2 transition-[filter] duration-[--dur-quick] hover:brightness-105" class="border-accent-ink/20 bg-accent text-accent-ink flex h-full cursor-pointer list-none items-center rounded-r-sm border-l px-2 transition-[filter] duration-[--dur-quick] hover:brightness-105"
aria-label={d.cv.download} aria-label={d.cv.download}
> >
<svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true"> <svg width="14" height="14" viewBox="0 0 24 24" fill="none" aria-hidden="true">
+3 -3
View File
@@ -11,13 +11,13 @@ export default defineConfig({
retries: process.env.CI ? 1 : 0, retries: process.env.CI ? 1 : 0,
reporter: process.env.CI ? [['list'], ['html', { open: 'never' }]] : 'list', reporter: process.env.CI ? [['list'], ['html', { open: 'never' }]] : 'list',
use: { use: {
baseURL: 'http://localhost:4321', baseURL: 'http://localhost:4399',
trace: 'on-first-retry', trace: 'on-first-retry',
}, },
projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }], projects: [{ name: 'chromium', use: { ...devices['Desktop Chrome'] } }],
webServer: { webServer: {
command: 'pnpm -C ../site build && pnpm -C ../site preview --port 4321 --host', command: 'pnpm -C ../site build && pnpm -C ../site preview --port 4399 --host',
url: 'http://localhost:4321/', url: 'http://localhost:4399/',
timeout: 180_000, timeout: 180_000,
reuseExistingServer: !process.env.CI, reuseExistingServer: !process.env.CI,
}, },