Mindloop — 深色单色内容平台落地页
为 Mindloop(一个新闻简报/内容平台)制作一个高级的、纯黑单色落地页。一个完整的、渲染好的参考实现在此技能旁以 example.html 形式提供——以它为起点。复制 example.html,然后调整文案和数据;不要重写 CSS 或发明新的视觉语言。种子文件已经编码了确切的 HSL 令牌、液玻处理、字体、区块布局、淡入揭示、滚动驱动的使命揭示以及 HLS 行动号召。
这是权威的构建简报。请严格遵循——HSL 变量、字体、视频 URL 和动画模式均已锁定。
单色已硬锁定。 背景为纯黑色 #000(0 0% 0%),前景为纯白色。超出单色范围没有颜色或渐变——唯一的非灰色令牌是 --accent: 170 15% 45%(一种柔和的青灰色),它在可见 UI 中基本未被使用。不要引入品牌颜色、蓝色、紫色或鲜艳的渐变。
资产(关键): example.html 已经将 3 个首屏头像和 3 个平台图标(ChatGPT / Perplexity / Google AI)作为行内 data:image/svg+xml;base64,… URI 提供。保持原样。不要将它们替换为 i.pravatar.cc、api.dicebear.com、dicebear 或任何其他远程头像/图标主机——外部主机在预览沙盒中会频率限制或返回 403,导致渲染错误。只有当用户提供真实图片时才替换资产,并且首选 data URI 而非远程 URL。四个大的背景视频保留在它们稳定的 cloudfront.net / stream.mux.com CDN 上。
技术栈
- 默认输出:一个自包含的 HTML 文件(
example.html种子)。它已经包含了所有行内内容。 - 如果用户明确要求完整项目,则将种子忠实地移植到 React + Vite + TypeScript + Tailwind CSS + shadcn/ui + Framer Motion。相同的令牌,相同的标记结构。安装
hls.js和framer-motion。通过@fontsource/inter(400, 500, 600, 700)和@fontsource/instrument-serif(400, 400-italic)引入字体。使用lucide-react图标。使用tailwindcss-animate插件。移植时不要改变设计。 - Motion 加载(已锁定)。 如果你生成的是单个自包含行内 JSX 文件而不是 Vite 项目,Motion 的 React 钩子(
useScroll、useTransform、useAnimationFrame……)仅存在于 React UMD 构建版本中:加载<script src="https://unpkg.com/[email protected]/dist/framer-motion.js"></script>并通过window.Motion读取它们——绝不使用 vanillahttps://unpkg.com/motion@.../dist/motion.jsDOM 包,后者缺少useScroll并会渲染为空白页面。(Vite 项目从 npm 导入,不受影响。)
字体
- Inter(无衬线)——正文和 UI,字重 400/500/600/700。
- Instrument Serif(衬线,斜体)——仅用于标题中的斜体强调词(
.serif:font-style: italic; font-weight: 400)。在种子文件中从 Google Fonts 加载;在 React 移植版本中使用@fontsource/instrument-serif。
设计系统——锁定的 HSL 令牌(:root,仅值,无 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%
通过 hsl(var(--token)) / hsl(var(--token) / 0.3) 使用令牌。
液玻(.liquid-glass)——已锁定
.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;
}
用于:导航栏的 3 个社交按钮(圆形 w-10 h-10)、首屏邮箱表单容器(rounded-full)以及“开始写作”行动号召按钮(rounded-lg)。
动画模式——fadeUp(Framer-Motion whileInView)
可复用的交错揭示。在 React 中:
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" },
});
在种子文件中,这被映射到一个 IntersectionObserver(阈值 ~0.08,rootMargin: -100px),它添加一个 .in 类;父元素内的兄弟元素会获得交错的 transition-delay(~0.08s 步长)。保持 once: true 语义(揭示后取消观察)。
页面结构(从上到下)
导航栏——固定、透明、top-0 z-50、内边距 px-8 md:px-28 py-4
- 左侧:同心圆标志(外圈
w-7 h-7border-2 border-foreground/60,内圈w-3 h-3border border-foreground/60)+ 粗体 "Mindloop"。 - 中左:导航链接
["Home", "How It Works", "Philosophy", "Use Cases"],用•点分隔;链接text-muted-foreground hover:text-foreground。在移动端隐藏。 - 右侧:3 个社交图标(Instagram、LinkedIn、Twitter——在移植版中使用
lucide-react,在种子文件中使用行内 SVG),位于液玻圆形w-10 h-10 rounded-full按钮内。
首屏——全视口高度
- 背景:自动播放/循环/静音/内联播放的 MP4 视频覆盖该部分,
object-cover。- URL:
https://plugin-assets.open-design.ai/plugins/mindloop-landing/hf_20260325_120549_0cd82c36-56b3-4dd9-b190-069cfc3a623f-9b476a.mp4
- URL:
- 底部渐变:
h-64(256px)bg-gradient-to-t from-background to-transparent,用于平滑淡出至黑色。 - 内容(居中,
z-10,pt-28 md:pt-32):- 头像行:3 个重叠的圆形头像(
-space-x-2,w-8 h-8 rounded-full border-2 border-background,行内 data URI)+ "7,000+ people already subscribed"(text-muted-foreground text-sm)。 - 标题:
text-5xl md:text-7xl lg:text-8xl font-medium tracking-[-2px]——"Get Inspired with Us",其中 "Inspired" 使用.serif(Instrument Serif 斜体,font-normal)。 - 副标题:
text-lg,颜色hsl(var(--hero-subtitle))——"Join our feed for meaningful updates, news around technology and a shared journey toward depth and direction." - 邮箱表单:
liquid-glass rounded-full p-2 max-w-lg,包含一个邮箱输入框和一个bg-foreground text-background rounded-full px-8 py-3的 "SUBSCRIBE" 按钮(whileHover scale 1.03,whileTap scale 0.98)。
- 头像行:3 个重叠的圆形头像(
“搜索已改变”部分——pt-52 md:pt-64 pb-6 md:pb-9,居中
- 标题:
text-5xl md:text-7xl lg:text-8xl——"Search has changed. Have you?" 其中 "changed." 使用斜体衬线字体。 - 副标题:
text-muted-foreground text-lg max-w-2xl mx-auto mb-24。 - 3 个平台卡片(
grid md:grid-cols-3 gap-12 md:gap-8 mb-20):每个 = 一个居中的约 200×200 图标图像、平台名称(font-semibold text-base)、描述(text-muted-foreground text-sm)。- ChatGPT → 行内
icon-chatgptdata URI。Perplexity → 行内icon-perplexitydata URI。Google AI → 行内icon-googledata URI。
- ChatGPT → 行内
- 底部标语:"If you don't answer the questions, someone else will."(
text-muted-foreground text-sm text-center)。
使命部分——pt-0 pb-32 md:pb-44,居中
- 大的约 800×800 循环自动播放静音视频,居中。
- URL:
https://plugin-assets.open-design.ai/plugins/mindloop-landing/hf_20260325_132944_a0d124bb-eaa1-4082-aa30-2310efb42b4b-d0e30d.mp4
- URL:
- 滚动驱动的逐词揭示(在移植版中使用
useScroll+useTransform;在种子文件中使用一个被动的scroll监听器,将每个单词的视口位置映射到不透明度0.15 → 1)。- 段落 1(
text-2xl md:text-4xl lg:text-5xl font-medium tracking-[-1px]):"We're building a space where curiosity meets clarity — where readers find depth, writers find reach, and every newsletter becomes a conversation worth having." 单词 "curiosity"、"meets"、"clarity" 使用--foreground;其余单词使用--hero-subtitle。 - 段落 2(
text-xl md:text-2xl lg:text-3xl font-medium mt-10):"A platform where content, community, and insight flow together — with less noise, less friction, and more meaning for everyone involved."
- 段落 1(
解决方案部分——py-32 md:py-44,border-t border-border/30
- 标签:"SOLUTION"(
text-xs tracking-[3px] uppercase text-muted-foreground)。 - 标题:
text-4xl md:text-6xl——"The platform for meaningful content"(斜体衬线用于 "meaningful")。 - 视频:
rounded-2xl aspect-[3/1] object-cover。- URL:
https://plugin-assets.open-design.ai/plugins/mindloop-landing/hf_20260325_125119_8e5ae31c-0021-4396-bc08-f7aebeb877a2-1f0a78.mp4
- URL:
- 4 列功能网格(
md:grid-cols-4 gap-8):精选内容流、作者工具、社区、分发——每个标题(font-semibold text-base)+ 描述(text-muted-foreground text-sm)。
行动号召部分——py-32 md:py-44,border-t border-border/30,overflow-hidden
- 通过 HLS(hls.js) 的背景视频:
absolute inset-0 object-cover z-0。- HLS URL:
https://stream.mux.com/8wrHPCX2dC3msyYU9ObwqNdm00u3ViXvOSHUMRYSEe5Q.m3u8 - 使用
Hls.isSupported();回退到原生 HLS(canPlayType('application/vnd.apple.mpegurl'))用于 Safari。
- HLS URL:
- 叠加层:
absolute inset-0 bg-background/45 z-[1]。 - 内容(
z-10,居中):同心圆标志(外圈w-10 h-10,内圈w-5 h-5);标题 "Start Your Journey"(斜体衬线用于 "Journey");副标题text-muted-foreground;两个按钮——"Subscribe Now"(bg-foreground text-background rounded-lg px-8 py-3.5)和 "Start Writing"(liquid-glass rounded-lg)。
页脚——py-12 px-8 md:px-28
- 左侧:"© 2026 Mindloop. All rights reserved."(
text-muted-foreground text-sm)。 - 右侧:隐私、条款、联系(
text-muted-foreground text-sm hover:text-foreground)。
响应式
- 标题使用 clamped /
md:/lg:断点,完全按照所列;移动端删除导航栏中间链接。 platform-grid和feature-grid在md以下折叠为单列(或两列)。- 使命视频和首屏视频为
object-cover,绝不出现黑边。
颜色规则——严格
仅限纯黑/白单色。使用的唯一令牌是灰色渐变加上 --hero-subtitle(一个近乎白色的 210 17% 95%)用于首屏/使命正文文本。可见 UI 中无强调颜色——无蓝色、紫色、青色色块,无鲜艳渐变。 允许的唯一渐变是首屏的黑色到透明底部淡化和液玻边框高亮。保持单色。