USD Halo — 奖励型稳定币落地页 是做什么的?
本落地页来自 MIT 许可的
pulkitxm/claude-directory图库。
USD Halo 是一款高端金融科技风格的落地页,专为收益型稳定币产品设计。页面采用深色编辑风格,包含全视口视频主视觉、动画品牌跑马灯以及结构化功能网格——这是适合稳定币发布、Web3 钱包和金融科技产品的精美加密/DeFi 营销页面。
工作流程
- 将
example.html克隆到用户的工作区作为工作文件。 - 替换占位内容,使用用户真实的品牌名称、标题、正文文本、数字和图片。在替换资源时,匹配现有图片的尺寸。
- 保留设计系统。 下面构建规范中的调色板、字体比例、间距节奏和动效是其身份标识——请勿替换字体、更改调色板或移除装饰元素。
- 通过复制部分进行扩展,切勿从其他模板导入布局。如果缺少某个部分,请使用此模板自身的语言从头开始设计。
- 保持动效无障碍。 所有动画必须位于
prefers-reduced-motion之后,这是构建规范的要求。
输出约定
在 <artifact> 标签之间输出:
<artifact identifier="usd-halo-landing" type="text/html" title="USD Halo — 奖励型稳定币落地页">
<!doctype html>
<html>...</html>
</artifact>
构建规范
以下是产生此设计的原始提示,逐字复制。
USD Halo — 高端金融科技稳定币落地页
概述
构建一个名为 Halo / USD Halo 的稳定币产品的高端金融科技风格落地页。该页面采用紧凑、现代金融科技美学:自定义“光环”logo 标记、全幅背景视频、两个无限品牌跑马灯以及带有负字间距的粗体显示标题。页面背景统一为 #F5F5F5,font-medium (600) 是任何地方使用的最大字重。
技术栈
- 框架: React 18 (
react/react-dom^18.3.1) + TypeScript (^5.6.3) - 构建工具: Vite (
^5.4.10) 配合@vitejs/plugin-react(^4.3.3) - 样式: Tailwind CSS (
^3.4.14) 配合postcss(^8.4.49) 和autoprefixer(^10.4.20) - 图标:
lucide-react(^0.468.0) — 仅使用ArrowRight。无其他 UI 库。 - 主要字体: TT Norms Pro(通过
@font-face加载);英雄段落使用 Inter 作为内联覆盖 - 值得注意的技术: 使用
currentColor的自定义内联<svg>logo;使用重复轨道实现无缝循环的 CSS@keyframes跑马灯;带有autoplay/muted/loop/playsInline属性的<video>背景
全局设置
- 在
src/index.css顶部添加 Tailwindbase+components+utilities:@tailwind base; @tailwind components; @tailwind utilities; - 通过
@font-face加载 TT Norms Pro,并设置font-display: swap:@font-face { font-family: 'TT Norms Pro'; src: url('/fonts/tt-norms-pro-regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; } @font-face { font-family: 'TT Norms Pro'; src: url('/fonts/tt-norms-pro-semibold.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; } - 将字体应用于
html, body并通过*继承,然后设置页面背景:html, body { font-family: 'TT Norms Pro', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Helvetica, Arial, sans-serif; } * { font-family: inherit; } body { margin: 0; background-color: #f5f5f5; } - 页面包装器:
flex flex-col bg-[#F5F5F5]。第一个部分(导航栏 + 英雄区)包裹在relative h-screen flex flex-col overflow-hidden容器中。 - 各部分内部内容的最大宽度:
max-w-[88rem] mx-auto。
HTML 文档 (index.html)
lang="en",收藏夹图标位于/favicon.svg。- Meta 描述:
USD Halo — 一种自动化的、基于奖励的数字美元,专为原生被动收益和轻松连接 DeFi 而构建。 - 标题:
Halo — Your Wealth Works - 挂载点
<div id="root"></div>和<script type="module" src="/src/main.tsx">。
自定义 Logo 图标
创建一个 SVG 组件 LogoIcon,它接受一个可选的 className,使用 fill="currentColor"、viewBox="0 0 256 256"、aria-hidden="true",并渲染以下单一路径(一个风格化的“光环”标记,由两个互锁的圆角正方形组成):
const LOGO_PATH =
'M 128.005 191.173 C 128.448 156.208 156.93 128 192 128 L 192 64 L 128 64 C 128 99.346 99.346 128 64 128 L 64 192 L 128 192 Z M 192 256 L 64 256 C 28.654 256 0 227.346 0 192 L 0 64 L 64 64 L 64 0 L 192 0 C 227.346 0 256 28.654 256 64 L 256 192 L 192 192 Z'
export default function LogoIcon({ className }: { className?: string }) {
return (
<svg
viewBox="0 0 256 256"
fill="currentColor"
xmlns="http://www.w3.org/2000/svg"
className={className}
aria-hidden="true"
>
<path d={LOGO_PATH} />
</svg>
)
}
组成
App 按顺序渲染:
- 一个
relative h-screen flex flex-col overflow-hidden包装器,包含 Navbar(绝对定位)+ HeroSection。 - InfoSection
- BackedBySection
- UseCasesSection
export default function App() {
return (
<div className="flex flex-col bg-[#F5F5F5]">
<div className="relative h-screen flex flex-col overflow-hidden">
<Navbar />
<HeroSection />
</div>
<InfoSection />
<BackedBySection />
<UseCasesSection />
</div>
)
}
所有部分的背景均为 #F5F5F5。所有标题均使用负字间距,以实现紧凑、现代的金融科技感。
1. 导航栏(绝对定位,透明覆盖英雄区)
nav为absolute top-0 left-0 right-0 z-20 px-6 py-5。- 内部行:
max-w-[88rem] mx-auto flex items-center justify-between。 - 左侧: 一个
a(flex items-center gap-2.5)包含LogoIcon(w-7 h-7 text-black)+ 词语“Halo”在一个span中(text-2xl font-medium tracking-tight text-black)。 - 居中(md 以下隐藏): 容器
hidden md:flex items-center gap-8。链接 Network、Ecosystem、Rewards、Help、News(来自NAV_LINKS数组),每个为text-base text-gray-700 hover:text-black font-medium transition-colors duration-200。 - 右侧: 一个黑色药丸形状
<button type="button">,标签为“Open Wallet”——bg-black text-white text-base font-medium px-7 py-2.5 rounded-full hover:bg-gray-800 transition-colors duration-200。
2. 英雄区
- 外部:
section包含flex-1 px-6 pt-20 pb-6 flex items-end。 - 内部卡片:
relative w-full max-w-[88rem] mx-auto rounded-2xl overflow-hidden,内联样式height: 'calc(100vh - 96px)'。 - 背景视频 —
<video>具有autoPlay muted loop playsInline,类absolute inset-0 w-full h-full object-cover。视频源:- 在源代码中,它本地位于
/assets/hf_20260423_161253_c72b1869-400f-45ed-ac0c-52f68c2ed5bd.mp4。 - 原始资源 URL(注意:仅方案/主机转为小写;路径保持不变):
https://d8j0ntlcm91z4.cloudfront.net/user_38XZzbokvIgWjottwiXH07Lwa1P/HF_20260423_161253_C72B1869-400F-45ED-AC0C-52F68C2ED5BD.mp4
- 在源代码中,它本地位于
- 内容覆盖层:
relative z-10 flex flex-col items-start justify-start h-full p-12 pt-36。- H1 包含一个
<br />:“Your Wealth” / “Works”——text-black text-5xl md:text-6xl font-medium leading-tight max-w-xl mb-4,内联letterSpacing: '-0.04em'。 - 段落: “An automated, reward-powered digital dollar built for native passive earnings and effortless connection into DeFi.”——
text-black/70 text-base md:text-lg max-w-md mb-8 leading-relaxed,内联fontFamily: "'Inter', ui-sans-serif, system-ui, sans-serif"。 - 药丸按钮 “Join us” 带箭头圆圈(
PillButton带large属性——见下文)。 - 按钮下方是 品牌跑马灯。
- H1 包含一个
品牌跑马灯(英雄区内部,按钮下方)
- 容器:
mt-24 w-full max-w-md overflow-hidden。 - 使用共享的
Marquee组件渲染:trackClass="marquee-track"、keyframesName="marquee"、durationSeconds={22}、itemClass="mx-7 shrink-0 text-black/60 whitespace-nowrap"。 - 品牌列表(每个渲染为一个
span,并带有内联style):
| 品牌 | fontFamily | fontWeight | letterSpacing | fontSize | 其他 |
|---|---|---|---|---|---|
| Stripe | Georgia, 'Times New Roman', serif | 700 | -0.02em | 15px | |
| Coinbase | Arial, Helvetica, sans-serif | 900 | 0.08em | 13px | textTransform: 'uppercase' |
| Uniswap | 'Trebuchet MS', sans-serif | 600 | 0.01em | 15px | fontStyle: 'italic' |
| Aave | 'Courier New', monospace | 700 | 0.12em | 13px | textTransform: 'uppercase' |
| Compound | Palatino, 'Book Antiqua', serif | 400 | -0.01em | 16px | |
| MakerDAO | Impact, 'Arial Narrow', sans-serif | 400 | 0.04em | 14px | |
| Chainlink | Verdana, sans-serif | 700 | -0.03em | 13px |
3. 信息区(“Meet USD Halo.”)
section为bg-[#F5F5F5] px-6 py-24,内部为max-w-[88rem] mx-auto。- 第 1 行 — 2 列网格:
grid grid-cols-1 md:grid-cols-2 gap-12 mb-16 items-start。- 左侧: H2“Meet USD Halo.”——
text-black text-4xl md:text-5xl font-medium leading-tight mb-8,内联letterSpacing: '-0.03em'。下方是黑色药丸按钮PillButton,标签为“Discover it”(默认大小,text-base)。 - 右侧: 段落“USD Halo is a reward-earning dollar coin that lets your savings grow while remaining tied to the U.S. dollar.”——
text-black/70 text-2xl md:text-3xl leading-relaxed。
- 左侧: H2“Meet USD Halo.”——
- 第 2 行 — 4 列卡片网格:
grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4。- 卡片 1(在 lg 上跨越 2 列):
lg:col-span-2 rounded-2xl p-7 min-h-80 flex flex-col justify-between,带有内联背景图片(backgroundSize: 'cover'、backgroundPosition: 'center'):- 在源代码中,图片本地位于
/assets/hf_20260423_164207_f243351d-ed59-48ec-83a0-a5e996bdbe3c.webp。 - 原始资源 URL(图片代理包装 CloudFront PNG;路径保持不变):
https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38XZzbokvIgWjottwiXH07Lwa1P%2FHF_20260423_164207_F243351D-ED59-48EC-83A0-A5E996BDBE3C.PNG&w=1280&q=85 - 标题(顶部): H3“Savings that bloom”——
text-black text-2xl font-medium leading-snug,内联letterSpacing: '-0.02em'。 - 正文(底部): “Gain steady returns as your dollar tokens are routed into top-performing DeFi strategies.”——
text-black/70 text-base max-w-xs。
- 在源代码中,图片本地位于
- 卡片 2: 实色
bg-[#2B2644] rounded-2xl p-7 min-h-80 flex flex-col justify-between。白色 H3 包含<br />“Always fluid,” / “always pegged.”——text-white text-2xl font-medium leading-snug,内联letterSpacing: '-0.02em'。正文“Keep fully dollar-anchored with on-demand access to funds — no lockups or waits.”——text-white/60 text-base。 - 卡片 3: 相同的
bg-[#2B2644]样式。H3 包含<br />“Fully” / “automated”。正文“Skip the task of tuning positions yourself. USD Halo runs in the background for you.”
- 卡片 1(在 lg 上跨越 2 列):
4. 支持方区(跑马灯行)
section为bg-[#F5F5F5] px-6,内部为max-w-[88rem] mx-auto grid grid-cols-1 md:grid-cols-4 gap-8 items-center。- 左列(1/4): 段落
text-black/70 text-base leading-relaxed包含一个<br />——“Funded by premier partners” / “and forward-thinking leaders.” - 右列(3/4): 包装器
md:col-span-3 overflow-hidden包含共享的Marquee(模式与英雄区跑马灯相同,但速度更慢):trackClass="backers-track"、keyframesName="backers-marquee"、durationSeconds={30}、itemClass="mx-10 shrink-0 text-black/50 whitespace-nowrap"。 - 支持方列表(每个为一个
span,带有内联style):
| 品牌 | fontFamily | fontWeight | letterSpacing | fontSize | 其他 |
|---|---|---|---|---|---|
| Fundamental Labs | 'Times New Roman', serif | 400 | 0.02em | 14px | |
| KUCOIN | 'Arial Black', Arial, sans-serif | 900 | 0.08em | 16px | |
| NGC | Impact, sans-serif | 700 | 0.05em | 18px | |
| NxGen | Georgia, serif | 600 | -0.02em | 17px | |
| Matter Labs | Helvetica, Arial, sans-serif | 700 | -0.01em | 15px | |
| DEXTools | Verdana, sans-serif | 700 | 0.06em | 14px | textTransform: 'uppercase' |
| NGRAVE | 'Courier New', monospace | 700 | 0.18em | 14px | |
| Polychain | Palatino, 'Book Antiqua', serif | 500 | 0.03em | 15px |
5. 用例区
section为bg-[#F5F5F5] px-6 py-24。内部:max-w-[88rem] mx-auto grid grid-cols-1 md:grid-cols-2 gap-8 items-start。- 左列(
md:pr-12 md:pt-2):- 眉毛标题: “USD Halo in Practice”——
text-black/60 text-sm mb-2。 - H2 “Use modes”——
text-black text-5xl md:text-6xl font-medium leading-none mb-6,内联letterSpacing: '-0.04em'。 - 段落: “USD Halo powers a wide range of modes for builders, companies and treasuries wanting safe and rewarding stablecoin integrations plus more”——
text-black/60 text-base leading-relaxed max-w-sm。
- 眉毛标题: “USD Halo in Practice”——
- 右列:
relative rounded-3xl overflow-hidden min-h-[720px],带有背景<video>(autoPlay muted loop playsInline,absolute inset-0 w-full h-full object-cover):- 在源代码中,视频本地位于
/assets/hf_20260423_183428_ab5e672a-f608-4dcb-b319-f3e040f02e2d.mp4。 - 原始资源 URL(路径保持不变):
https://d8j0ntlcm91z4.cloudfront.net/user_38XZzbokvIgWjottwiXH07Lwa1P/HF_20260423_183428_AB5E672A-F608-4DCB-B319-F3E040F02E2D.mp4 - 覆盖内容
relative z-10 p-10 md:p-12:- H3 “Commerce”——
text-black text-4xl md:text-5xl font-medium leading-tight mb-5,内联letterSpacing: '-0.03em'。 - 段落: “Lift customer retention by offering USD Halo, a trusted dollar-backed stablecoin with strong yields, letting your patrons earn with zero effort on your platform.”——
text-black/70 text-base max-w-xs。
- H3 “Commerce”——
- 在源代码中,视频本地位于
...(后续内容截断)