Communitygithub.com

jhy0285/monofield

使用此插件可生成高品質、GSAP 驅動的電影級 B2B 登陸頁面:包含滾動驅動的全螢幕影片滑塊英雄區、SplitText 字元揭示標題、拼貼畫廊、滾動揭示關於段落、夥伴跑馬燈、Lottie 風格功能卡片以及多辦公室頁尾。

monofield 是什麼?

此技能會從一個完整的、已渲染的參考實現 (`example.html`) 開始,用於建立一個名為「Bakery Facilities」的單頁、滾動式電影級 B2B 登陸網站。預設輸出為獨立的 HTML/CSS/JS 檔案,包含所有內嵌資源,僅引用 3 個 CloudFront 英雄影片和 `picsum.photos` 圖庫靜態圖片作為遠端資源。其主要動畫引擎為 GSAP(ScrollTrigger + SplitText),禁止使用 Framer Motion。技能支援直接輸出(從 `example.html` 出發,僅調整文案/資料)或根據要求移植到 React 18 + Vite + TypeScript + Tailwind 堆疊,並在移植時保留完全相同的視覺語言。此技能背後的文件定義了嚴格且鎖定的設計系統,包括固定的顏色變數、字體導入、版面區塊順序、動畫參數和響應式斷點,確保每次輸出都一致且高品質。

相容平台~Claude Code~Codex CLI~Cursor
npx skills add https://github.com/jhy0285/monofield/tree/HEAD/plugins/_official/examples/cinematic-landing-page

在你喜歡的 AI 中提問

開啟一個已預先載入此 Agent Skill 的新對話。

說明文件

電影級登陸頁面 — 烘焙設施

建立一個單頁、滾動式電影級 B2B 登陸網站,目標對象為頂級烘焙解決方案公司 「Bakery Facilities」。此技能附帶一個完整的、已渲染的參考實現,位於 example.html — 請從此檔案開始。複製 example.html,然後調整文案/資料,並在要求時移植到 React 堆疊;不要重寫 CSS 或發明新的視覺語言。種子檔案已包含以下所述的精確令牌、字體、版面、區塊和動畫。

這是權威性的建置簡報。請嚴格遵循 — 命名顏色、字體、影片 URL、斷點和動畫參數均已被鎖定。

技術堆疊

  • 預設輸出:單一、自包含的 example.html 種子檔案(原生 HTML/CSS/JS)。所有內容均內嵌;唯一的遠端引用是 3 個 CloudFront 英雄影片和 picsum.photos 圖庫靜態圖片(穩定的 CDN — 請保留它們)。
  • 如果使用者明確要求專案形式,請忠實地移植到 React 18 + Vite + TypeScript + Tailwind + GSAP (ScrollTrigger + SplitText) + Lottie。禁止使用 Framer Motion — 所有動畫皆使用 GSAP。移植時保持設計完全相同。將原生端口映射回其框架來源:
    • 切換 .in 類別的 IntersectionObserver → 使用 once: true 的 GSAP ScrollTrigger。
    • 寫入內聯 clip-path / transform / 文字不透明度的被動 scroll 監聽器 → 使用 GSAP useScroll/ScrollTrigger scrub。
    • 逐字 setTimeout 揭示 → 使用 GSAP SplitText 字元交錯(30ms)。

字體 (Google Fonts)

匯入:https://fonts.googleapis.com/css2?family=Luxurious+Script&family=Manrope:wght@500&family=Open+Sans:wght@300;400;500;600;700&family=Instrument+Serif:ital@0;1&display=swap

  • font-body:'Open Sans' — 內文、導航、按鈕。
  • font-accent:'Instrument Serif' — 英雄區 h1、區塊標題、關於內文(大寫)。
  • font-manrope:'Manrope' (500) — 標籤、卡片文字。
  • font-luxurious:'Luxurious Script' — 「for Professionals」副標題 + 「About us」標題。

色彩系統 (CSS 變數) — 已鎖定

--background: 0 0% 9%;       --foreground: 0 0% 100%;
--primary: 0 0% 100%;        --primary-foreground: 0 0% 9%;
--secondary: 0 0% 97%;       --muted: 0 0% 20%;
--muted-foreground: 0 0% 75%; --accent: 0 0% 15%;
--border: 0 0% 20%;          --radius: 2px;
--hero-cta-bg: 0 0% 97.3%;   --hero-cta-text: 0 0% 9%;

