Communitygithub.com

jhy0285/monofield

使用此插件创建由GSAP驱动的电影级B2B着陆页面,包含滚动全屏视频滑块、剪辑路径椭圆过渡、字符逐字揭示标题、瀑布流产品画廊、滚动揭示关于文本、合作伙伴跑马灯、Lottie风格功能卡片和多办公室页脚。

monofield 是什么?

该技能(monofield)专注于生成电影级B2B着陆页面,专为例如“烘焙设施”等高端烘焙解决方案公司设计。它生成一个单页的滚动电影级着陆站点,包含由GSAP驱动的滚动全屏视频滑块(包含3个固定URL的视频)、剪辑路径椭圆过渡和字符逐字揭示标题。该技能支持两种输出形式:默认的单一自包含HTML文件(example.html)或React 18 + Vite + TypeScript + Tailwind + GSAP + Lottie的项目形式。其技能文档(SKILL.md)提供了一份详尽且不可修改的构建指南,涵盖了字体、颜色系统(仅金色#CB9D06为点缀色)、排版、布局、所有部分的动画参数以及响应式断点。所有动画必须严格使用GSAP(ScrollTrigger + SplitText)和Lottie,严禁使用Framer Motion。该技能旨在保持设计一致性,要求用户从example.html开始,并可选择将数据复制迁移到React栈。

兼容平台~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着陆站点,适用于高端烘焙解决方案公司**“烘焙设施”**。一个完整的、已渲染的参考实现在此技能同级目录的 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。移植时保持设计完全相同。将原生端口映射回其框架来源:
    • IntersectionObserver 切换 .in → GSAP ScrollTrigger 并设置 once: true。
    • 被动 scroll 监听器写入内联 clip-path / transform / 单词透明度 → 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。移动端 40px,line-height 1.1,换行,居中,bottom: 48px,px-4。动画:GSAP SplitText 逐字符 {opacity:0,y:40}→{opacity:1,y:0},0.8秒,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。
  • 左侧:区域下拉菜单(地球图标 + “Hong Kong / Macau”;选项:Mainland China / Hong Kong-Macau / Taiwan)。
  • 中间:四叶草徽标SVG (viewBox 0 0 305 304,白色,提示中的4条路径),正常时 h-[32px] md:h-[48px],滚动时 h-[24px] md:h-[32px],两侧有下拉菜单。
    • 左侧菜单:About Us(Our History / Food Service Experts / Creating unforgettable culinary experiences),Partnering With Us(Sourcing from trusted suppliers / Empowering Customer Operations / Our Experts)。
    • 右侧菜单:Our Products(Viennese Pastry / Bread / Dessert / Savory / Speciality Pastry / Culinary Aid / Ingredient),Let's Connect!(Contact / LinkedIn / WhatsApp / Newsletter / Brochure / Join Us)。
  • 右侧:语言切换 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列(第1行:4个等宽;第2行:3个卡片,中间卡片占2列)。移动端 = 2列。宽高比 3:4,行间距 40px,项目内边距 4px。
  • 7个项目:Viennese Pastry,Bread,Dessert,Savory,Sweet Treats,Culinary Aid,Ingredient(Culinary Aid 是跨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.

相关技能