Kubric™ 히어로 랜딩 — 다크 시네마틱 히어로 (애니메이션 SVG 로고 포함)
히어로 섹션은 MIT 라이선스
pulkitxm/claude-directory갤러리에서 가져왔습니다.
가상 스튜디오 **Kubric™**을 위한 단일 페이지, 데스크톱 전용 다크 히어로 랜딩 페이지입니다. TanStack Start v1 + React 19 + Vite 7 + Tailwind v4로 구축되었으며 파일 기반 라우팅을 사용합니다. 하단에 8단계 점진적 backdrop-filter 블러가 적용된 루핑 배경 비디오, 아크 stroke-dashoffset 리빌이 있는 애니메이션 SVG 로고, 유리 효과 네비게이션 필, 글자 단위로 나타나는 헤드라인, 오른쪽 수직 섹션 네비게이션, 흰색 'About us' 카드가 포함되어 있습니다. 모든 애니메이션은 배경 비디오가 준비된 후 첫 로드 시 한 번에 실행됩니다.
워크플로우
- 사용자 작업 공간에
example.html을 복제하여 작업 파일로 사용합니다. - 플레이스홀더 콘텐츠를 사용자의 실제 브랜드 이름, 헤드라인, 본문, 숫자, 이미지로 교체합니다. 에셋 교체 시 기존 이미지 크기를 유지합니다.
- 디자인 시스템을 유지합니다. 아래 빌드 명세에 있는 팔레트, 타입 스케일, 간격 리듬, 모션은 정체성입니다. 글꼴을 대체하거나, 팔레트 색상을 바꾸거나, 장식 요소를 제거하지 마십시오.
- 섹션을 복제하여 확장합니다. 다른 템플릿의 레이아웃을 가져오지 마십시오. 섹션이 없는 경우 이 템플릿의 고유한 어휘로 처음부터 디자인합니다.
- 모션을 접근성 있게 유지합니다. 빌드 명세에서 요구하므로 모든 애니메이션은
prefers-reduced-motion뒤에 있어야 합니다.
출력 규약
<artifact> 태그 사이에 출력합니다:
<artifact identifier="kubric-hero-landing" type="text/html" title="Kubric™ 히어로 랜딩 — 다크 시네마틱 히어로 (애니메이션 SVG 로고 포함)">
<!doctype html>
<html>...</html>
</artifact>
빌드 명세
이 디자인을 생성한 업스트림 프롬프트를 그대로 복사한 것입니다.
빌드 프롬프트 — KUBRIC™ 히어로 랜딩 (TANSTACK START + REACT 19 + VITE 7 + TAILWIND V4)
목표
"KUBRIC™"이라는 단일 페이지 다크 히어로 랜딩을 생성합니다. 전체 뷰포트 히어로(최소 1024px 너비, 데스크톱 전용)로, 루핑 배경 비디오, 하단의 점진적 블러 오버레이, 애니메이션 SVG 로고, 4개의 링크(하나에는 원형 숫자 배지 "3" 포함)가 있는 유리 네비게이션 필, 흰색 "BOOK A CALL" 버튼, 글자 단위로 나타나는 3줄 이탤릭 악센트 헤드라인, 활성 밑줄이 있는 오른쪽 수직 섹션 네비게이션, 레이블 "01 — OUR GOAL", 설명 문단, 기본 "DISCUSS THE PROJECT" 버튼, 애니메이션 "SCROLL DOWN" 필, 이미지와 화살표가 있는 흰색 가로 "ABOUT US" 카드가 포함된 하단 행으로 구성됩니다. 모든 애니메이션은 배경 비디오가 준비된 후 첫 로드 시 한 번에 실행됩니다.
스택 / 파일
- TANSTACK START V1 파일 기반 라우팅. 라우트는 SRC/ROUTES/에 있습니다. 루트는 SRC/ROUTES/__ROOT.TSX에 있습니다. 홈은 SRC/ROUTES/INDEX.TSX에 있습니다.
- TAILWIND V4는 SRC/STYLES.CSS에서
@import "tailwindcss"를 통해 사용합니다 (TAILWIND.CONFIG.JS 없음). - 모든 KUBRIC 스타일은 SRC/STYLES.CSS에 추가된 일반 CSS입니다 (Tailwind 유틸리티 아님).
- Google Font "Inter Tight" (가중치 300/400/500/700/800, 이탤릭 400/700)는 라우트 헤드의 를 통해 로드합니다. CSS @IMPORT를 통해서는 절대 로드하지 마십시오.
- 백엔드, 데이터베이스, 인증은 없습니다. 페이지에서 사용하는 shadcn 구성 요소는 없습니다.
전역 CSS 변수 (SRC/STYLES.CSS의 shadcn 블록 뒤에 추가)
: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; }
레이어 계층 구조 (홈 페이지의 정확한 JSX 트리)
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 (비어 있음, display:none 자리 표시자)
├── div.hero__gradient-bottom (비어 있음, display:none 자리 표시자)
├── div.hero__blur
│ ├── div.hero__blur-layer (× 8 — 각 레이어는 더 무거운 블러 + 마스크를 얻음)
│ └── ::after (그라데이션 어둡게 오버레이)
├── 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 (외부 아크 상단, 아래 SVG 참조)
│ │ ├── path.logo__arc-1b (외부 아크 하단)
│ │ ├── path.logo__arc-2a (먼 아크 상단)
│ │ ├── path.logo__arc-2b (먼 아크 하단)
│ │ └── 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="Primary"
│ │ ├── a.nav-pill__link href="#features" → "Features"
│ │ ├── a.nav-pilllink href="#team" → "Team" + span.nav-pillbadge "3"
│ │ ├── a.nav-pill__link href="#roadmap" → "Roadmap"
│ │ └── a.nav-pill__link href="#contact" → "Contact"
│ └── button.btn.btn--header
│ ├── "Book a call"
│ └── svg.btn__arrow viewBox="0 0 8 8" (path d="M1 7L7 1M7 1H2M7 1V6")
├── h1.hero__heading
│ ├── span.heroline > span.heroline-inner → "Making your business"
│ ├── span.heroline > span.heroline-inner → "outstanding — is a"
│ └── 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 "Home"
│ │ └── span.side-nav__line
│ ├── a.side-navlink href="#services" → span.side-navlink-text "Our Services"
│ ├── a.side-navlink href="#about" → span.side-navlink-text "About Us"
│ ├── a.side-navlink href="#reviews" → span.side-navlink-text "Reviews"
│ └── a.side-navlink href="#contact" → span.side-navlink-text "Contact Us"
├── div.hero__blur-bar
└── div.hero__bottom (CSS grid, 1fr auto / 3 rows)
├── div.hero__label (row 1) → "01 — Our goal"
├── p.hero__desc (row 2) → 3줄:
│ "We enable the world's most engaged investors and"
│ "family offices to access professionally managed"
│ "investment strategies."
├── div.hero__actions (row 3)
│ ├── button.btn.btn--footer
│ │ ├── "Discuss the project"
│ │ └── svg.btn__arrow (헤더와 동일한 8×8 화살표 경로)
│ └── button.scroll-down#scrollDown
│ ├── span.scroll-down__text "Scroll down"
│ └── 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="분홍색 튤립 클로즈업"
└── div.about-card__content
├── div
│ ├── h3.about-card__title "About us"
│ └── p.about-card__text "Me're driven by user-centered design that drives productivity and increases revenue."
└── svg.about-card__arrow viewBox="0 0 77 13" (path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5")
아이콘 / SVG 소스 (있는 그대로 붙여넣기 — 좌표와 pathLength는 정확함)
로고 SVG (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>
화살표 아이콘 (두 버튼 모두에서 사용) VIEWBOX="0 0 8 8":
<path d="M1 7L7 1M7 1H2M7 1V6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>
스크롤-다운 쉐브론 아이콘 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"/>
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 (SRC/STYLES.CSS에 있는 그대로 추가 — 정확한 소스)
/ ============ 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; }
/ ===== 프로그레시브 블러 ===== /
.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%); }
/ ===== 헤더 ===== /
.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 { 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; }
/ ===== NAV PILL ===== /
.nav-pill {
display:inline-flex; align-items:center; gap: clamp(16px,2.3vw,33px);
padding: clamp(8px,0.76vw,11px) clamp(18px,2.3vw,33px);
background: rgba(255,255,255,0.07);
backdrop-filter: blur(10px);
border-radius: 100px;
border: none;
}
.nav-pill__link {
font-family: "Inter Tight", sans-serif; font-size: clamp(0.7rem,0.85vw,1rem);
color: rgba(255,255,255,0.65); font-weight: 500; letter-spacing: 0.01em;
white-space: nowrap; transition: color 0.2s;
}
.nav-pill__link:hover { color: #fff; }
.nav-pill__link--active { color: #fff; }
.nav-pillbadge {
display: inline-flex; align-items: center; justify-content: center;
width: 18px; height: 18px; border-radius: 50%;
background: #fff; color: #1e1e1e; font-size: 0.6rem; font-weight: 700;
margin-left: 4px; vertical-align: middle;
}
/ ===== 버튼 ===== /
.btn { display: inline-flex; align-items: center; gap: 8px; font-family: "Inter Tight", sans-serif; font-weight: 500; }
.btn--header {
background: #fff; color: #1e1e1e; padding: 10px 18px; border-radius: 6px;
font-size: clamp(0.7rem,0.85vw,1rem); white-space: nowrap;
}
.btn--footer {
background: transparent; color: #fff; padding: 8px 0px; gap: 14px;
font-size: clamp(0.85rem,1.1vw,1.3rem); font-weight: 500; letter-spacing: -0.01em;
border: none;
}
.btn__arrow { width: 18px; height: 18px; }
/ ===== 헤드라인 ===== /
.hero__heading {
position: absolute; top: 50%; left: 50%; transform: translate(-50%,-60%);
z-index: 5; text-align: center; width: 100%; max-width: 1200px;
}
.heroline { display: block; overflow: hidden; }
.heroline-inner {
display: inline-block; font-size: clamp(2.8rem,6.9vw,8rem); font-weight: 300;
line-height: 1.1; letter-spacing: -0.03em; color: #fff; white-space: nowrap;
transform: translateY(105%); opacity: 0;
transition: transform 1s cubic-bezier(0.16,1,0.3,1), opacity 0.6s ease;
}
body.is-ready .heroline-inner { transform: translateY(0); opacity: 1; }
.heroline:nth-child(1) .heroline-inner { transition-delay: 0.2s; }
.heroline:nth-child(2) .heroline-inner { transition-delay: 0.4s; }
.heroline:nth-child(3) .heroline-inner { transition-delay: 0.6s; }
.heroline em { font-style: italic; font-weight: 400; }
/ ===== 사이드 네비게이션 ===== /
.side-nav {
position: fixed; right: var(--page-pad); top: 50%; transform: translateY(-50%);
z-index: 10; display: flex; flex-direction: column; gap: 24px;
}
.side-navlink {
display: flex; align-items: center; gap: 12px;
color: rgba(255,255,255,0.5); font-size: 0.6rem; font-weight: 500;
letter-spacing: 0.08em; text-transform: uppercase; transition: color 0.2s;
justify-content: flex-end;
}
.side-navlink:hover { color: #fff; }
.side-navlink--active { color: #fff; }
.side-nav__line {
display: inline-block; width: 40px; height: 1px;
background: currentColor; transition: width 0.2s;
}
.side-navlink--active .side-nav__line { width: 60px; }
/ ===== 하단 섹션 ===== /
.hero__bottom {
position: absolute; left: var(--page-pad); right: var(--page-pad); bottom: 0;
z-index: 5; display: grid; grid-template-columns: 1fr auto;
grid-template-rows: auto auto auto;
gap: 0px 60px;
padding-bottom: 24px;
opacity: 0; transform: translateY(40px);
transition: opacity 1s cubic-bezier(0.16,1,0.3,1) 1.5s, transform 1s cubic-bezier(0.16,1,0.3,1) 1.5s;
}
body.is-ready .hero__bottom { opacity: 1; transform: translateY(0); }
.hero__label {
grid-column: 1;
font-size: clamp(0.9rem,1.1vw,1.1rem); font-weight: 500;
letter-spacing: 0.02em; color: rgba(255,255,255,0.6);
padding-bottom: 16px;
}
.hero__desc {
grid-column: 1; font-size: clamp(0.85rem,1vw,1.1rem);
line-height: 1.6; color: var(--text-muted);
max-width: 440px; padding-bottom: 20px;
}
.hero__actions {
grid-column: 1; display: flex; align-items: center; gap: 38px;
}
/ ===== 스크롤 다운 ===== /
.scroll-down {
display: inline-flex; align-items: center; gap: 12px;
color: rgba(255,255,255,0.6); transition: color 0.2s;
}
.scroll-down:hover { color: #fff; }
.scroll-down__text {
font-size: 0.8rem; font-weight: 400; letter-spacing: 0.02em;
text-transform: uppercase;
}
.scroll-down__circle {
width: 40px; height: 40px; border-radius: 50%;
border: 1px solid rgba(255,255,255,0.25);
display: flex; align-items: center; justify-content: center;
transition: border-color 0.2s;
}
.scroll-down:hover .scroll-down__circle { border-color: #fff; }
.scroll-down svg { width: 12px; height: 14px; }
/ ===== 어바웃 카드 ===== /
.about-card {
grid-column: 2; grid-row: 1 / 4;
display: flex; flex-direction: column;
background: #fff; border-radius: 4px; overflow: hidden;
width: clamp(180px,16vw,220px); cursor: pointer;
transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.about-card__image { width: 100%; aspect-ratio: 3/2; overflow: hidden; }
.about-card__image img { width: 100%; height: 100%; object-fit: cover; }
.about-card__content { padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.about-card__title {
font-family: "Inter Tight", sans-serif; font-size: 1.2rem; font-weight: 400;
color: #1e1e1e; margin-bottom: 8px;
}
.about-card__text {
font-size: 0.75rem; line-height: 1.5; color: rgba(30,30,30,0.7);
margin-bottom: 14px;
}
.about-card__arrow { width: 100%; max-width: 77px; height: auto; color: #1e1e1e; align-self: flex-end; }
/ ===== 접근성 ===== /
@media (prefers-reduced-motion: reduce) {
*,*::before,*::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
.heroline-inner { transform: translateY(0); opacity: 1; }
.hero__bottom { opacity: 1; transform: translateY(0); }
.logo__circle,.logoarc-1a,.logoarc-1b,.logoarc-2a,.logoarc-2b,.logo__text-group { opacity:1; filter:blur(0); transform:none; }
}
자바스크립트 (INDEX.TSX 파일 하단)
const [isReady, setIsReady] = useState(false);
useEffect(() => {
const video = document.querySelector('.hero__video');
if (!video) return;
const handleReady = () => setIsReady(true);
video.addEventListener('canplay', handleReady);
if (video.readyState >= 3) setIsReady(true);
return () => video.removeEventListener('canplay', handleReady);
}, []);
<body>에 is-ready 클래스를 적용합니다:
<body className={isReady ? 'is-ready' : ''}>