金色強調色 #CB9D06 — 每個懸停狀態(導航連結、按鈕、頁尾連結、浮動操作按鈕)。邊框圓角基底 2px。容器內邊距 5%。禁止使用紫色/靛藍色。金色是唯一的彩色強調色;其他所有顏色皆為黑/白/灰。

區塊 1 — 英雄區 (滾動驅動影片滑塊)

  • 外層容器 height: calc(100vh + 300vh);內部 position: sticky; top: 0; height: 100vh; overflow: visible。
  • 3 個堆疊的 <video> 投影片(autoplay loop muted playsinline,object-fit: cover),z-index 為 1/2/3。已鎖定的 URL:
    • https://plugin-assets.open-design.ai/plugins/cinematic-landing-page/hf_20260515_113235_88e0d62e-8103-40c1-948e-f0a4f886ffd1-e00afb.mp4
    • https://plugin-assets.open-design.ai/plugins/cinematic-landing-page/hf_20260515_114315_ee3663e6-bd79-41b4-9e5b-0fae62827eb9-b97001.mp4
    • https://plugin-assets.open-design.ai/plugins/cinematic-landing-page/hf_20260515_114559_dca18b14-90f5-47c4-8a84-3cbae9bd8a0c-62cb47.mp4
  • 過渡效果:SCROLL_PER_SLIDE_VH = 150。為每個投影片計算其在滾動窗口內的 localProgress,使用三次進出緩動函數 p<0.5 ? 4p³ : 1-((-2p+2)³)/2,然後設定 clip-path: ellipse(${5+progress*150}% ${8+progress*150}% at 50% 50%)。
  • H1「THE SMART BAKERY SOLUTION」:桌機版 font-accent,font-size: 9.7vw,line-height: 1,white-space: nowrap,letter-spacing: -0.04em,bottom: -26px。行動版 font-size: 40px,line-height: 1.1,換行,置中,bottom: 48px,px-4。動畫:GSAP SplitText 逐字 {opacity:0,y:40}→{opacity:1,y:0},持續時間 0.8s,交錯 30ms,power3.out,載入時自動開始。
  • 副標題「for Professionals」(Luxurious Script):桌機版 3vw,行動版 12vw,absolute inset-x-0 top-0,padding-top: calc(80px + 60px)。使用相同 SplitText 參數;在 h1 完成後觸發 (~600ms)。

