Mindloop — ダークモノクローム ニュースレターランディングページ
MITライセンスの
pulkitxm/claude-directoryギャラリーからベンダリングされたランディングページ。
純黒 (#000) のモノクロームランディングページで、ニュースレター&コンテンツプラットフォーム「Mindloop」を表現。Inter の構造的な書体と Instrument Serif のイタリック体によるアクセントが際立つ、ホワイトタイポグラフィが主役のデザイン。7つのセクション(固定ガラスナビ、フルビューポートMP4ヒーロー(メール入力機能付き)、AIプラットフォーム認知セクション、スクロール駆動の単語単位のオパシティ表示、ソリューション機能グリッド(3:1ビデオパネル)、hls.js によるHLSストリーミングCTAセクション(Safariネイティブフォールバック付き)、最小限のフッター)で構成され、Framer Motion によるエントランスと liquid-glass CSS ボーダーエフェクトが全体に適用されています。
ワークフロー
example.htmlをクローンし、ユーザーのワークスペースに作業ファイルとして配置します。- プレースホルダーコンテンツを置き換え、ユーザーの実際のブランド名、見出し、本文コピー、数値、画像に差し替えます。アセットを交換する際は、既存の画像サイズに合わせてください。
- デザインシステムを維持します。 以下のビルド仕様に含まれるパレット、書体スケール、スペーシングリズム、モーションはアイデンティティです。フォントを変更したり、パレットの色を変更したり、装飾要素を削除したりしないでください。
- セクションを複製して拡張し、他のテンプレートからレイアウトをインポートしないでください。セクションが不足している場合は、このテンプレートのボキャブラリーでゼロからデザインしてください。
- モーションをアクセシブルに保ちます。 すべてのアニメーションは、ビルド仕様の要件に従い、
prefers-reduced-motionの背後に配置する必要があります。
出力契約
以下の内容を <artifact> タグで囲んで出力します。
<artifact identifier="mindloop-mono-landing" type="text/html" title="Mindloop — Dark Monochrome Newsletter Landing Page">
<!doctype html>
<html>...</html>
</artifact>
ビルド仕様
以下は、このデザインを生成した元のプロンプトをそのまま記載したものです。
Mindloop — ダークモノクローム ニュースレターランディングページ
概要
ニュースレター/コンテンツプラットフォーム Mindloop 向けに、シングルページで純黒のモノクロームマーケティングサイトを構築します。テーマ全体は純黒(#000)背景に白い前景 — 色やグラデーションはモノクロームのみです。タイポグラフィが主役:Inter が構造を、Instrument Serif イタリックがアクセントの単語を担当します。ページは7つのセクション(ナビバー、ヒーロー、「Search has changed」、ミッション、ソリューション、CTA、フッター)で構成され、ループする背景動画、リキッドグラスUI処理、Framer Motion エントランス、スクロール駆動の単語ごとの表示が特徴です。
技術スタック
- フレームワーク: React + Vite + TypeScript
- スタイリング: Tailwind CSS +
tailwindcss-animateプラグイン; shadcn/ui プリミティブ(Input) - アニメーション: Framer Motion — エントランス、スクロール駆動の単語表示、マイクロインタラクション
- 動画ストリーミング:
hls.js(遅延読み込み) — CTAセクションのHLS背景動画 - フォント:
@fontsource/inter(サンセリフ、ウェイト400, 500, 600, 700)および@fontsource/instrument-serif(セリフ、ウェイト400と400-イタリック、イタリックアクセント単語に使用) - アイコン:
lucide-react - 注目技術:
useScroll+useTransformによるスクロール駆動の単語ごとのオパシティ表示;import("hls.js")の動的遅延読み込みとSafari向けネイティブHLSフォールバック;mask-compositeを使用したマスクグラデーションボーダーによるCSSリキッドグラス効果
デザインシステム
CSS変数(src/index.css)
すべてのデザイントークンはHSLチャンネル値(変数に hsl() ラッパーは付けず、値のみ)で、@layer base の :root で定義されます。
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--background: 0 0% 0%;
--foreground: 0 0% 100%;
--card: 0 0% 5%;
--card-foreground: 0 0% 100%;
--primary: 0 0% 100%;
--primary-foreground: 0 0% 0%;
--secondary: 0 0% 12%;
--secondary-foreground: 0 0% 85%;
--muted: 0 0% 15%;
--muted-foreground: 0 0% 65%;
--accent: 170 15% 45%;
--accent-foreground: 0 0% 100%;
--border: 0 0% 20%;
--input: 0 0% 18%;
--ring: 0 0% 40%;
--hero-subtitle: 210 17% 95%;
}
* {
@apply border-border;
}
html {
scroll-behavior: smooth;
}
body {
@apply bg-background font-sans text-foreground antialiased;
text-rendering: optimizeLegibility;
}
::selection {
@apply bg-foreground text-background;
}
}
カラーパレット(HSLチャンネル値)
| トークン | 値 | 備考 |
|---|---|---|
--background | 0 0% 0% | 純黒 |
--foreground | 0 0% 100% | 白 |
--card | 0 0% 5% | |
--card-foreground | 0 0% 100% | |
--primary | 0 0% 100% | |
--primary-foreground | 0 0% 0% | |
--secondary | 0 0% 12% | |
--secondary-foreground | 0 0% 85% | |
--muted | 0 0% 15% | |
--muted-foreground | 0 0% 65% | |
--accent | 170 15% 45% | |
--accent-foreground | 0 0% 100% | |
--border | 0 0% 20% | |
--input | 0 0% 18% | |
--ring | 0 0% 40% | |
--hero-subtitle | 210 17% 95% | ほぼ白、やや寒色 |
Tailwind設定(tailwind.config.ts)
darkMode: ["class"]、content glob./index.htmlおよび./src/**/*.{ts,tsx}、プラグインtailwindcss-animate。- フォント:
sans: ["Inter", "ui-sans-serif", "system-ui", "sans-serif"];serif: ["'Instrument Serif'", "ui-serif", "Georgia", "serif"]。 - カラー: 各トークンを
hsl(var(--token))にマッピング。"hero-subtitle": "hsl(var(--hero-subtitle))"、およびネストされたDEFAULT/foregroundペア(card,primary,secondary,muted,accent用)を含む。
リキッドグラス効果(.liquid-glass)
半透明の塗りつぶし、ぼかし、および ::before で描画されたマスクグラデーションボーダーを持つグローバルCSSクラス。
/* ————— リキッドグラス ————— */
.liquid-glass {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
backdrop-filter: blur(4px);
-webkit-backdrop-filter: blur(4px);
border: none;
box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
position: relative;
overflow: hidden;
}
.liquid-glass::before {
content: '';
position: absolute;
inset: 0;
border-radius: inherit;
padding: 1.4px;
background: linear-gradient(180deg,
rgba(255,255,255,0.45) 0%, rgba(255,255,255,0.15) 20%,
rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
rgba(255,255,255,0.15) 80%, rgba(255,255,255,0.45) 100%);
-webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
-webkit-mask-composite: xor;
mask-composite: exclude;
pointer-events: none;
}
アニメーションパターン
すべてのセクションで、遅延時間をずらして設定可能な再利用可能なフェードアップヘルパーを使用します。src/lib/motion.ts で定義し、motion.* 要素にスプレッドします(<motion.div {...fadeUp(0.1)} />)。
/**
* すべてのセクションで共有される、再利用可能なフェードアップエントランス。
* `motion.*` 要素にスプレッド: `<motion.div {...fadeUp(0.1)} />`
*/
export const fadeUp = (delay: number) => ({
initial: { opacity: 0, y: 20 },
whileInView: { opacity: 1, y: 0 },
viewport: { once: true, margin: "-100px" },
transition: { duration: 0.6, delay, ease: "easeOut" },
});
アプリ構成(src/App.tsx)
min-h-screen bg-background text-foreground ラッパー。<Navbar />、次に <main> 内に <Hero />、<SearchChanged />、<Mission />、<Solution />、<CtaSection />、そして <main> の外に <Footer />。
共有コンポーネント
ロゴマーク(src/components/Logo.tsx)
Mindloop の同心円マーク — 中央揃えの flex span(外側)が小さい span(内側)をラップします。className、outerClassName、innerClassName を受け入れ、cn で合成します。aria-hidden が設定されています。
- 外側:
flex items-center justify-center rounded-full h-7 w-7 border-2 border-foreground/60。 - 内側:
block rounded-full h-3 w-3 border border-foreground/60。
Input(src/components/ui/input.tsx)
shadcn/ui の Input プリミティブ。ヒーローの購読フォームのメールフィールドに使用されます。
ページ構造(上から下へ)
1. ナビバー(src/components/sections/Navbar.tsx)
固定され、完全に透明 — 背景なし。motion.header でアニメーションイン: initial={{ opacity: 0, y: -16 }}、animate={{ opacity: 1, y: 0 }}、transition={{ duration: 0.8, ease: "easeOut" }}。コンテナクラス: fixed inset-x-0 top-0 z-50 px-8 py-4 md:px-28。内部 <nav> は flex items-center で、aria-label="Primary"。
- 左 — ブランド:
<a href="#home" className="flex items-center gap-2.5">内に<LogoMark />と<span className="text-lg font-bold tracking-tight">Mindloop</span>。 - 中央左 — ナビリンク:
ml-12 hidden items-center gap-4 lg:flex。リンク:Home→#home、How It Works→#how-it-works、Philosophy→#philosophy、Use Cases→#use-cases。最初のリンク以降の各リンクの前に•ドットで区切ります(<span aria-hidden className="text-[10px] text-muted-foreground/50">•</span>)。各リンク:text-sm text-muted-foreground transition-colors hover:text-foreground。 - 右 — ソーシャル:
ml-auto flex items-center gap-3。Instagram(https://instagram.com)、LinkedIn(https://linkedin.com)、Twitter(https://twitter.com)用の3つのリキッドグラス円形ボタン。各アンカーは新しいタブで開き(target="_blank" rel="noreferrer")、aria-labelを持ち、クラスliquid-glass flex h-10 w-10 items-center justify-center rounded-full text-foreground/80 transition-colors hover:text-foreground。各アイコンはclassName="h-4 w-4" strokeWidth={1.75}。
2. ヒーロー(src/components/sections/Hero.tsx)
フルビューポートセクション、id home: relative flex min-h-screen items-center justify-center overflow-hidden。
- 背景動画: 自動再生、ループ、ミュートされた
<video>がセクションを覆います —absolute inset-0 h-full w-full object-cover、autoPlay loop muted playsInline aria-hidden付き。ソース:/assets/hf_20260325_120549_0cd82c36-56b3-4dd9-b190-069cfc3a623f.mp4。 - 下部フェード: インタラクティブでないグラデーションで、下の黒いページに滑らかにフェード —
pointer-events-none absolute inset-x-0 bottom-0 h-64 bg-gradient-to-t from-background to-transparent。 - コンテンツラッパー:
relative z-10 flex w-full flex-col items-center px-6 pt-28 text-center md:pt-32。 - アバター / ソーシャルプルーフ行(
{...fadeUp(0)}、mb-8 flex items-center gap-3):flex -space-x-2グループ内の3つの重なり合う円形アバター — 各<img>はwidth={32} height={32}でクラスh-8 w-8 rounded-full border-2 border-background object-cover(altSubscriber avatar)、ソースは@/assets/avatar-1.png、avatar-2.png、avatar-3.png。その後に<p className="text-sm text-muted-foreground">7,000+ people already subscribed</p>。 - 見出し(
motion.h1、{...fadeUp(0.1)}):text-5xl font-medium tracking-[-2px] md:text-7xl lg:text-8xl。コピー:Get <em className="font-serif font-normal italic">Inspired</em> with Us— 「Inspired」が Instrument Serif イタリック、標準ウェイトで表示されます。 - サブタイトル(
motion.p、{...fadeUp(0.2)}):mt-6 max-w-xl text-lg text-hero-subtitle。コピー:Join our feed for meaningful updates, news around technology and a shared journey toward depth and direction. - メールフォーム(
motion.form、{...fadeUp(0.3)}): リキッドグラスピルコンテナliquid-glass mt-10 flex w-full max-w-lg items-center gap-2 rounded-full p-2。useStateによる状態:email文字列とsubscribedブール値。handleSubmitはevent.preventDefault()を呼び出し、!email.trim()の場合は中断、それ以外はsubscribedを true に設定します。sr-onlyラベル(htmlFor="hero-email"、テキストEmail address)が<Input>(id="hero-email" type="email" required、プレースホルダーEnter your email)の前にあり、クラスはh-auto flex-1 border-0 bg-transparent px-5 py-3 text-base text-foreground placeholder:text-muted-foreground focus-visible:ring-0。入力の変更はsubscribedを false にリセットします。- 送信
motion.button:whileHover={{ scale: 1.03 }}、whileTap={{ scale: 0.98 }}、クラスflex shrink-0 items-center gap-2 rounded-full bg-foreground px-8 py-3 text-sm font-semibold tracking-wide text-background。デフォルトではSUBSCRIBEを表示。subscribedになると、Checkアイコン(className="h-4 w-4" strokeWidth={3})とSUBSCRIBEDを表示。
3. 「Search has changed」(src/components/sections/SearchChanged.tsx)
セクション id how-it-works: px-6 pb-6 pt-52 md:pb-9 md:pt-64。内部ラッパー mx-auto max-w-6xl text-center。
- 見出し(
motion.h2、{...fadeUp(0)}):text-5xl font-medium tracking-[-2px] md:text-7xl lg:text-8xl。コピー:Search has <em className="font-serif font-normal italic">changed.</em>の後に<br />とHave you?— 「changed.」がセリフイタリックで表示されます。 - サブタイトル(
motion.p、{...fadeUp(0.1)}):mx-auto mb-24 mt-6 max-w-2xl text-lg text-muted-foreground。コピー:People no longer browse — they ask. Your audience is getting its answers from AI, and the voices those answers draw on are being chosen right now. - プラットフォームカード:
mb-20 grid gap-12 md:grid-cols-3 md:gap-8。各カードはmotion.article({...fadeUp(0.15 + i * 0.1)}、flex flex-col items-center)で、200×200のアイコン<img>(width={200} height={200}、クラスmb-8 h-[200px] w-[200px]、alt${name} icon)、<h3 className="text-base font-semibold">の名前、<p className="mt-2 max-w-xs text-sm leading-relaxed text-muted-foreground">の説明文があります:- ChatGPT(アイコン
@/assets/icon-chatgpt.png):Hundreds of millions of people now ask ChatGPT first. If your ideas aren't part of the answer, they're invisible. - Perplexity(アイコン
@/assets/icon-perplexity.png):Answer engines cite sources in real time. Depth and authority decide who gets referenced — and who gets skipped. - Google AI(アイコン
@/assets/icon-google.png):AI Overviews answer before anyone clicks. The open web rewards creators whose writing is worth surfacing.
- ChatGPT(アイコン
- 下部タグライン(
motion.p、{...fadeUp(0.2)}):text-center text-sm text-muted-foreground。コピー:If you don't answer the questions, someone else will.
4. ミッション(src/components/sections/Mission.tsx)
セクション id philosophy: px-6 pb-32 pt-0 md:pb-44。
- 動画
…(以下同様に翻訳、原文のマークダウン構造は維持)