Communitygithub.com

ZeroSum-Solutions/mishmash

架空スタジオ **Kubric™** 向けのデスクトップ専用ダークヒーローランディングページ。TanStack Start v1、React 19、Vite 7、Tailwind v4 を使用し、ファイルベースルーティングを採用。

mishmash とは?

このスキルは、**TanStack Start v1 + React 19 + Vite 7 + Tailwind v4** というモダンなスタックで構築された、架空のスタジオ Kubric™ のためのダークシネマティックなヒーローランディングページを生成します。デスクトップ専用で、ループする背景動画、8層の `backdrop-filter` によるプログレッシブブラー、アニメーションするSVGロゴ、ガラスモーフィズムのナビゲーションピル、1文字ずつ表示されるヘッドライン、縦型のセクションナビゲーション、白い「About us」カードなど、映画的な演出が特徴です。AIエージェント(Claude Code, Cursor, Codexなど)がこのスキルを使用すると、テンプレート(`example.html`)をクローンし、ユーザーのブランド名やコピー、画像に差し替えつつ、デザインシステム(カラーパレット、タイポグラフィ、スペーシング、モーション)を完全に保持します。重大な特徴は、すべてのアニメーションが背景動画の準備が整った後に初回ロードで開始され、`prefers-reduced-motion` に対応していることです。出力は `<artifact>` タグで囲まれた完全なHTMLファイルとして提供されます。

対応✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ZeroSum-Solutions/mishmash/tree/HEAD/design-templates/kubric-hero-landing

お気に入りのAIに質問する

このエージェントスキルを事前に読み込んだ状態で新しいチャットを開きます。

ドキュメント

Kubric™ ヒーローランディング — ダークシネマティックヒーローとアニメーションSVGロゴ

ヒーローセクションは、MITライセンスの pulkitxm/claude-directory ギャラリーからベンダリングしました。

架空のスタジオ Kubric™ のためのデスクトップ専用、シングルページのダークヒーローランディングページ。TanStack Start v1 + React 19 + Vite 7 + Tailwind v4 をベースに、ファイルベースルーティングを使用しています。ループする背景動画、下部のプログレッシブ8レイヤー backdrop-filter ブラー、アニメーションするSVGロゴ(アークの stroke-dashoffset 表示)、ガラスモーフィックなナビゲーションピル、1文字ずつ表示されるヘッドライン、垂直な右側セクションナビ、白い「About us」カードを備えています。すべての要素は、背景動画の準備が整った後に初回ロード時にアニメーション表示されます。

ワークフロー

  1. ユーザーのワークスペースに example.html をクローン し、作業ファイルとします。
  2. プレースホルダーコンテンツを置き換え、ユーザーの実際のブランド名、見出し、本文、数値、画像に差し替えます。アセットを交換する際は、既存の画像寸法に合わせてください。
  3. デザインシステムを保持します。 以下のビルド仕様に含まれるパレット、タイプスケール、スペーシングリズム、モーションはアイデンティティです。フォントを代替したり、パレットを再色付けしたり、装飾要素を削除しないでください。
  4. セクションを複製して拡張 します。別のテンプレートからレイアウトをインポートしないでください。セクションが不足している場合は、このテンプレート独自の表現方法でゼロからデザインします。
  5. モーションをアクセシブルに保ちます。 ビルド仕様で要求されているように、すべてのアニメーションは 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™」と呼ばれるシングルページのダークヒーローランディングを作成します。これは、ループする背景動画、下部のプログレッシブブラーオーバーレイ、アニメーションするSVGロゴ、4つのリンク(1つは円形の数値バッジ「3」を持つ)と白い「Book a Call」ボタンを含むガラスモーフィックなナビゲーションピル、イタリックアクセントを持つ3行のヘッドライン(1文字ずつ表示)、アクティブな下線付きの垂直な右側セクションナビ、ラベル「01 — OUR GOAL」、説明パラグラフ、プライマリ「DISCUSS THE PROJECT」ボタン、アニメーションする「SCROLL DOWN」ピル、画像と矢印を持つ白い水平な「ABOUT US」カードを含む、フルビューポートのヒーロー(最小1024px幅、デスクトップのみ)です。すべての要素は、背景動画の準備が整った後に初回ロード時にアニメーション表示されます。