區塊 1 導航列 (固定;透明 → 滾動後變黑)

  • fixed top-0 left-0 right-0 z-20 flex items-center px-4 md:px-10。scrollY > 50 → bg-black/90 backdrop-blur-[80px] shadow-md py-2;否則透明 py-4。
  • 左側:地區下拉選單(地球圖示 +「香港 / 澳門」;選項:中國內地 / 香港-澳門 / 台灣)。
  • 中央:四葉草標誌 SVG(viewBox 0 0 305 304,白色,來自提示的四個路徑),一般狀態 h-[32px] md:h-[48px],滾動後 h-[24px] md:h-[32px],兩側有下拉選單。
    • 左側選單:關於我們(我們的歷史 / 餐飲服務專家 / 創造難忘的烹飪體驗)、與我們合作(從值得信賴的供應商採購 / 賦能客戶營運 / 我們的專家)。
    • 右側選單:我們的產品(維也納酥皮 / 麵包 / 甜點 / 開胃小點 / 特製酥皮 / 烹飪輔助 / 原料)、聯繫我們(聯絡 / LinkedIn / WhatsApp / 電子報 / 手冊 / 加入我們)。
  • 右側:語言切換 EN / 繁,啟用狀態 = bg-[#CB9D06] text-white。
  • 下拉選單:bg-white shadow-lg py-2,項目 px-4 py-2.5 text-[13px],懸停 bg-[#CB9D06] text-white。
  • 行動版:漢堡選單 → 全螢幕覆蓋層 bg-black/95 backdrop-blur-md,手風琴式選單。

浮動導航 (右側,僅桌機版)

fixed right-4 md:right-6 top-1/2 -translate-y-1/2 z-50 hidden md:flex flex-col gap-4。3 個藥丸形按鈕 (48px,rounded-full,bg-black,懸停時展開):下載圖示 +「Download Brochure」;LinkedIn SVG (路徑來自提示) +「LinkedIn」;MessageCircle +「Chat With Us」。懸停 bg-[#CB9D06],標籤透過最大寬度 300ms 滑入。

區塊 2 — 產品展示 (拼貼畫廊)

  • bg-white py-8 md:py-16 flex justify-center;內部 w-[90%] md:w-[65%]。
  • 網格:桌機版 ≥1000px = 4 欄 (第一行:4 個等寬;第二行:3 張卡片,中間跨 2 欄)。行動版 = 2 欄。長寬比 3:4,行間距 40px,項目內邊距 4px。
  • 7 個項目:維也納酥皮、麵包、甜點、開胃小點、甜點、烹飪輔助、原料 (烹飪輔助是跨 2 欄的中間卡片)。背景圖 https://picsum.photos/seed/bakery-<種子>/600/800。
  • 入場:ScrollTrigger `start

Individual skills in this repo

This repo contains 10 individual skills — each has its own dedicated page.

jhy0285/monofield

Produce a print-grade single-page kami (紙 / 纸) document — warm parchment canvas, ink-blue accent, serif at one weight, no italic, no cool grays. The output reads like a professional white paper or studio one-pager, not an app UI. Multilingual by design (EN · zh-CN · ja). One self-contained HTML file, zero dependencies.

jhy0285/monofield

Produce a single-file slide deck in the Atelier Zero visual language (warm-paper background, italic-serif emphasis spans, coral terminating dots, surreal collage plates) — Open Design's brand deck recipe. The deck uses **horizontal magazine-style swipe pagination** (←/→, wheel, swipe), a per-slide chrome strip with brand mark and slide counter, an ESC overview grid, a coral progress bar, and inherits the canonical stylesheet + 16-slot image library from the sister `open-design-landing` skill.

jhy0285/monofield

Produce a world-class single-page editorial landing site in the Atelier Zero visual language (Monocle / Apartamento / Études editorial collage) — the same aesthetic Open Design uses for its own marketing surface. The agent fills a typed `inputs.json` from a brand brief, optionally generates 16 collage assets via gpt-image-2, then runs a pure-function composer that emits a self-contained HTML file; a separate path can mirror the Astro marketing site in `apps/landing-page/`. Drop-in scroll-reveal motion and a Headroom-style sticky nav are wired automatically.

jhy0285/monofield

A standalone pricing page — header, plan tiers, feature comparison table, and an FAQ. Use when the brief asks for "pricing", "plans", "subscription tiers", or a "compare plans" page.

jhy0285/monofield

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

jhy0285/monofield

Minimal pre-launch landing with email capture, brand logo, and optional decorative layer. Reads DESIGN.md for colors, typography, and layout rules. Best for: product launches, beta signups, early access programs, indie projects.

jhy0285/monofield

Single-page SaaS landing with hero, features, social proof, pricing, and CTA. Respects the active DESIGN.md color/typography/layout tokens. Trigger keywords: "saas landing", "marketing page", "product landing".

jhy0285/monofield

Use this plugin when the user wants a single-page immersive parallax landing page with a scroll-driven portal/curtain entrance and a curved arc card slider — a 'dreamcore' / 'reverie' hero that scales a portal image toward the viewer as the user scrolls into a second dream-world scene. Invoke for 'parallax landing', 'scroll cinematic hero', 'portal zoom landing', 'arc card slider', or when the user references the Dreamcore Landing template.

jhy0285/monofield

Use this plugin when the user wants a dark, pure-monochrome newsletter / content-platform landing page (Mindloop): fullscreen video hero, Instrument-Serif italic accent words, liquid-glass controls, scroll-driven word-by-word mission reveal, and an HLS-video CTA. Invoke for 'Mindloop landing', 'black monochrome newsletter landing page', 'video hero content platform', or when the user references the Mindloop template.

jhy0285/monofield

Programmatic video creation with React. Useful for branded explainers, social cuts, dashboards-to-video, and reproducible motion graphics.

相關技能