a8481af89b
Recreates the benji.org/liveline page in the website folder using React, Tailwind, and the same editorial design system. Charts are replaced with static SVG placeholders. Typography: - Inter variable font from rsms.me (same source as next/font) - font-weight 475 body, 560 headings, font-optical-sizing: auto - 14px body, 20px line-height, -0.09px letter-spacing - Near-black text rgb(17,17,17), 40% opacity secondary - Display P3 accent colors with @supports fallback Layout: - 550px narrow content column, fixed TOC sidebar - Stagger-in entrance animation with cascading delays - Fixed header fade gradient (multi-stop white-to-transparent) - Scroll-spy TOC highlighting via IntersectionObserver Code blocks: - Prism.js syntax highlighting with GitHub-light color palette - Line numbers column with 20px right padding - 12px / 18px font size Props tables, dividers, captions, code blocks, bullet lists all styled to match the original computed values.
49 lines
1.3 KiB
JSON
49 lines
1.3 KiB
JSON
{
|
|
"name": "website",
|
|
"private": true,
|
|
"type": "module",
|
|
"scripts": {
|
|
"build": "react-router build",
|
|
"dev": "react-router dev --port 8044",
|
|
"typecheck": "react-router typegen && tsc"
|
|
},
|
|
"exports": {
|
|
"./*": "./*"
|
|
},
|
|
"dependencies": {
|
|
"@radix-ui/react-slot": "^1.2.4",
|
|
"@react-router/fs-routes": "^7.11.0",
|
|
"@react-router/node": "^7.11.0",
|
|
"@sentry/node": "^10.32.1",
|
|
"@tailwindcss/typography": "^0.5.19",
|
|
"@types/prismjs": "^1.26.6",
|
|
"@vercel/react-router": "^1.2.4",
|
|
"class-variance-authority": "^0.7.1",
|
|
"clsx": "^2.1.1",
|
|
"isbot": "^5.1.32",
|
|
"lucide-react": "^0.562.0",
|
|
"prismjs": "^1.30.0",
|
|
"react": "^19.2.3",
|
|
"react-dom": "^19.2.3",
|
|
"react-router": "^7.11.0",
|
|
"sentries": "^0.2.2",
|
|
"tailwind-merge": "^3.4.0",
|
|
"tw-animate-css": "^1.4.0"
|
|
},
|
|
"devDependencies": {
|
|
"@react-router/dev": "^7.11.0",
|
|
"@tailwindcss/vite": "^4.1.18",
|
|
"@types/node": "^25.0.3",
|
|
"@types/react": "^19.2.7",
|
|
"@types/react-dom": "^19.2.3",
|
|
"@vitejs/plugin-react": "^5.1.2",
|
|
"@xmorse/deployment-utils": "^0.7.2",
|
|
"tailwindcss": "^4.1.18",
|
|
"typescript": "^5.9.3",
|
|
"vite": "^7.3.0",
|
|
"vite-plugin-environment": "^1.1.3",
|
|
"vite-tsconfig-paths": "^6.0.3",
|
|
"vitest": "^4.0.16"
|
|
}
|
|
}
|