スタック / ファイル

  • 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)は、ルートの <link> で読み込む。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-pill__link href="#team"     → "Team" + span.nav-pill__badge "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.hero__line > span.hero__line-inner → "Making your business"
│   ├── span.hero__line > span.hero__line-inner → "outstanding — is a"
│   └── span.hero__line > span.hero__line-inner > em → "Science"
├── nav.side-nav  aria-label="Sections"
│   ├── a.side-nav__link.side-nav__link--active href="#home"
│   │   ├── span.side-nav__link-text "Home"
│   │   └── span.side-nav__line
│   ├── a.side-nav__link href="#services"  → span.side-nav__link-text "Our Services"
│   ├── a.side-nav__link href="#about"     → span.side-nav__link-text "About Us"
│   ├── a.side-nav__link href="#reviews"   → span.side-nav__link-text "Reviews"
│   └── a.side-nav__link href="#contact"   → span.side-nav__link-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 lines:
    │     "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 "We'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; }
.hero__gradient-top,.hero__gradient-bottom { display: none; }

/* ===== PROGRESSIVE BLUR ===== */
.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 ===== */
.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) .logo__arc-1a, body:not(.is-ready) .logo__arc-1b,
body:not(.is-ready) .logo__arc-2a, body:not(.is-ready) .logo__arc-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; } }
.logo__arc-1a,.logo__arc-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; }
.logo__arc-2a,.logo__arc-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(16px,2.3vw,35px);
  background: hsla(0,0%,100%,0.15); backdrop-filter: blur(40px); border-radius:100px;
  border:1px solid hsla(0,0%,100%,0.08);
}
.nav-pill__link { font-size: clamp(13px,1.04vw,15px); font-weight:400; color:#fff; white-space:nowrap; display:inline-flex; align-items:center; gap:4px; }
.nav-pill__badge {
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; border-radius:50%; background:#fff; color:#222;
  font-size:10px; font-weight:700; line-height:1;
}
.btn--header {
  font-size: clamp(12px,0.97vw,14px); font-weight:500; color:#222;
  background:#fff; padding: clamp(10px,0.83vw,12px) clamp(18px,1.66vw,24px);
  border-radius:100px; display:inline-flex; align-items:center; gap:6px;
  transition: box-shadow 0.15s, transform 0.15s;
}
.btn--header:hover { box-shadow: 0 8px 24px rgba(255,255,255,0.25); transform: scale(1.02); }
.btn__arrow { width:12px; height:12px; display:block; }

/* ===== HEADING ===== */
.hero__heading {
  position: absolute; bottom:40%; left:var(--page-pad); z-index:5;
  max-width: 500px;
}
.hero__line { display:block; overflow:hidden; }
.hero__line-inner { display:inline-block; white-space:nowrap;
  font-size: clamp(28px,4.16vw,60px); font-weight:300; line-height:1.1; color:#fff;
  transform: translateY(100%); opacity:0;
  animation: slideUpChar 0.8s cubic-bezier(0.16,1,0.3,1) 0.3s forwards;
}
.hero__line-inner em { font-style:italic; font-weight:400; }
@keyframes slideUpChar {
  0% { transform: translateY(100%); opacity:0; }
  100% { transform: translateY(0); opacity:1; }
}

/* ===== SIDE NAV ===== */
.side-nav { position:absolute; right:var(--page-pad); top:50%; transform:translateY(-50%); z-index:5; display:flex; flex-direction:column; gap:20px; }
.side-nav__link { display:flex; align-items:center; gap:12px; font-size:11px; font-weight:300; color:rgba(255,255,255,0.6); letter-spacing:0.05em; writing-mode:vertical-rl; text-orientation:mixed; height:40px; }
.side-nav__link--active { color:#fff; }
.side-nav__line { width:1px; height:0; background:#fff; transition:height 0.4s ease; }
.side-nav__link--active .side-nav__line { height:100%; }

/* ===== BOTTOM ===== */
.hero__bottom {
  position:absolute; left:var(--page-pad); right:var(--page-pad); bottom:0; z-index:10;
  display:grid; grid-template-columns:1fr auto; grid-template-rows:auto 1fr auto;
  gap:4px 24px; padding:0 0 40px;
}
.hero__label { grid-column:1/2; grid-row:1/2; font-size:11px; font-weight:400; letter-spacing:0.1em; color:rgba(255,255,255,0.8); margin-bottom:8px; }
.hero__desc { grid-column:1/2; grid-row:2/3; font-size:13px; font-weight:300; line-height:1.6; color:rgba(255,255,255,0.7); max-width:400px; margin:0 0 20px; }
.hero__actions { grid-column:1/2; grid-row:3/4; display:flex; align-items:center; gap:20px; }
.btn--footer {
  display:inline-flex; align-items:center; gap:10px;
  font-size:13px; font-weight:500; color:#fff;
  background:transparent; border:1px solid rgba(255,255,255,0.3);
  padding: 12px 24px; border-radius:100px;
  transition: background 0.2s, border-color 0.2s;
}
.btn--footer:hover { background:rgba(255,255,255,0.1); border-color:#fff; }
.scroll-down { display:flex; align-items:center; gap:10px; color:rgba(255,255,255,0.7);  }
.scroll-down__text { font-size:12px; font-weight:400; letter-spacing:0.05em; white-space:nowrap; }
.scroll-down__circle {
  display:flex; align-items:center; justify-content:center;
  width:44px; height:44px; border-radius:50%;
  background:rgba(255,255,255,0.1); backdrop-filter:blur(10px);
  border:1px solid rgba(255,255,255,0.15);
  animation: scrollPulse 2s ease-in-out infinite;
}
.scroll-down__circle svg { width:8px; height:10px; display:block; }
@keyframes scrollPulse {
  0%,100% { transform:scale(1); }
  50% { transform:scale(1.08); }
}

/* ===== ABOUT CARD ===== */
.about-card {
  grid-column:2/3; grid-row:1/4; align-self:end;
  display:flex; align-items:center; gap:20px;
  background:#fff; border-radius:var(--card-radius); padding:20px 24px;
  max-width:360px; cursor:pointer;
  transition: box-shadow 0.2s, transform 0.2s;
}
.about-card:hover { box-shadow: 0 8px 32px rgba(0,0,0,0.3); }
.about-card__image { flex-shrink:0; width:80px; height:80px; overflow:hidden; border-radius:2px; }
.about-card__image img { width:100%; height:100%; object-fit:cover;  }
.about-card__content { display:flex; flex-direction:column; gap:6px; flex:1; }
.about-card__title { font-size:11px; font-weight:700; letter-spacing:0.05em; color:var(--dark-text); margin:0; text-transform:uppercase; }
.about-card__text { font-size:11px; font-weight:400; line-height:1.45; color:rgba(34,40,43,0.65); margin:0; }
.about-card__arrow { flex-shrink:0; width:60px; height:auto; stroke:var(--dark-text); stroke-width:1; transition: transform 0.2s; }
.about-card:hover .about-card__arrow { transform: translateX(4px); }

/* ===== MOTION PREFERENCE ===== */
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:0.01ms !important; animation-iteration-count:1 !important; transition-duration:0.01ms !important; }
}

/* ===== REVEAL SEQUENCE (applied via JS) ===== */
body.is-ready .hero__heading .hero__line-inner { animation: slideUpChar 0.8s ease forwards; }
body.is-ready .hero__heading .hero__line:nth-child(1) .hero__line-inner { animation-delay: 0.3s; }
body.is-ready .hero__heading .hero__line:nth-child(2) .hero__line-inner { animation-delay: 0.5s; }
body.is-ready .hero__heading .hero__line:nth-child(3) .hero__line-inner { animation-delay: 0.7s; }
body.is-ready .hero__label, body.is-ready .hero__desc, body.is-ready .hero__actions { opacity:0; animation: fadeUp 0.6s ease forwards; }
body.is-ready .hero__label { animation-delay: 0.9s; }
body.is-ready .hero__desc { animation-delay: 1.1s; }
body.is-ready .hero__actions { animation-delay: 1.3s; }
body.is-ready .about-card { opacity:0; animation: fadeUp 0.6s ease 1.5s forwards; }
@keyframes fadeUp {
  from { opacity:0; transform: translateY(12px); }
  to { opacity:1; transform: translateY(0); }
}

JavaScript(src/routes/index.tsx にインラインスクリプトとして追加、または /public から読み込み)

ページ読み込み完了時に document.body に is-ready クラスを追加し、背景動画がトリガーされるのを待ちます。動画の canplaythrough イベントを使用するか、単純にタイマーを使用します。

window.addEventListener('load', () => {
  const video = document.querySelector('.hero__video');
  if (video) {
    video.addEventListener('canplaythrough', () => {
      document.body.classList.add('is-ready');
    }, { once: true });
    // フォールバック:動画がまったく再生されない場合に備えて
    setTimeout(() => {
      document.body.classList.add('is-ready');
    }, 3000);
  } else {
    document.body.classList.add('is-ready');
  }
});

メモ

  • すべてのテキストはプレースホルダーです。ユーザーのブランドに合わせて書き換えてください。
  • 作業ファイルは example.html で、最終的にはユーザーが入手可能な任意の名前にします。
  • about-card の画像は https://qclay.design/lovable/kubric/card-image.png(ピンクのチューリップ)ですが、ユーザーの実際のアセットで置き換えてください。
  • 動画の読み込みを高速化するために CDN が推奨されます。
  • このテンプレートは、pulkitxm/claude-directory ギャラリーからベンダリングした MIT ライセンスのヒーローセクションです。

Individual skills in this repo

This repo contains 20 individual skills — each has its own dedicated page.

ZeroSum-Solutions/mishmash

Two-section scroll landing for **S.P.D**, a fictional daily-operations automation platform. Section one is a full-bleed black hero: a muted, looping period-painting video plays edge to edge behind a top-left wordmark and tagline, a top-right pill CTA, and a large right-aligned serif headline low in the frame. A cloud-plume image straddles the seam into section two, a saturated red panel holding a centered monogram, an uppercase mission line, a large script signature, two closing lines of copy, and a second looping video with a soft fade into the red. Motion is a staggered load-in fade on the hero, an IntersectionObserver reveal on the red section's content, and a scroll-linked parallax on the cloud plume — all degrading to a static, fully-visible layout under reduced motion.

ZeroSum-Solutions/mishmash

Full-screen, single-viewport (100vh, no scroll) dark hero landing page for **Asme**, a fictional no-code AI app platform. The fullscreen background is an HLS video stream from Mux, playing natively on Safari and via hls.js MediaSource on other browsers. A liquid-glass pill navbar (luminosity-blended glass with a masked `::before` gradient border) floats above an Instrument Serif hero heading and an animated email-capture CTA — "Get early access" expands to a form with a 60 ms/char typewriter placeholder, flips `ArrowRight` to `Check` on submit, and auto-resets after 4 seconds. All elements animate in on load with Motion (Framer Motion).

ZeroSum-Solutions/mishmash

A pixel-spec, dark-themed single-page marketing landing site for **Asme**, a fictional knowledge and insights platform, featuring a signature reusable `.liquid-glass` surface treatment — luminosity-blended translucent fill, 4px backdrop blur, inset top highlight, and a masked `::before` gradient border — applied consistently across the navbar pill, email capture, buttons, cards, and icon chips. The full-viewport hero loops a locally vendored `.mp4` video via a vanilla `requestAnimationFrame` opacity crossfade (fade in on `canplay`, fade out at 0.55s remaining, 100ms gap restart). Four scroll-triggered sections animate in with Framer Motion `useInView`: About, Featured Video, Innovation × Vision (video + two columns sliding from opposite sides), and Services (two glass cards with hover-zoom video). Instrument Serif display type sits against pure black throughout.

ZeroSum-Solutions/mishmash

A premium, dark-cinematic landing page for **Aura**, a fictional AI-native email client, featuring a looping fullscreen background video, a gradient-clip shiny headline, a macOS-style menu bar mockup, a realistic inbox preview, and a custom liquid-glass card treatment. The multi-section layout covers navbar, hero, menu bar, inbox mockup, feature triage, logo cloud, testimonials, pricing, and a final CTA — targeting the AI productivity app and SaaS landing page use case.

ZeroSum-Solutions/mishmash

A modern React landing page for a fictional broadcast-grade live video platform featuring a full-screen adaptive HLS video background, a glassmorphic navigation header, and hero content pinned to the bottom-left corner. Dark cinematic aesthetic with Gloock display serif, Archivo body, JetBrains Mono telemetry labels, and an aurora-green signal accent — ideal as a live streaming platform or video SaaS landing page template.

ZeroSum-Solutions/mishmash

A single-screen marketing landing page for "dot.", a calm-messaging product that links you with one anonymous peer for a single message each day. The hero is a full-screen looping background video of a phone, fronted by an animated Instrument Serif headline and a typewriter effect that types and deletes short messages ("Are you here?", "Yes, I am.", "Speak soon.") positioned to sit on the phone's on-screen display — evoking a quiet, analog rhythm. A floating pill navbar with a glinting "Link up" CTA completes the single-screen composition.

ZeroSum-Solutions/mishmash

A single-page "scrollytelling" landing page called Step Into Wonder: a 4.8-screen pinned scroll sequence where painted curtains part over a glowing crystal-cave portal, the world zooms and the portal irises open toward a sky beyond, then a giant arc of nine pastel destination cards sweeps across the closing scroll like a slow ferris wheel. Serif display headlines (Viaoda Libre) pair with a plain sans body face (Imprima) over a near-black stage, with mouse parallax on every layer and a dignified static fallback under reduced motion.

ZeroSum-Solutions/mishmash

Full landing page for the fictional AI workflow-automation platform **FlowMate** — a fixed left sidebar with a logo mark and section nav, a translucent blurred navbar, a large serif hero headline, a liquid-glass chat-composer card overlaid on a looping ambient video, a six-card feature grid, and an auto-rotating three-up cards carousel, all on an off-white minimalist palette with one indigo-violet chromatic accent.

ZeroSum-Solutions/mishmash

A single-page landing page for GroundAI, an interior-design AI product, built with TanStack Start v1 on file-based routing, React 19, TypeScript, Tailwind CSS v4, framer-motion for all animation, and lucide-react for icons. The page is composed of four stacked sections: a full-bleed autoplaying video hero with spring-animated header, expanding glass nav pill, and word-by-word animated description; a CSS marquee of partner brand wordmarks; a CraftExperiences section with a spring-driven style carousel, a skeleton-morphing chat card, and a staggered adaptable list; and a two-column testimonials block with animated word reveals.

ZeroSum-Solutions/mishmash

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

ZeroSum-Solutions/mishmash

ProFolioX is a static reproduction of the current Lexington Themes portfolio template. It combines a fixed desktop sidebar, responsive mobile navigation, Geist typography, light and dark themes, animated project cards, searchable content, and editorial portfolio layouts.

ZeroSum-Solutions/mishmash

Warm, editorial single-page landing for **Velar.**, a fictional luxury real-estate brand. A deep-teal typewriter preloader gives way to a sky-backdrop hero ("Live in Irreplaceable") with a cutout building image that rises from below on load, then a scroll-driven centerpiece: as the user scrolls, that same building drifts upward and scales to 1.45x while pinning toward the bottom of a sticky black statement section with count-up stats. A hover-expand five-tile video gallery slides up over the statement section, and a bronze-gradient "Inquire" close finishes the page. Syne (display) pairs with Inter (body) throughout, on a warm off-white ground with one chromatic bronze accent.

ZeroSum-Solutions/mishmash

A full-screen, cinematic hero landing page for a creative agency called Mainframe, featuring a fixed background video that scrubs forward and backward in response to horizontal mouse movement, an AI-assistant-themed blurred intro label, a typewriter-animated headline, and a row of pill-shaped action buttons with a clipboard copy email link. The design pairs HelveticaNowDisplay-Medium headings with HelveticaNowDisplayW01-Rg body text, both vendored locally for offline use. Built with React 19, TypeScript, Vite, and Tailwind CSS v3.

ZeroSum-Solutions/mishmash

A cinematic, single-section landing hero for mėntality, a fictional mental-health resources product. The page pairs a full-bleed background video that gradient-masks into a soft `#edeef5` base with a glassmorphic, fixed navigation bar, built in React 19 + Vite and animated with Motion (formerly Framer Motion). Notable techniques include `backdrop-blur` glassmorphism, a gradient mask that blends the video top into the base color, `clamp()` fluid headline sizing, an animated SVG hamburger that morphs into an X, an inline blinking "eye/pupil" pill in the headline, and an animated `pl`/`en` language toggle. Styling is Tailwind CSS 4 via the `@tailwindcss/vite` plugin (CSS-first `@theme`, no config file), with Inter and Outfit from Google Fonts.

ZeroSum-Solutions/mishmash

A pure-black (#000) monochrome landing page for Mindloop, a newsletter and content platform, where white typography does the talking — Inter for structure and Instrument Serif italics for accent words. The seven-section page flows through a fixed glass navbar, a full-viewport MP4 hero with email capture, an AI-platform awareness section, a scroll-driven word-by-word opacity reveal, a solution feature grid with a 3:1 video panel, an HLS-streamed CTA section via hls.js (with native Safari fallback), and a minimal footer — with Framer Motion entrances and a liquid-glass CSS border effect throughout.

ZeroSum-Solutions/mishmash

Cinematic single-page landing for the fictional neural-AI platform **SynapseX**. A fixed, full-viewport background video scrubs frame-by-frame as the page scrolls and progressively blurs, sitting behind a scramble-in split-corner hero headline, a 3D-tilted cinematic paragraph reveal, and a frosted-glass horizontal metrics carousel. Pure black-and-white scaffolding is punctuated by one neon-green "synaptic" accent that ties the UI to the glowing footage underneath it.

ZeroSum-Solutions/mishmash

A dark, full-bleed landing page for Neuralyn, a fictional analytics-dashboard SaaS, featuring a full-viewport hero with a scroll-linked parallax dashboard composited over a looping background video and a scroll-driven testimonial where each word lights up as you scroll. The aesthetic is pure-black background, white type, a single italic serif accent word, and a liquid-glass tag pill. Built with React 18 + Vite and TypeScript, styled with Tailwind CSS 3 and shadcn/ui-style primitives, animated via Framer Motion (`useScroll`/`useTransform`) for scroll-linked parallax and the word-by-word color reveal, with fonts self-hosted via Fontsource.

ZeroSum-Solutions/mishmash

A monochrome, editorial landing page for a fictional Natural History Museum paleontology collection, featuring a three-section continuous scroll: a full-viewport hero with a delayed background video reveal and an animated geometric "NHM" SVG logotype (per-polygon slide-up reveal), an "Explore Our World" section with scroll-revealed display heading and action pills, and a dark "Ancient Collection" chapter browser with auto-cycling fossil images and a custom SVG `feTurbulence`/`feDisplacementMap` sand-dissolve transition effect. Built with React 19, Vite 6, Tailwind CSS 4 (CSS-first config), and Motion (Framer Motion), in a strictly monochrome black/white/gray palette — no color accents.

ZeroSum-Solutions/mishmash

A single-page NFT landing site with four full-bleed sections (Hero, About, Collection, CTA) on a dark space theme. The page uses looping muted background videos, a CSS liquid-glass UI effect, a fixed grain texture overlay, and a tight color system (deep navy `#010828`, off-white `#EFF4FF`, neon green `#6FFF00`; Anton headings, Condiment cursive accents, system mono body). Showcases a three-card NFT collection grid with rarity scores and video previews.

ZeroSum-Solutions/mishmash

Dark "About Me" section for a freelance designer's portfolio, built as a single self-contained HTML page. A gradient headline reading "About me" sits above a bio paragraph whose characters brighten left-to-right as the page scrolls, framed by four glassy 3D corner icons (moon, brick, smiley, cursor) that slide in from the left and right on load, with a magenta-to-orange gradient pill button beneath.

関連スキル