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 的穩定幣產品建立一個高階金融科技風格的登陸頁面。頁面採用緊湊、現代的金融科技美學:自訂「光環」標誌圖案、滿版背景影片、兩個無限循環的品牌跑馬燈,以及帶有負字距的粗體顯示標題。頁面背景統一為 #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>標誌;使用 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 位於/favicon.svg。- Meta 描述:
USD Halo — 一款自動化、獎勵驅動的數位美元,專為原生被動收益與無縫連接 DeFi 而設計。 - 標題:
Halo — 你的財富在運作 - 掛載點
<div id="root"></div>和<script type="module" src="/src/main.tsx">。
自訂標誌圖示
建立一個 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容器,包含 導覽列 (絕對定位) + 主視覺區段。 - 資訊區段
- 贊助商區段
- 使用案例區段
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 (注意:僅 scheme/host 轉為小寫;路徑保持不變):
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'。 - 段落:「一款自動化、獎勵驅動的數位美元,專為原生被動收益與無縫連接 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 是一款獎勵收益型美元代幣,讓您的儲蓄在與美元掛鉤的同時持續增長。」—
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'。 - 內文 (下方):「您的美元代幣被導入頂尖 DeFi 策略時,獲得穩定的回報。」—
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'。內文「保持與美元完全錨定,並可隨時存取資金 — 無需鎖倉或等待。」—text-white/60 text-base。 - 卡片 3: 採用相同
bg-[#2B2644]樣式。H3 帶<br />「Fully」/「automated」。內文「無需手動調整部位。USD Halo 在背景為您自動運行。」
- 卡片 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 />—「由頂級合作夥伴」/「與前瞻性領導者資助。」 - 右欄 (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 實務應用」—
text-black/60 text-sm mb-2。 - H2「使用模式」—
text-black text-5xl md:text-6xl font-medium leading-none mb-6,內聯letterSpacing: '-0.04em'。 - 段落:「USD Halo 為開發者、企業與金庫提供多種模式,實現安全且具獎勵的穩定幣整合等更多功能。」—
text-black/60 text-base leading-relaxed max-w-sm。
- 眉題:「USD Halo 實務應用」—
- 右欄:
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「商務」—
text-black text-4xl md:text-5xl font-medium leading-tight mb-5,內聯letterSpacing: '-0.03em'。 - 段落:「透過提供 USD Halo (一種值得信賴、具備高收益的美元掛鉤穩定幣) 提升客戶留存率,讓您的用戶在您的平台上零付出即可獲利。」—
text-black/70 text-base max-w-xs。
- H3「商務」—
- 在原始碼中,影片從本地引入,位於
藥丸按鈕元件 (PillButton)
這是一個共用的 React 元件,用於整個頁面中的黑色藥丸按鈕 (例如主視覺中的「Join us」和資訊區段中的「Discover it」)。它接受 children、className 和可選的 large prop (當為 true 時使用 text-base 和更大的內間距,否則使用 text-sm)。按鈕包含文字標籤,後接一個圓形 div,內部包含 ArrowRight 圖示。
function PillButton({
children,
large,
className,
}: {
children: React.ReactNode
large?: boolean
className?: string
}) {
return (
<button
type="button"
className={`inline-flex items-center gap-2.5 bg-black text-white rounded-full font-medium transition-colors duration-200 hover:bg-gray-800 ${
large
? 'px-6 py-3 text-base'
: 'px-5 py-2.5 text-sm'
} ${className || ''}`}
>
<span>{children}</span>
<div className="w-6 h-6 rounded-full bg-white/20 flex items-center justify-center">
<ArrowRight className="w-4 h-4 text-white" />
</div>
</button>
)
}
跑馬燈元件 (Marquee)
這是一個共用的 React 元件,用於渲染帶有 CSS @keyframes 動畫的無限水平滾動軌道。它接受 trackClass、keyframesName、durationSeconds、itemClass 和 children。動畫定義必須在代碼中產生 (例如透過 useEffect 將 @keyframes 注入一個 <style> 元素)。軌道包含兩個完全相同的 children 拷貝,以實現無縫循環。
function Marquee({
trackClass,
keyframesName,
durationSeconds,
itemClass,
children,
}: {
trackClass: string
keyframesName: string
durationSeconds: number
itemClass: string
children: React.ReactNode
}) {
// 在 mount 時注入 @keyframes
useEffect(() => {
const css = `
@keyframes ${keyframesName} {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}
`
const style = document.createElement('style')
style.textContent = css
document.head.appendChild(style)
return () => { style.remove() }
}, [keyframesName])
return (
<div
className={`flex ${trackClass}`}
style={{
animation: `${keyframesName} ${durationSeconds}s linear infinite`,
width: 'fit-content',
}}
>
{/* 兩個拷貝以實現無縫循環 */}
<div className={`flex ${itemClass}`}>
{children}
</div>
<div className={`flex ${itemClass}`} aria-hidden="true">
{children}
</div>
</div>
)
}
使用 prefers-reduced-motion 媒體查詢來暫停跑馬燈的動畫:
@media (prefers-reduced-motion: reduce) {
.marquee-track,
.backers-track {
animation: none !important;
}
}
無障礙性說明
- 所有
<video>元素必須具有aria-hidden="true"(因為它們是純裝飾性的)。 - 所有互動元素 (導覽連結、「Open Wallet」按鈕、「Join us」按鈕、「Discover it」按鈕) 必須具有可存取的焦點指示器。
- 自訂
@keyframes動畫必須遵守prefers-reduced-motion設定,且在還原時將動畫設為none(如上述 CSS 所示)。 - 圖示按鈕 (例如藥丸按鈕內的箭頭圓圈) 應使用
aria-hidden="true"從無障礙樹中隱藏。
最終輸出
最終輸出是一個巢狀的 HTML 文件,位於單一 <artifact> 標籤內,如上方的輸出合約所示。內部包含 <!doctype html> 和完整的 <html> 樹。範本中的預設品牌名稱「Halo」和「USD Halo」應替換為使用者的品牌。所有素材都應根據其原始來源 URL 或重新供應至 /assets/ 的本地拷貝來參照。