Aura — AI 原生邮件客户端落地页
该落地页源自 MIT 许可的
pulkitxm/claude-directory图库。
一个高级、暗色电影风格的落地页,用于虚构的 AI 原生邮件客户端 Aura,包含全屏循环背景视频、渐变剪裁光泽标题、macOS 风格菜单栏、逼真的收件箱预览和自定义液态玻璃卡片效果。多区块布局涵盖了导航栏、英雄区、菜单栏、收件箱模型、功能筛选、Logo 云、用户评价、定价和最终的行动号召按钮——面向 AI 生产力应用和 SaaS 落地页场景。
工作流程
- 将
example.html克隆 到用户的工作区作为工作文件。 - 替换占位内容 为用户真实的品牌名称、标题、正文、数字和图片。替换资源时保持图片尺寸一致。
- 保留设计系统。 以下构建规范中的调色板、字体比例、间距节奏和动效是设计的核心——不要替换字体、更改调色板或删除装饰性元素。
- 通过复制区块进行扩展,切勿从其他模板导入布局。如果缺少某个区块,请使用本模板的样式语言从头设计。
- 保持动效的可访问性。 每个动画都必须遵守
prefers-reduced-motion媒体查询,这是构建规范的要求。
输出约定
在 <artifact> 标签内输出:
<artifact identifier="aura-email-landing" type="text/html" title="Aura — AI-Native Email Client Landing Page">
<!doctype html>
<html>...</html>
</artifact>
构建规范
以下是生成本设计的原始提示,逐字保留。
Aura — AI 原生邮件客户端落地页
概述
构建一个名为 Aura 的高级 AI 原生邮件客户端落地页。美学风格为暗色(基础色 #0c0c0c)、电影感和玻璃质感,包含全屏循环背景视频、光泽渐变标题、macOS 风格菜单栏、逼真的收件箱模型和自定义“液态玻璃”卡片效果。请精确复现——包括字体、渐变停止点、噪点滤镜、文案字符串、动画延迟以及以下所有值。
技术栈
- 框架: React 18(
react^18.3.1,react-dom^18.3.1)搭配 TypeScript(typescript~5.6.3),使用StrictMode。 - 构建工具: Vite(
vite^5.4.11)搭配@vitejs/plugin-react^4.3.4。构建脚本:tsc --noEmit && vite build。 - 样式: Tailwind CSS
^3.4.17搭配postcss^8.4.49和autoprefixer^10.4.20。 - 动画: Motion / Framer Motion(
motion^12.0.0,从motion/react导入)。 - 图标: Lucide(
lucide-react^0.468.0)。 - 其他依赖:
@supabase/supabase-js^2.47.10(列于package.json;未接入 UI)。 - 字体: Google Fonts Inter,字重 400、500、600、700、800、900。
- 关键技术: SVG 噪点滤镜(
feTurbulence)、渐变剪裁光泽文字动画、CSSmask-composite边框实现玻璃卡片、固定全屏背景视频。
全局设置
package.json
- 名称
aura-email-landing,版本1.0.0,"type": "module","private": true。 - 脚本:
dev: vite,build: tsc --noEmit && vite build,preview: vite preview。 - 依赖:
@supabase/supabase-js,lucide-react,motion,react,react-dom。 - 开发依赖:
@types/react,@types/react-dom,@vitejs/plugin-react,autoprefixer,postcss,tailwindcss,typescript,vite。
index.html
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="Aura — the premier AI-native inbox platform. Your email. Revitalized." />
<title>Aura — Your email. Revitalized</title>
<style>html { background-color: #0c0c0c; }</style>
</head>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
tailwind.config.js
content: ['./index.html', './src/**/*.{ts,tsx}']。theme.extend.colors添加brand: '#3D81E3'。theme.extend.fontFamily设置sans: ['Inter', 'system-ui', 'sans-serif']。- 无插件。
src/main.tsx
通过 createRoot(document.getElementById('root')!) 在 <StrictMode> 内挂载 <App />,并导入 ./index.css。
src/index.css
- 第一行导入 Inter:
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap'); - 接着是
@tailwind base; @tailwind components; @tailwind utilities;。 - 基础样式:
html, body { font-family: 'Inter', system-ui, sans-serif; -webkit-font-smoothing: antialiased; } body { @apply bg-[#0c0c0c] text-white; } ::selection { @apply bg-brand/30; } - 加上下文详细说明的光泽标题动画、液态玻璃工具类和定价 CSS。
布局(src/App.tsx)
根容器:relative min-h-screen overflow-x-hidden bg-[#0c0c0c] text-white。
根容器内的渲染顺序:
- 固定背景视频(在所有内容后面)。
- 两条固定的垂直引导线,位于 36rem 容器边缘。
- 根层 SVG 噪点滤镜 (
c3-noise,正片叠底混合模式) 用于光泽标题。 - 内容容器
relative z-10,包含<Navbar />,然后是一个<main>,按顺序包含:<Hero />、<MenuBar />、<InboxMockup />、<FeatureTriage />、<LogoCloud />、<Testimonials />、<Pricing />、<FinalCTA />。
全局背景视频(固定,在所有内容后面)
视频源是一个本地供应商资源,存储在 public/assets/hf_20260508_064122_c4750c0e-7476-4b44-94a2-a85a65c63bf2.mp4,并通过 VIDEO_URL 常量引用:
const VIDEO_URL =
'/assets/hf_20260508_064122_c4750c0e-7476-4b44-94a2-a85a65c63bf2.mp4'
注意: 原始需求中引用了一个外部 CloudFront URL
https://d8j0ntlcm91z4.cloudfront.net/user_38xzzbokvigwjottwixh07lwa1p/hf_20260508_064122_c4750c0e-7476-4b44-94a2-a85a65c63bf2.mp4。在实际源码中,资源被本地供应商化在/assets/…下(文件名相同,小写),因此请使用本地路径。
<div className="fixed inset-0 z-0 pointer-events-none">
<video
autoPlay
loop
muted
playsInline
className="w-full h-full object-cover pointer-events-none"
src={VIDEO_URL}
/>
</div>
固定的垂直引导线
两条线,在移动端隐藏,位于 36rem 容器边缘:
<div className="hidden md:block pointer-events-none fixed inset-y-0 left-1/2 -translate-x-[calc(50%+36rem)] w-px bg-white/10 z-[5]" />
<div className="hidden md:block pointer-events-none fixed inset-y-0 left-1/2 translate-x-[calc(-50%+36rem)] w-px bg-white/10 z-[5]" />
全局 SVG 噪点滤镜(两个,都使用 id="c3-noise")
- 根层级(细微颗粒,正片叠底混合模式)——用于光泽标题。
- 定价区块内(分形噪点,叠加混合模式)——用于水印。
根滤镜(在 App.tsx 中)
包裹在 <svg className="absolute w-0 h-0" aria-hidden="true"> 中:
<filter id="c3-noise">
<feTurbulence type="fractalNoise" baseFrequency="0.9" numOctaves="2" stitchTiles="stitch" />
<feColorMatrix
type="matrix"
values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0"
/>
<feComposite in2="SourceGraphic" operator="in" result="noise" />
<feBlend in="SourceGraphic" in2="noise" mode="multiply" />
</filter>
定价滤镜(在 Pricing.tsx 中)
同样包裹在 <svg className="absolute w-0 h-0" aria-hidden="true"> 中:
<filter id="c3-noise">
<feTurbulence type="fractalNoise" baseFrequency="0.5" numOctaves="2" stitchTiles="stitch" />
<feComponentTransfer>
<feFuncA type="linear" slope="0.075" />
</feComponentTransfer>
<feComposite in2="SourceGraphic" operator="in" result="noise" />
<feBlend in="SourceGraphic" in2="noise" mode="overlay" />
</filter>
共享基础组件
AppleLogo (src/components/AppleLogo.tsx)
内联 SVG Apple 标志,viewBox="0 0 384 512",fill="currentColor",aria-hidden="true"。接受一个默认值为 w-4 h-4 的 className 属性。路径:
M318.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C63.3 141.2 4 184.8 4 273.5q0 39.3 14.4 81.2c12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z
LogoMark (src/components/LogoMark.tsx)
抽象四象限曲线标志,viewBox="0 0 256 256",fill="#fff",aria-label="Aura"。接受一个默认值为 w-8 h-8 的 className 属性。路径:
M 0 128 C 70.692 128 128 185.308 128 256 L 64 256 C 64 220.654 35.346 192 0 192 Z M 256 192 C 220.654 192 192 220.654 192 256 L 128 256 C 128 185.308 185.308 128 256 128 Z M 128 0 C 128 70.692 70.692 128 0 128 L 0 64 C 35.346 64 64 35.346 64 0 Z M 192 0 C 192 35.346 220.654 64 256 64 L 256 128 C 185.308 128 128 70.692 128 0 Z
AppleButton (src/components/AppleButton.tsx)
圆角全白药丸按钮,包含 Apple 标志、一个 label 和一个 ChevronRight(来自 lucide-react)。当组悬停时,chevron 向右移动 +1px。接受 label(默认 'Download Aura')和 full(默认 false)属性;当 full 为 true 时,在类字符串后追加 ' w-full'。
<button
type="button"
className={`group inline-flex items-center justify-center gap-2 rounded-full bg-white text-black font-medium text-sm px-5 py-3 transition-all hover:bg-white/90 active:scale-[0.98]${full ? ' w-full' : ''}`}
>
<AppleLogo />
<span>{label}</span>
<ChevronRight className="w-4 h-4 transition-transform group-hover:translate-x-[1px]" />
</button>
SectionEyebrow (src/components/SectionEyebrow.tsx)
接受 label(必需)和 tag(可选)属性。外部 div:inline-flex items-center gap-2.5。包含:
<span className="w-1.5 h-1.5 rounded-full bg-white" /><span className="text-sm font-medium text-white/80">{label}</span>- 可选的标签药丸:
<span className="text-xs px-2 py-0.5 rounded-full border border-white/10 text-white/50">{tag}</span>
渐变样式(光泽标题单词 "Revitalized")
在 Hero.tsx 中定义为内联 CSSProperties 对象:
const gradientStyle: CSSProperties = {
backgroundImage:
'linear-gradient(to right, #091020 0%, #0B2551 12.5%, #A4F4FD 32.5%, #00d2ff 50%, #0B2551 67.5%, #091020 87.5%, #091020 100%)',
backgroundSize: '200% auto',
WebkitBackgroundClip: 'text',
backgroundClip: 'text',
color: 'transparent',
WebkitTextFillColor: 'transparent',
filter: 'url(#c3-noise)',
}
光泽动画(.animate-shiny)
.animate-shiny {
animation: shiny 6s linear infinite;
}
@keyframes shiny {
0% {
background-position: -200% center;
}
100% {
background-position: 200% center;
}
}
液态玻璃工具类(用于所有卡片)
.liquid-glass {
background: rgba(255, 255, 255, 0.01);
background-blend-mode: luminosity;
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;
}
区块 1 — 导航栏(src/components/Navbar.tsx)
motion.nav 使用 className="relative z-20";进入时渐隐/下滑(initial={{ opacity: 0, y: -10 }},animate={{ opacity: 1, y: 0 }},transition={{ duration: 0.6, ease: 'easeOut' }})。
内部容器:max-w-6xl mx-auto px-6 h-20 flex items-center justify-between。
- 左侧: 锚点(
aria-label="Aura home")仅包裹<LogoMark />(无 "Aura" 文字)。 - 中间(
hidden md:flex gap-8):链接['Solutions', 'Pricing', 'Blog', 'Documentation', 'Careers'],每个都是motion.a,使用className="text-white/70 text-sm font-medium hover:text-white transition-colors"和交错进入动画(initial={{ opacity: 0, y: -8 }},animate={{ opacity: 1, y: 0 }},transition={{ duration: 0.5, delay: 0.1 + i * 0.05, ease: 'easeOut' }})。 - 右侧(桌面):
hidden md:block包裹<AppleButton />(默认标签 "Download Aura")。 - 右侧(移动端):
md:hidden w-10 h-10 rounded-full border border-white/10 bg-white/5 inline-flex items-center justify-center按钮(aria-label="Open menu"),包含一个Menu图标(w-4 h-4 text-white)。
区块 2 — 英雄区(src/components/Hero.tsx)
区块:pt-16 md:pt-28 pb-20 text-center flex flex-col items-center px-6。共享缓动函数:const EASE: [number, number, number, number] = [0.22, 1, 0.36, 1]。
motion.h1(initial={{ opacity: 0, y: 20 }},animate={{ opacity: 1, y: 0 }},transition={{ duration: 0.8, delay: 0.3, ease: EASE }}),className="text-4xl md:text-7xl font-semibold tracking-tight leading-[0.9]":- 第 1 行:
<span className="block">Your email.</span> - 第 2 行:
<span className="block animate-shiny" style={gradientStyle}>Revitalized</span>
- 第 1 行:
motion.p(延迟0.5,其他过渡相同),className="mt-8 text-white/60 max-w-md text-base leading-[1.5]":Aura is the premier inbox platform for the current era. It leverages powerful AI to organize, prioritize, and refine your messages into total clarity.
motion.div(延迟0.7),className="mt-10 flex flex-col items-center gap-3",包含<AppleButton />和<span className="text-xs text-white/40">Download for Intel / Apple Silicon</span>。