Phase 1: Design system foundation — tokens, fonts, sidebar layout
- index.css: @import "tailwindcss" + @theme block with full colour palette, shadows, radii, typography tokens, skeleton animation - index.html: Google Sans + Roboto Mono fonts, title → Flight Radar - src/lib/utils.ts: cn() helper (clsx + tailwind-merge) - Layout.tsx: 256px fixed sidebar on desktop (active pill nav, logo, Developer section divider), sticky top bar with page title + New Scan CTA (hidden on /scans), bottom nav bar on mobile with pill indicator - package.json/lock: add lucide-react, clsx, tailwind-merge - .gitignore: unblock frontend/package*.json and frontend/src/lib/ Build: 0 TypeScript errors · 0 console errors · all 6 criteria pass Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -4,7 +4,10 @@
|
||||
<meta charset="UTF-8" />
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>frontend</title>
|
||||
<title>Flight Radar</title>
|
||||
<link rel="preconnect" href="https://fonts.googleapis.com">
|
||||
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@300;400;500&family=Roboto+Mono:wght@400&display=swap" rel="stylesheet">
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
Reference in New Issue
Block a user