Neus Landing SaaS
製品ランディングページ(ヒーロー、機能、オプションの社会的証明、オプションの価格、フッターCTA)を生成します。
重要: このページはAppTemplateを使用しません。公開マーケティングページです。
開始前に
以下の「共有ルール」は常にアクティブです。さらに以下を参照してください:
.agents/skills/_shared/anti-slop.md— 必須の品質ルール(「マーケティングページ」セクション).agents/skills/_shared/prop-constraints.md— 禁止されたプロパティと存在しないコンポーネント.agents/skills/_shared/component-catalog.md— Button、Card、Linkのセクション.agents/skills/_shared/theme-config.md— ThemeProviderの設定.agents/skills/_shared/design-personality.md— VISUAL DIRECTIVE形式、パーソナリティ軸.agents/skills/_shared/checklist.md— P0/P1/P2ゲート.agents/skills/_shared/dark-surfaces.md— ダークモードCSSレシピ(モード: darkの場合に参照).agents/skills/_shared/light-surfaces.md— ライトモードCSSレシピ(モード: lightの場合に参照).agents/skills/_shared/layout-patterns.md— オプションの高度なランディングパターンreferences/landing-sections.md— セクションパターン
フェーズ 0 — データ収集
以下の質問をユーザーに尋ね、完全な返信を待ってから生成を開始してください。
価格 — ランディングページに価格セクションを含めますか?
- はい、プランと価格を表示(推奨) — 価格プランカードのあるセクション
- いいえ、ヒーロー+機能+CTAのみ — 価格なしのランディング
社会的証明 — 社会的証明(お客様の声や指標)を含めますか?
- はい、実際のお客様の声・指標 — ユーザーが提供
- いいえ — お客様の声セクションを完全に省略
また、返信には以下を含めてください:
- 製品名とタグライン(1行)
- ハイライトする機能(最大6つ、正確に: タイトル+短い説明)
- 主要CTA: ボタンテキスト+遷移先
- 価格がある場合: プラン(名前+価格+期間+含まれる機能 — 正確に)
- 社会的証明がある場合: 正確なお客様の声または指標(「いいえ」の場合は完全に省略)
- プライマリテーマカラー(16進数、または「デフォルトを使用」)
- ヘッダーナビゲーション項目(ナビゲーションリンク)
- テーマモード: light または dark?(デフォルト: light)
- 視覚的パーソナリティ: clean/airy、editorial/layered、bold/kinetic、structured?(任意)
フェーズ 1 — 視覚的解決
コードを書く前に、VISUAL DIRECTIVEを解決してください:
- モード:
dark→dark-surfaces.mdを参照;キャンバスに#0a0a14、ガラスナビ、機能に<Card variant="glass">、ヒーローボタンはcolor="white" - モード:
light→light-surfaces.mdを参照;キャンバスにvar(--color-white)、標準の<Card>、color="primary"のボタン
宣言:
VISUAL DIRECTIVE
Mode: dark | light
Personality: [入力から、またはデフォルト: Structured]
Surface file: dark-surfaces.md | light-surfaces.md
フェーズ 1b — P0検証
- データの捏造は一切禁止 — すべてのデータは入力から、またはユーザーが明示的に使用を指示したものに基づく
- AppTemplateなし、サイドバーなし
- 入力からの機能をそのまま使用(「直感的な」追加はしない)
- 「社会的証明なし」と言われた場合 → 出力にお客様の声はゼロ
フェーズ 2 — アーティファクト生成
各セクションのパターンについては references/landing-sections.md を参照してください。
次の順序で3つのファイルを生成します: ProductLanding.types.ts → ProductLanding.tsx → ProductLanding.styles.css
ProductLanding.types.ts
export type NavItem = {
label: string;
href: string;
};
export type Feature = {
icon: string;
title: string;
description: string;
};
export type PricingPlan = {
name: string;
price: string;
period: string;
features: string[];
cta: string;
highlighted?: boolean;
};
export type ProductLandingProps = {
// 静的なマーケティングコンテンツ — APIプロパティはなし
onGetStarted?: () => void;
};
基本コンポーネント構造
import { Button, Card, Link } from 'neus-ui';
import './ProductLanding.styles.css';
import type { ProductLandingProps } from './ProductLanding.types';
export const ProductLanding = ({ onGetStarted }: ProductLandingProps) => {
return (
<div className="landing">
{/* 1. ナビゲーションヘッダー */}
<header className="landing__nav">...</header>
{/* 2. ヒーロー */}
<section className="landing__hero">
<h1>[製品名] — [入力からのタグライン]</h1>
<p>[入力からのサブ見出し]</p>
<div className="landing__hero-cta">
<Button label="[入力からのCTA]" variant="solid" color="primary" />
{/* ヒーロー内のセカンダリリンク: type="primary" を使用 — ヒーローは明るい背景 */}
<Link label="仕組みを見る" type="primary" href="#features" />
</div>
</section>
{/* 3. 機能(入力からの正確な機能) */}
<section className="landing__features">
<h2>機能</h2>
<div className="landing__features-grid">
{/* 機能ごとにCard — 指定された通り */}
</div>
</section>
{/* 4. 社会的証明(リクエストがありデータが提供された場合のみ) */}
{/* 5. 価格(リクエストされた場合のみ) */}
{/* 6. フッターCTA */}
{/* 7. フッター */}
</div>
);
};
機能タイル
Card を icon、title、description スロットとともに使用:
<Card
icon={<SomeIcon size={24} color="var(--color-primary)" />}
title="[入力からの機能タイトル]"
description="[入力からの機能説明]"
/>
価格カード
Card を highlighted プロパティとともに使用。children に完全なコンテンツを構成:
<Card highlighted={plan.highlighted}>
{plan.highlighted && <span className="pricing__badge">最も人気</span>}
<p className="pricing__name">{plan.name}</p>
<div className="pricing__amount">
<span className="pricing__price">{plan.price}</span>
<span className="pricing__period">{plan.period}</span>
</div>
<ul className="pricing__features">
{plan.features.map((f) => (
<li key={f}><span aria-hidden="true">✓</span> {f}</li>
))}
</ul>
<Button
label={plan.cta}
variant={plan.highlighted ? "solid" : "outlined"}
color="primary"
fullWidth
/>
</Card>
不足しているNeus UIコンポーネント
- NavigationBar:
<header>と flex nav で代用 — 保留中として文書化 - TestimonialCard:
CardをavatarImageと blockquote コンテンツで使用(リクエストされた場合)
フェーズ 3 — ProductLanding.styles.css
VISUAL DIRECTIVE からモードを適用。高度なパターン(統計行、セクションヘッド分割、ヒーローショーケースグリッド、コンパクトタイルグリッド、アイブロウピル)については .agents/skills/_shared/layout-patterns.md のランディングセクションを参照してください。
@keyframes neus-fade-up {
from { opacity: 0; transform: translateY(16px); }
to { opacity: 1; transform: translateY(0); }
}
/* ライトモード(デフォルト) */
.landing { font-family: var(--font-display); }
.landing__nav {
position: sticky;
top: 0;
z-index: 100;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 2rem;
/* ライトガラスナビ */
background: rgba(255, 255, 255, 0.85);
backdrop-filter: blur(20px);
-webkit-backdrop-filter: blur(20px);
border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}
/* ダークモードナビ — モード: dark の場合に適用 */
/* .landing__nav { background: rgba(10, 10, 20, 0.8); border-bottom: 1px solid rgba(255,255,255,0.06); } */
.landing__hero {
display: grid;
grid-template-columns: 1.4fr 0.6fr;
align-items: center;
gap: 3rem;
padding: 6rem 2rem;
max-width: 1200px;
margin: 0 auto;
}
/* 右側に視覚要素がない場合、中央寄せの単一カラムを使用: */
/* .landing__hero { text-align: center; padding: 6rem 2rem; max-width: 800px; margin: 0 auto; } */
.landing__hero h1 {
font-family: var(--font-display);
font-size: clamp(2.5rem, 6vw, 4rem);
font-weight: 800;
letter-spacing: -0.03em;
color: var(--color-gray-900);
margin-bottom: 1rem;
animation: neus-fade-up 0.5s ease forwards;
}
/* ダークモードH1 — グラデーションテキストオプション */
/* .landing__hero h1 { color: #e2e8f0; }
H1要素に .neus-gradient-text クラスを適用するとグラデーションテキスト効果 */
.landing__hero p {
font-size: 1.25rem;
color: var(--color-gray-600);
margin-bottom: 2rem;
animation: neus-fade-up 0.5s 0.1s ease both;
}
.landing__hero-cta {
display: flex;
gap: 1rem;
align-items: center;
margin-top: 1.5rem;
animation: neus-fade-up 0.5s 0.2s ease both;
}
.landing__features { padding: 6rem 2rem; max-width: 1200px; margin: 0 auto; }
.landing__features h2 {
font-family: var(--font-display);
text-align: center;
font-size: 2rem;
font-weight: 700;
margin-bottom: 3rem;
color: var(--color-gray-900);
}
/* フラッグシップ機能: 最初のカードは全幅に */
.landing__features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.landing__features-grid > *:first-child { grid-column: 1 / -1; }
/* カードのアニメーションをずらす */
.landing__features-grid > *:nth-child(1) { animation: neus-fade-up 0.5s 0.05s ease both; }
.landing__features-grid > *:nth-child(2) { animation: neus-fade-up 0.5s 0.15s ease both; }
.landing__features-grid > *:nth-child(3) { animation: neus-fade-up 0.5s 0.25s ease both; }
.landing__features-grid > *:nth-child(4) { animation: neus-fade-up 0.5s 0.35s ease both; }
/* セクション背景の交互 */
.landing__features-alt { background: var(--color-primary-light); }
/* フッターCTA */
.landing__cta-section { background: var(--color-primary-light); padding: 6rem 2rem; text-align: center; }
/* ダークモードページ上書き — モード: dark の場合に適用 */
/* .landing { background: #0a0a14; color: #e2e8f0; } */
/* .landing__features h2 { color: #e2e8f0; } */
/* .landing__features-alt { background: rgba(20,20,40,0.4); } */
/* .landing__cta-section { background: rgba(99,102,241,0.1); border-top: 1px solid rgba(129,140,248,0.2); } */
共有ルール(組み込み)
これらのルールは常にアクティブです。
_shared/ファイルが参照されていない場合でも適用されます。
出力 — 常に3つのファイル
すべてのスキル出力: ComponentName.types.ts → ComponentName.tsx → ComponentName.styles.css。
インラインスタイル(style={{}})は使用しません。コンポーネント内に <style> タグは使用しません。CSS は .styles.css のみに記述します。
インポート
import { Button, Card, Input, Badge, Link, Select, Modal, DataTable } from 'neus-ui';
../../components/Button/Button のような内部パスからのインポートは絶対に行わないでください。
型
すべての type / interface 宣言 → ComponentName.types.ts。.tsx 内で型を宣言しないでください。
React 19 — FormEvent は使用しない
import { FormEvent } from 'react' は絶対に行わないでください。代わりに <Button type="submit" onClick={...} /> を使用してください。
コンポーネントプロパティ制約
- Button
variant:"solid"|"outlined"|"text"—"ghost"は存在しません - Button
color:"primary"|"success"|"error"|"info"|"white"—"white"はダークキャンバスのみ - Button
size:"small"|"medium"|"large" - Card
variant:"default"|"glass"—"glass"はダークキャンバス用 - Badge
color:"primary"|"success"|"error"|"info"|"neutral" - Link
type:"primary"(ブランド) |"secondary"(ミュートグレー) - Select:
requiredプロパティなし — 外部でバリデーションを処理 - FormTemplate:
children、submitLabel、loadingのみ —onSubmit/onCancelはなし
スロップ禁止リスト
- インラインスタイル /
style={{}}/<style>タグは使用しない - データがAPIから来る場合、ハードコードされたデータ配列は使用しない — 型付きプロパティを使用
- 捏造されたコピー(偽のお客様の声、プレースホルダー名、偽の指標)は使用しない
- TypeScriptの
any型は使用しない - Neus UIコンポーネントが存在する場合、生の
<a>、<span>、<input>、<button>は使用しない - ハードコードされたフォントスタックは使用しない —
var(--font-display)/var(--font-mono)を使用 - ダークモードでは: セクション背景に
var(--color-primary-light)を使用しない、生のdivカードを使用しない —<Card variant="glass">を使用