veza/apps/web/index.html
senke 33fcd7d1bd feat(branding): scaffold Logo component + Sumi icons + brand assets pipeline (Sprint 3)
Sprint 3 = production assets (logo, icons, hero, textures). Most deliverables
are physical artistic work (artist Renaud + Nikola scans). This commit lays
the CODE scaffold so assets drop in without friction when delivered.

New : apps/web/src/components/branding/
- Logo.tsx — single source of truth for Talas / Veza brand rendering.
  Replaces ad-hoc inline wordmarks (Sidebar/Navbar/Footer/landing each had
  their own VEZA <h2>). Variants: wordmark / symbol / lockup. Sizes xs..xl.
  Colors auto/ink/cyan/inverse. Optional tagline. Horizontal/vertical orient.
- assets/SymbolPlaceholder.tsx — geometric ink stroke + arc + dot, monochrome,
  currentColor inheritance, scalable. Mirrors charte §3.1 brief. Replaced by
  artist's hand-drawn mark in P0.1 of BRIEF_ARTISTE.
- Logo.stories.tsx — full Storybook coverage: variants, sizes, colors,
  orientation, Talas vs Veza, all-sizes ladder.
- index.ts — barrel exports.

New : apps/web/src/components/icons/sumi/
- Play.tsx — first calligraphic icon stub (programmatic approximation per
  charte §6.3). 9 more to come (Pause, Search, Profile, Chat, Upload,
  Settings, Home, Close, Volume).
- index.ts — barrel + commented TODO list per priority.
- Used via existing components/icons/SumiIcon.tsx wrapper which falls back to
  Lucide when no Sumi version exists.

Brand alignment of platform metadata :
- public/favicon.svg — Mizu cyan placeholder (#0098B5) replacing default
  vite.svg. Mirrors SymbolPlaceholder geometry.
- public/manifest.json — theme_color #1a1a1a -> #0098B5 (SUMI accent),
  background_color #ffffff -> #0D0D0F (charte §4.4 rule 1: no pure white).
- index.html — theme-color meta + msapplication-TileColor aligned to SUMI.
  Favicon link points to /favicon.svg.

New doc : apps/web/docs/BRANDING.md
- Architecture map of brand assets in apps/web.
- Logo component API + usage examples.
- Asset deliverables status table (P0/P1/P2 from brief artiste, all 🟡 placeholders).
- Naming convention for raw scans + processed SVGs.
- Step-by-step "how to integrate a delivered asset" for wordmark and Sumi icon.
- Brand color guard (ESLint rule pointer).

Build OK (vite 12.6s). Typecheck clean. No visual regression — Sidebar/Navbar
inline wordmarks intentionally NOT migrated yet (they use fontWeight 300 which
contradicts charte's Bold requirement; a per-screen migration call later).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-27 17:08:17 +02:00

90 lines
No EOL
3.9 KiB
HTML

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/favicon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover" />
<title>Veza - Plateforme de streaming musical</title>
<!-- SUMI v3: Self-hosted fonts — Space Grotesk (headings) + Inter (body) + JetBrains Mono (code, lazy) -->
<link rel="preload" href="/fonts/SpaceGrotesk-Bold.woff2" as="font" type="font/woff2" crossorigin>
<link rel="preload" href="/fonts/Inter-Variable.woff2" as="font" type="font/woff2" crossorigin>
<!-- PERF: Preload stratégique des chunks vendors critiques (sera injecté par Vite en production) -->
<!-- Les hashs seront générés automatiquement lors du build -->
<!-- PWA Manifest -->
<link rel="manifest" href="/manifest.json" />
<!-- PWA Meta Tags -->
<!-- theme-color = SUMI Mizu cyan (charte §4.1 — sole UI accent) -->
<meta name="theme-color" content="#0098B5" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent" />
<meta name="apple-mobile-web-app-title" content="Veza" />
<!-- Apple Touch Icons -->
<link rel="apple-touch-icon" href="/icons/icon-152x152.png" />
<link rel="apple-touch-icon" sizes="72x72" href="/icons/icon-72x72.png" />
<link rel="apple-touch-icon" sizes="96x96" href="/icons/icon-96x96.png" />
<link rel="apple-touch-icon" sizes="128x128" href="/icons/icon-128x128.png" />
<link rel="apple-touch-icon" sizes="144x144" href="/icons/icon-144x144.png" />
<link rel="apple-touch-icon" sizes="152x152" href="/icons/icon-152x152.png" />
<link rel="apple-touch-icon" sizes="192x192" href="/icons/icon-192x192.png" />
<link rel="apple-touch-icon" sizes="384x384" href="/icons/icon-384x384.png" />
<link rel="apple-touch-icon" sizes="512x512" href="/icons/icon-512x512.png" />
<!-- Microsoft Tiles -->
<meta name="msapplication-TileColor" content="#0D0D0F" />
<meta name="msapplication-TileImage" content="/icons/icon-144x144.png" />
<!-- SEO and Social -->
<meta name="description" content="Plateforme de streaming, collaboration et distribution musicale moderne" />
<meta name="keywords" content="music, streaming, collaboration, audio, chat, veza" />
<meta name="author" content="Veza Platform Team" />
<!-- Open Graph -->
<meta property="og:title" content="Veza Platform" />
<meta property="og:description" content="Plateforme de streaming, collaboration et distribution musicale moderne" />
<meta property="og:type" content="website" />
<meta property="og:image" content="/icons/icon-512x512.png" />
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="Veza Platform" />
<meta name="twitter:description" content="Plateforme de streaming, collaboration et distribution musicale moderne" />
<meta name="twitter:image" content="/icons/icon-512x512.png" />
<!-- Theme Script to prevent FOUC -->
<script>
(function() {
const storageKey = 'vite-ui-theme';
const defaultTheme = 'dark';
try {
const theme = localStorage.getItem(storageKey) || defaultTheme;
const root = window.document.documentElement;
if (theme === 'system') {
const systemTheme = window.matchMedia('(prefers-color-scheme: dark)').matches
? 'dark'
: 'light';
root.setAttribute('data-theme', systemTheme);
} else {
root.setAttribute('data-theme', theme);
}
} catch (e) {
console.error('Failed to set initial theme', e);
document.documentElement.setAttribute('data-theme', 'dark');
}
})();
</script>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>