Communitygithub.com

jhy0285/monofield

Use este plugin quando o usuário desejar uma landing page B2B cinematográfica premium, com slider de vídeo em tela cheia com transições de clip-path em elipse, cabeçalhos com revelação de caracteres SplitText, galeria de produtos em masonry, texto de rolagem com revelação, marquee de parceiros, cartões de recursos estilo Lottie e rodapé com múltiplos escritórios.

O que é monofield?

Este é um plugin de skill para agentes de IA (como Claude Code, Cursor ou Codex) que gera uma landing page B2B cinematográfica e premium para uma empresa fictícia de soluções de panificação chamada 'Bakery Facilities'. A skill utiliza animações GSAP (ScrollTrigger + SplitText) e Lottie, com um design preto, branco e cinza acentuado por um dourado específico (#CB9D06). O agente deve começar a partir de um arquivo `example.html` pré-construído, ajustar o texto e os dados, e, se solicitado, portar o design para React 18 com Vite, TypeScript, Tailwind e GSAP, mantendo o visual idêntico. A skill define seções como um slider de vídeo com transições de clip-path, uma galeria de produtos masonry, um texto de rolagem com revelação de palavras, um marquee de parceiros, cartões de recursos com ícones Lottie e um rodapé com múltiplos escritórios, com regras rígidas de design, animação e hospedagem de ativos.

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

Perguntar na sua IA favorita

Abre um novo chat com esta habilidade de agente já pré-carregada.

Documentação

Landing Page Cinematográfica — Bakery Facilities

Produza um site de landing page B2B de rolagem cinematográfica de página única para "Bakery Facilities", uma empresa premium de soluções para padarias. Uma implementação de referência completa e renderizada acompanha esta skill em example.html — comece a partir dela. Copie example.html, depois ajuste o texto/dados e (se solicitado) porte para a stack React; não reescreva o CSS ou invente uma nova linguagem visual. A semente já codifica os tokens exatos, fontes, layout, seções e animações descritos abaixo.

Este é o resumo de construção autoritativo. Siga-o exatamente — cores nomeadas, fontes, URLs de vídeo, breakpoints e parâmetros de animação são fixos.

Stack

  • Saída padrão: a semente example.html autossuficiente (HTML/CSS/JS vanilla). Ela inclui tudo inline; as únicas referências remotas são os 3 vídeos hero do CloudFront e as imagens estáticas da galeria do picsum.photos (CDNs estáveis — mantenha-as).
  • Se o usuário solicitar explicitamente a forma de projeto, porte fielmente para React 18 + Vite + TypeScript + Tailwind + GSAP (ScrollTrigger + SplitText) + Lottie. Sem Framer Motion — todo movimento é GSAP. Mantenha o design idêntico durante a portabilidade. Mapeie as portas vanilla de volta para sua origem no framework:
    • IntersectionObserver alternando .in → GSAP ScrollTrigger com once: true.
    • listener scroll passivo escrevendo inline clip-path / transform / opacidade da palavra → GSAP useScroll/ScrollTrigger scrub.
    • revelação por caractere com setTimeout → GSAP SplitText stagger de caracteres (30ms).

Fontes (Google Fonts)

Importe: 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' — corpo, navegação, botões.
  • font-accent: 'Instrument Serif' — h1 do hero, títulos de seção, texto sobre (maiúsculo).
  • font-manrope: 'Manrope' (500) — rótulos, texto do cartão.
  • font-luxurious: 'Luxurious Script' — subtítulo "for Professionals" + título "About us".

Sistema de Cores (Variáveis CSS) — fixo

--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%;

Acento dourado #CB9D06 — em todo estado de hover (links de navegação, botões, links do rodapé, FABs). Raio de borda base 2px. Padding do container 5%. Sem roxo/índigo. O dourado é o único acento cromático; todo o resto é preto/branco/cinza.

Seção 1 — Hero (slider de vídeo com rolagem)

  • Wrapper height: calc(100vh + 300vh); interno position: sticky; top: 0; height: 100vh; overflow: visible.
  • 3 slides de <video> empilhados (autoplay loop muted playsinline, object-fit: cover), z-index 1/2/3. URLs fixas:
    • 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
  • Transição: SCROLL_PER_SLIDE_VH = 150. Por slide compute localProgress sobre sua janela de rolagem, ease com cúbico in-out p<0.5 ? 4p³ : 1-((-2p+2)³)/2, depois clip-path: ellipse(${5+progresso*150}% ${8+progresso*150}% at 50% 50%).
  • H1 "THE SMART BAKERY SOLUTION": desktop font-accent, font-size: 9.7vw, line-height: 1, white-space: nowrap, letter-spacing: -0.04em, bottom: -26px. Mobile 40px, line-height 1.1, quebra, centralizado, bottom: 48px, px-4. Animação: GSAP SplitText por caractere {opacity:0,y:40}→{opacity:1,y:0}, 0.8s, stagger 30ms, power3.out, inicia automaticamente no carregamento.
  • Subtítulo "for Professionals" (Luxurious Script): desktop 3vw, mobile 12vw, absolute inset-x-0 top-0, padding-top: calc(80px + 60px). Mesmos parâmetros SplitText; dispara após o h1 completar (~600ms).

Seção 1 — Barra de navegação (fixa; transparente → preta ao rolar)

  • 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; senão transparente py-4.
  • Esquerda: dropdown de região (Globo + "Hong Kong / Macau"; opções China Continental / Hong Kong-Macau / Taiwan).
  • Centro: logotipo SVG de trevo de 4 folhas (viewBox 0 0 305 304, branco, os 4 paths do prompt), h-[32px] md:h-[48px] normal, h-[24px] md:h-[32px] ao rolar, ladeado por dropdowns.
    • Menus à esquerda: About Us (Our History / Food Service Experts / Creating unforgettable culinary experiences), Partnering With Us (Sourcing from trusted suppliers / Empowering Customer Operations / Our Experts).
    • Menus à direita: Our Products (Viennese Pastry / Bread / Dessert / Savory / Speciality Pastry / Culinary Aid / Ingredient), Let's Connect! (Contact / LinkedIn / WhatsApp / Newsletter / Brochure / Join Us).
  • Direita: alternador de idioma EN / 繁, ativo = bg-[#CB9D06] text-white.
  • Dropdown: bg-white shadow-lg py-2, itens px-4 py-2.5 text-[13px], hover bg-[#CB9D06] text-white.
  • Mobile: hambúrguer → sobreposição em tela cheia bg-black/95 backdrop-blur-md, menus acordeão.

Navegação flutuante (lado direito, apenas desktop)

fixed right-4 md:right-6 top-1/2 -translate-y-1/2 z-50 hidden md:flex flex-col gap-4. 3 botões em pílula (48px, rounded-full, bg-black, expandem ao hover): Ícone de Download + "Download Brochure"; SVG do LinkedIn (paths do prompt) + "LinkedIn"; MessageCircle + "Chat With Us". Hover bg-[#CB9D06], rótulo desliza via max-width 300ms.

Seção 2 — Galeria de produtos (masonry)

  • bg-white py-8 md:py-16 flex justify-center; interno w-[90%] md:w-[65%].
  • Grade: desktop ≥1000px = 4 colunas (linha 1: 4 iguais; linha 2: 3 cartões, o do meio ocupa 2). Mobile = 2 colunas. Proporção 3:4, espaçamento entre linhas 40px, padding do item 4px.
  • 7 itens: Viennese Pastry, Bread, Dessert, Savory, Sweet Treats, Culinary Aid, Ingredient (Culinary Aid é o cartão do meio que ocupa 2 colunas). Fundos https://picsum.photos/seed/bakery-<seed>/600/800.
  • Entrada: ScrollTrigger start "top 85%", once; {opacity:0, y:+120, filter: blur(10px)} → {opacity:1, y:0, blur(0)}, 0.8s, power3.out, stagger 0.05s.
  • Hover: CSS transform: scale(1.2) na imagem de fundo, transition: transform 6s cubic-bezier(0.22,0.61,0.36,1).
  • Rótulos: text-left text-black text-sm mt-2 font-manrope font-medium.

Seção 3 — Sobre (texto de rolagem com revelação)

  • bg-white py-16 md:py-32 flex flex-col items-center justify-center px-6 md:px-[18%].
  • Título "About us": font-luxurious text-[32px] text-center text-black mb-[20px].
  • Corpo: maiúsculo font-accent text-[24px] leading-[36px] md:text-[40px] md:leading-[56px] text-center text-black (cópia da história de fundação de Louis Le Duff em 1976 — troque livremente, mantenha tom/extensão).
  • Revelação de rolagem (GSAP scrub): rotação do container 3deg → 0; opacidade por palavra 0.1 → 1 (stagger 0.05); desfoque por palavra 4px → 0. Gatilhos vinculados à seção superior→inferior cruzando o viewport.
  • Botão "Read more": px-8 py-3 bg-black text-white font-manrope text-sm tracking-wide hover:bg-[#CB9D06] transition-colors duration-300.
  • Marquee de parceiros (abaixo, mt-16 md:mt-[140px]): rolagem infinita para a esquerda, @keyframes marquee translateX(0)→translateX(-50%) 60s linear, pausa ao hover, bordas de degradê branco 80px. 12 parceiros como font-body text-[14px] tracking-[0.2em] uppercase text-black/40: Bridor de France, Traiteur de Paris, Panidor, Boncolac, Mademoiselle Desserts, Mountry, Pfalzgraf, Dolceria Alba, St Michel, Poppies Bakeries, Alysse Food, Les Delices du Chef.

Seção 4 — Partnering With Us

  • Imagem de fundo escura em largura total com sobreposição. Título "Partnering With Us": font-accent uppercase text-[28px] md:text-[40px] leading-[1.4] text-primary, SplitText caracteres (mesmos parâmetros do hero, ao visualizar).
  • 4 cartões grid-cols-2 md:grid-cols-4 gap-2 md:gap-[8px], container w-[90%] md:w-[64%]. Cada bg-black px-4 md:px-6 py-6 md:py-8 flex flex-col items-center text-center gap-3 md:gap-4: um ícone de loop Lottie (w-10 h-10 md:w-12 md:h-12, dourado), rótulo text-primary font-body text-[12px] md:text-[14px] tracking-wide capitalize. Cartões: Trusted Sourcing, Food Safety Standards, Operational Efficiency, Expert Support. Entrada: GSAP y:80→0, 0.7s, power3.out, stagger i*0.15, ScrollTrigger start "top 90%", once. (A semente substitui Lottie por um pequeno SVG com um keyframe sutil de pulsação de escala; na portabilidade React, use lottie-react real.)

Seção 5 — Rodapé

  • bg-white. Topo (px-6 md:px-10 lg:px-16 pt-12 md:pt-20 pb-10 md:pb-16): à esquerda telefone +852 2407 8840 (text-[13px] text-black/40 uppercase tracking-wider) + email [email protected] (text-[14px] font-bold, hover dourado); à direita coluna "Navigate" (About Us / Partnering With Us / Our Products / Let's Connect!) + coluna "Social" (WhatsApp / LinkedIn / Newsletter). Links text-[15px] text-black font-medium hover:text-[#CB9D06].
  • Linha de escritórios (4 na horizontal no desktop, empilhados no mobile): Head Office (Hong Kong), Mainland China (Shanghai), Taiwan (New Taipei City), Macau. Cada: título da região (12px uppercase tracking-wider black/40), nome da empresa (13px semibold), endereço (12px black/60), telefone + email.
  • Barra inferior bg-black px-6 md:px-10 lg:px-16 py-4: à esquerda copyright text-[12px] text-white/40, à direita Privacy Policy + Terms of Service text-[12px] text-white/40 hover:text-white.

SplitText / CSS global

Configuração do SplitText type: chars, smartWrap: true, charsClass: "split-char font-accent", stagger de caracteres 30ms. Global:

.split-char { padding-top: 0 !important; padding-bottom: 0 !important; line-height: 1 !important; }

Especificidades do Tailwind

Raio de borda base 2px; padding do container 5%; keyframe customizado marquee (translateX(0) → translateX(-50%), 60s linear infinito); plugin tailwindcss-animate.

Breakpoints responsivos

Mobile-first. md: = 768px, lg: = 1024px. Colunas da galeria: 1 (<400px), 2 (400–1000px), 4 (≥1000px). H1 do hero alterna para o tratamento mobile de 40px, subtítulo para 12vw, navegação flutuante esconde, barra de navegação recolhe para hambúrguer em ≤767px.

Regras rígidas

  • Todo movimento é GSAP (ScrollTrigger + SplitText) + Lottie — nunca Framer Motion.
  • Dourado #CB9D06 é o único acento; sem substitutos roxo/índigo/azul-petróleo/verde.
  • Mantenha as 3 URLs de vídeo hero do CloudFront e as imagens estáticas do picsum.photos exatamente; não troque para outros hosts.
  • Não use hosts de avatar remotos (i.pravatar.cc, dicebear, etc.) — eles retornam 403 no sandbox. Qualquer decoração gerada é um data URI SVG inline.
  • Comece de example.html; apenas troque o texto/dados e (se solicitado) porte para React. Não redesenhe.

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.

Habilidades Relacionadas