Kubric™ Hero Landing — Page d'accueil héroïque sombre et cinématographique avec logo SVG animé
Section héroïque issue de la galerie
pulkitxm/claude-directorysous licence MIT.
Une page d'accueil héroïque sombre et cinématographique, monopage et desktop uniquement, pour le studio fictif Kubric™, construite avec TanStack Start v1 + React 19 + Vite 7 + Tailwind v4 et un routage basé sur les fichiers. Elle comprend une vidéo d'arrière-plan en boucle avec un flou progressif backdrop-filter à 8 couches en bas, un logo SVG animé avec des révélations d'arc stroke-dashoffset, un pilule de navigation en verre, un révélateur de titre caractère par caractère, une navigation de section verticale à droite, et une carte « À propos » blanche. Tout s'anime au premier chargement une fois que la vidéo d'arrière-plan est prête.
Flux de travail
- Clonez le fichier
example.htmldans l'espace de travail de l'utilisateur comme fichier de travail. - Remplacez le contenu fictif par le vrai nom de marque, les titres, le texte du corps, les chiffres et les images de l'utilisateur. Faites correspondre les dimensions d'image existantes lors de l'échange d'actifs.
- Préservez le système de design. La palette, la hiérarchie typographique, le rythme d'espacement et le mouvement dans les spécifications ci-dessous constituent l'identité — ne remplacez pas les polices, ne recoloriez pas la palette et ne supprimez pas les éléments décoratifs.
- Étendez par duplication de sections, jamais en important une mise en page d'un autre modèle. Si une section manque, concevez-la à partir de zéro avec le vocabulaire de ce modèle.
- Gardez le mouvement accessible. Chaque animation doit être derrière
prefers-reduced-motion, comme l'exige la spécification.
Contrat de sortie
Émettez entre les balises <artifact> :
<artifact identifier="kubric-hero-landing" type="text/html" title="Kubric™ Hero Landing — Dark Cinematic Hero with Animated SVG Logo">
<!doctype html>
<html>...</html>
</artifact>
Spécifications de construction
Le prompt en amont qui a produit ce design, textuellement.
PROMPT DE CONSTRUCTION — KUBRIC™ HERO LANDING (TANSTACK START + REACT 19 + VITE 7 + TAILWIND V4)
OBJECTIF
CRÉER UNE PAGE D'ACCUEIL HÉROÏQUE SOMBRE MONOPAGE APPELÉE « KUBRIC™ ». IL S'AGIT D'UNE PAGE HÉROÏQUE EN PLEIN ÉCRAN (MIN 1024 PX DE LARGE, BUREAU UNIQUEMENT) AVEC UNE VIDÉO D'ARRIÈRE-PLAN EN BOUCLE, UNE SUPERPOSITION DE FLU PROGRESSIF EN BAS, UN LOGO SVG ANIMÉ, UNE PILULE DE NAVIGATION EN VERRE AVEC 4 LIENS (L'UN A UN BADGE CIRCULAIRE NUMÉRIQUE « 3 »), UN BOUTON BLANC « BOOK A CALL », UN TITRE DE 3 LIGNES À ACCENT ITALIQUE QUI SE RÉVÈLE CARACTÈRE PAR CARACTÈRE, UNE NAVIGATION DE SECTION VERTICALE À DROITE AVEC UN SOULIGNEMENT ACTIF, UNE LIGNE EN BAS CONTENANT UNE ÉTIQUETTE « 01 — OUR GOAL », UN PARAGRAPHE DE DESCRIPTION, UN BOUTON PRINCIPAL « DISCUSS THE PROJECT », UNE PILULE ANIMÉE « SCROLL DOWN », ET UNE CARTE HORIZONTALE BLANCHE « ABOUT US » AVEC UNE IMAGE ET UNE FLÈCHE. TOUT S'ANIME AU PREMIER CHARGEMENT APRÈS QUE LA VIDÉO D'ARRIÈRE-PLAN SOIT PRÊTE.
STACK / FICHIERS
- TANSTACK START V1 FILE-BASED ROUTING. ROUTES DANS SRC/ROUTES/. RACINE DANS SRC/ROUTES/__ROOT.TSX. ACCUEIL DANS SRC/ROUTES/INDEX.TSX.
- TAILWIND V4 VIA
@import "tailwindcss"DANS SRC/STYLES.CSS (PAS DE TAILWIND.CONFIG.JS). - TOUS LES STYLES KUBRIC SONT DU CSS PLAIN AJOUTÉ DANS SRC/STYLES.CSS (PAS D'UTILITAIRES TAILWIND).
- CHARGEZ LA POLICE GOOGLE « INTER TIGHT » (POIDS 300/400/500/700/800, ITALIQUE 400/700) VIA DANS L'EN-TÊTE DE LA ROUTE — JAMAIS VIA UN @IMPORT CSS.
- PAS DE BACKEND, PAS DE BASE DE DONNÉES, PAS D'AUTH. AUCUN COMPOSANT SHADCN UTILISÉ PAR LA PAGE.
VARIABLES CSS GLOBALES (À AJOUTER APRÈS LE BLOC SHADCN DANS SRC/STYLES.CSS)
:root {
--bg: #1e1e1e;
--text: #ffffff;
--text-muted: rgba(255,255,255,0.749);
--dark-text: #22282b;
--page-pad: clamp(24px, 3.4vw, 50px);
--btn-radius: 10px;
--card-radius: 4px;
}
html { min-width: 1024px; }
body {
font-family: "Inter Tight", sans-serif;
background: var(--bg);
color: var(--text);
-webkit-font-smoothing: antialiased;
overflow-x: hidden;
}
,::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }
HIÉRARCHIE DES COUCHES (ARBRE JSX EXACT DE LA PAGE D'ACCUEIL)
div.hero
├── div.hero__bg
│ └── video.hero__video (autoPlay muted loop playsInline preload="auto")
│ └── source src="https://qclay.design/lovable/kubric/body.mp4" type="video/mp4"
├── div.hero__overlay
├── div.hero__gradient-top (empty, display:none placeholder)
├── div.hero__gradient-bottom (empty, display:none placeholder)
├── div.hero__blur
│ ├── div.hero__blur-layer (× 8 — chaque couche reçoit un flou + masque plus fort)
│ └── ::after (gradient darkening overlay)
├── header.header
│ ├── a.logo href="#" aria-label="Kubric"
│ │ └── svg.logo__icon viewBox="0 0 122 30"
│ │ ├── circle.logo__circle cx=14.3 cy=14.9 r=7 stroke=#fff strokeWidth=3 fill=none
│ │ ├── path.logo__arc-1a (outer arc top, voir SVG ci-dessous)
│ │ ├── path.logo__arc-1b (outer arc bottom)
│ │ ├── path.logo__arc-2a (far arc top)
│ │ ├── path.logo__arc-2b (far arc bottom)
│ │ └── g.logo__text-group
│ │ ├── text x=46 y=22 font="Inter Tight" size=22 weight=700 fill=#fff letterSpacing=-0.5 → "Kubric"
│ │ └── text.logo__tm x=113 y=10 → "™"
│ ├── nav.nav-pill aria-label="Primaire"
│ │ ├── a.nav-pill__link href="#features" → "Fonctionnalités"
│ │ ├── a.nav-pilllink href="#team" → "Équipe" + span.nav-pillbadge "3"
│ │ ├── a.nav-pill__link href="#roadmap" → "Feuille de route"
│ │ └── a.nav-pill__link href="#contact" → "Contact"
│ └── button.btn.btn--header
│ ├── "Réserver un appel"
│ └── svg.btn__arrow viewBox="0 0 8 8" (path d="M1 7L7 1M7 1H2M7 1V6")
├── h1.hero__heading
│ ├── span.heroline > span.heroline-inner → "Rendre votre entreprise"
│ ├── span.heroline > span.heroline-inner → "exceptionnelle — est une"
│ └── span.heroline > span.heroline-inner > em → "Science"
├── nav.side-nav aria-label="Sections"
│ ├── a.side-navlink.side-navlink--active href="#home"
│ │ ├── span.side-nav__link-text "Accueil"
│ │ └── span.side-nav__line
│ ├── a.side-navlink href="#services" → span.side-navlink-text "Nos Services"
│ ├── a.side-navlink href="#about" → span.side-navlink-text "À Propos"
│ ├── a.side-navlink href="#reviews" → span.side-navlink-text "Avis"
│ └── a.side-navlink href="#contact" → span.side-navlink-text "Contact"
├── div.hero__blur-bar
└── div.hero__bottom (CSS grid, 1fr auto / 3 rows)
├── div.hero__label (row 1) → "01 — Notre objectif"
├── p.hero__desc (row 2) → 3 lignes :
│ "Nous permettons aux investisseurs et aux family offices"
│ "les plus engagés au monde d'accéder à des stratégies"
│ "d'investissement gérées professionnellement."
├── div.hero__actions (row 3)
│ ├── button.btn.btn--footer
│ │ ├── "Discuter du projet"
│ │ └── svg.btn__arrow (même chemin 8×8 que l'en-tête)
│ └── button.scroll-down#scrollDown
│ ├── span.scroll-down__text "Défiler vers le bas"
│ └── span.scroll-down__circle
│ └── svg viewBox="0 0 7.222 8.667" (path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5")
└── a.about-card href="#about"
├── div.about-card__image > img src="https://qclay.design/lovable/kubric/card-image.png" alt="Gros plan de tulipe rose"
└── div.about-card__content
├── div
│ ├── h3.about-card__title "À propos"
│ └── p.about-card__text "Nous sommes animés par une conception centrée sur l'utilisateur qui augmente la productivité et les revenus."
└── svg.about-card__arrow viewBox="0 0 77 13" (path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5")
SOURCES SVG / ICÔNES (À COLLER TEXTUELLEMENT — LES COORDONNÉES ET PATHLENGTH SONT EXACTES)
LOGO SVG (DANS A.LOGO) :
<svg class="logo__icon" viewBox="0 0 122 30" fill="none" xmlns="http://www.w3.org/2000/svg">
<circle class="logo__circle" cx="14.3" cy="14.9" r="7" fill="none" stroke="#fff" stroke-width="3"/>
<path class="logo__arc-1a" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M28.4955 14.6513C28.4346 12.2923 27.7563 9.99047 26.5284 7.9753C25.3005 5.96012 23.5657 4.30202 21.4972 3.1663C19.4287 2.03059 17.0985 1.45693 14.7392 1.50252C12.3798 1.54811 10.0736 2.21137 8.05047 3.42615"/>
<path class="logo__arc-1b" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M28.4955 14.6513C28.5564 17.0104 27.998 19.3442 26.8757 21.4201C25.7535 23.496 24.1067 25.2414 22.0996 26.4824C20.0924 27.7234 17.795 28.4166 15.4365 28.4929C13.0779 28.5692 10.7405 28.026 8.65735 26.9173"/>
<path class="logo__arc-2a" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M37.4997 14.9144C37.4824 12.1783 36.634 9.51197 35.0671 7.26888C33.5001 5.02578 31.2885 3.31178 28.7254 2.35403"/>
<path class="logo__arc-2b" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
d="M37.4997 14.9144C37.5171 17.6506 36.7026 20.3274 35.1642 22.5902C33.6258 24.853 31.4361 26.5949 28.8853 27.5851"/>
<g class="logo__text-group">
<text x="46" y="22" font-family="Inter Tight" font-size="22" font-weight="700" fill="#fff" letter-spacing="-0.5">Kubric</text>
<text class="logo__tm" x="113" y="10">™</text>
</g>
</svg>
ICÔNE FLÈCHE (UTILISÉE DANS LES DEUX BOUTONS) VIEWBOX="0 0 8 8" :
<path d="M1 7L7 1M7 1H2M7 1V6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
ICÔNE CHEVRON SCROLL-DOWN VIEWBOX="0 0 7.222 8.667" :
<path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
GRANDE FLÈCHE ABOUT-CARD VIEWBOX="0 0 77 13" :
<path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
CSS COMPLET (À AJOUTER TEXTUELLEMENT À SRC/STYLES.CSS — SOURCE DE VÉRITÉ EXACTE)
/ ============ HERO ============ /
.hero { position: relative; width: 100%; height: 100vh; min-height: 700px; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video { position: absolute; top: 50%; left: 50%; width: 60%; height: 90%; object-fit: cover; transform: translate(-50%,-50%) scale(1.9); }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(8,8,8,0.25); pointer-events: none; }
.herogradient-top,.herogradient-bottom { display: none; }
/ ===== FLU PROGRESSIF ===== /
.hero__blur { position: absolute; left:0; right:0; bottom:0; height: 26%; z-index:3; pointer-events:none; }
.hero__blur-layer { position: absolute; inset: 0; }
.hero__blur-layer:nth-child(1){ backdrop-filter: blur(0.6px); mask-image: linear-gradient(to bottom, transparent 0%, black 12%); }
.hero__blur-layer:nth-child(2){ backdrop-filter: blur(1px); mask-image: linear-gradient(to bottom, transparent 12%, black 25%); }
.hero__blur-layer:nth-child(3){ backdrop-filter: blur(1.5px); mask-image: linear-gradient(to bottom, transparent 25%, black 37%); }
.hero__blur-layer:nth-child(4){ backdrop-filter: blur(2px); mask-image: linear-gradient(to bottom, transparent 37%, black 50%); }
.hero__blur-layer:nth-child(5){ backdrop-filter: blur(3px); mask-image: linear-gradient(to bottom, transparent 50%, black 62%); }
.hero__blur-layer:nth-child(6){ backdrop-filter: blur(4px); mask-image: linear-gradient(to bottom, transparent 62%, black 75%); }
.hero__blur-layer:nth-child(7){ backdrop-filter: blur(6px); mask-image: linear-gradient(to bottom, transparent 75%, black 87%); }
.hero__blur-layer:nth-child(8){ backdrop-filter: blur(8px); mask-image: linear-gradient(to bottom, transparent 87%, black 100%); }
.hero__blur::after { content:""; position:absolute; inset:0; pointer-events:none;
background: linear-gradient(to bottom, transparent 0%, rgba(20,20,20,0.35) 40%, rgba(20,20,20,0.65) 70%, rgba(20,20,20,0.85) 100%); }
.hero__blur-bar { position: absolute; left:0; right:0; bottom:0;
height: calc(60px + clamp(20px,3vh,36px) + 24px); z-index:4; pointer-events:none;
background: linear-gradient(0.8deg, rgba(255,255,255,0.06) -51%, transparent 109%), rgba(255,255,255,0.01);
mask-image: linear-gradient(to bottom, transparent 0%, black 30%); }
/ ===== EN-TÊTE ===== /
.header { position: absolute; top:0; left:0; right:0; z-index:10; display:flex; align-items:center; justify-content: space-between; padding: 20px var(--page-pad); }
/ ===== LOGO ===== /
.logo { display:flex; align-items:center; }
.logo__icon { display:block; width: clamp(80px,7.6vw,110px); height: clamp(22px,2.08vw,30px); overflow:visible; }
body:not(.is-ready) .logo__circle,
body:not(.is-ready) .logoarc-1a, body:not(.is-ready) .logoarc-1b,
body:not(.is-ready) .logoarc-2a, body:not(.is-ready) .logoarc-2b,
body:not(.is-ready) .logo__text-group { opacity:0; animation-play-state: paused !important; }
.logo__circle { transform-origin: 14.3px 14.9px; transform: scale(0); opacity:0;
animation: logoCircleGrow 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.1s forwards; }
@keyframes logoCircleGrow { to { transform: scale(1); opacity:1; } }
.logoarc-1a,.logoarc-1b { stroke-dasharray:100; stroke-dashoffset:100; opacity:0; transform: translateX(-14px);
animation: logoArcDraw1 0.65s cubic-bezier(0.16,1,0.3,1) 0.55s forwards; }
.logoarc-2a,.logoarc-2b { stroke-dasharray:100; stroke-dashoffset:100; opacity:0; transform: translateX(-14px);
animation: logoArcDraw2 0.5s cubic-bezier(0.16,1,0.3,1) 1.25s forwards; }
@keyframes logoArcDraw1 { to { stroke-dashoffset:0; opacity:1; transform: translateX(0);} }
@keyframes logoArcDraw2 { to { stroke-dashoffset:0; opacity:1; transform: translateX(0);} }
.logo__text-group { opacity:0; filter: blur(10px); transform: translateX(28px);
animation: logoTextReveal 1.9s cubic-bezier(0.16,1,0.3,1) 1.25s forwards; }
@keyframes logoTextReveal { to { opacity:1; filter: blur(0); transform: translateX(0);} }
.logo__tm { font-family:"Inter Tight",sans-serif; font-size:20px; fill:#fff; }
/ ===== PILULE DE NAVIGATION ===== /
.nav-pill {
display:inline-flex; align-items:center; gap: clamp(16px,2.3vw,33px);
padding: clamp(8px,0.76vw,11px) clamp
…
[truncated for translation]