Communitygithub.com

ZeroSum-Solutions/mishmash

Página de aterrizaje hero oscura, de escritorio, para el estudio ficticio **Kubric™**, construida con **TanStack Start v1 + React 19 + Vite 7 + Tailwind v4** con enrutamiento basado en archivos.

¿Qué es mishmash?

Mishmash es una habilidad para asistentes de IA (como Claude Code, Cursor, o Codex) que permite generar una página de aterrizaje hero oscura y cinematográfica de una sola página, diseñada exclusivamente para escritorio (mínimo 1024px de ancho). La página representa al estudio ficticio Kubric™ e incluye un video de fondo en bucle, un desenfoque progresivo de 8 capas en la parte inferior, un logotipo SVG animado con revelación de trazos de arco, un panel de navegación tipo "glass", una revelación de titular carácter por carácter, una navegación lateral vertical, y una tarjeta blanca "Sobre nosotros". Todo se anima al cargar por primera vez, una vez que el video de fondo está listo. La habilidad está basada en TanStack Start v1, React 19, Vite 7 y Tailwind v4, y utiliza enrutamiento basado en archivos. El asistente puede clonar y personalizar el diseño con la marca real del usuario, preservando el sistema de diseño, la paleta, la escala tipográfica, el ritmo de espaciado y el movimiento. La salida se emite en un artefacto HTML, y la habilidad incluye instrucciones detalladas sobre el flujo de trabajo, el contrato de salida y una especificación de construcción completa para el desarrollador.

Compatible con✓Claude Code~Codex CLI✓Cursor
npx skills add https://github.com/ZeroSum-Solutions/mishmash/tree/HEAD/design-templates/kubric-hero-landing

Preguntar en tu IA favorita

Abre un nuevo chat con esta habilidad de agente ya precargada.

Vista previa

Del README del skill

mishmash preview

Documentación

Kubric™ Hero Landing — Héroe Cinematográfico Oscuro con Logotipo SVG Animado

Sección hero extraída de la galería con licencia MIT pulkitxm/claude-directory.

Página de aterrizaje hero oscura, de escritorio, para el estudio ficticio Kubric™, construida con TanStack Start v1 + React 19 + Vite 7 + Tailwind v4 con enrutamiento basado en archivos. Cuenta con un video de fondo en bucle con un desenfoque progresivo de 8 capas backdrop-filter en la parte inferior, un logotipo SVG animado con revelación de trazos de arco, un panel de navegación tipo "glass", una revelación de titular carácter por carácter, una navegación lateral vertical a la derecha y una tarjeta blanca "Sobre nosotros". Todo se anima al cargar por primera vez una vez que el video de fondo está listo.

Flujo de trabajo

  1. Clona example.html en el espacio de trabajo del usuario como archivo de trabajo.
  2. Reemplaza el contenido de marcador de posición con el nombre de marca real del usuario, titulares, cuerpo de texto, números e imágenes. Coincide con las dimensiones de imagen existentes al intercambiar activos.
  3. Preserva el sistema de diseño. La paleta, la escala tipográfica, el ritmo de espaciado y el movimiento en la especificación de construcción a continuación son la identidad: no sustituyas fuentes, cambies el color de la paleta ni elimines elementos decorativos.
  4. Extiende duplicando secciones, nunca importando un diseño de otra plantilla. Si falta una sección, diseñala desde cero en el propio vocabulario de esta plantilla.
  5. Mantén el movimiento accesible. Cada animación debe permanecer detrás de prefers-reduced-motion, como lo requiere la especificación de construcción.

Contrato de salida

Emitir entre etiquetas <artifact>:

<artifact identifier="kubric-hero-landing" type="text/html" title="Kubric™ Hero Landing — Dark Cinematic Hero with Animated SVG Logo">
<!doctype html>
<html>...</html>
</artifact>

Especificación de construcción

El prompt original que produjo este diseño, textualmente.

PROMPT DE CONSTRUCCIÓN — KUBRIC™ HERO LANDING (TANSTACK START + REACT 19 + VITE 7 + TAILWIND V4)

OBJETIVO

CREAR UNA PÁGINA DE ATERRIZAJE HERO OSCURA DE UNA SOLA PÁGINA LLAMADA "KUBRIC™". ES UN HERO DE VENTANA COMPLETA (MÍNIMO 1024PX DE ANCHO, SOLO ESCRITORIO) CON UN VIDEO DE FONDO EN BUCLE, UNA SUPERPOSICIÓN DE DESENFOQUE PROGRESIVO EN LA PARTE INFERIOR, UN LOGOTIPO SVG ANIMADO, UN PANEL DE NAVEGACIÓN TIPO "GLASS" CON 4 ENLACES (UNO TIENE UNA INSIGNIA NUMÉRICA CIRCULAR "3"), UN BOTÓN BLANCO "BOOK A CALL", UN TITULAR DE 3 LÍNEAS CON ACENTO EN CURSIVA QUE SE REVELA CARÁCTER POR CARÁCTER, UNA NAVEGACIÓN LATERAL VERTICAL A LA DERECHA CON SUBRAYADO ACTIVO, UNA FILA INFERIOR QUE CONTIENE UNA ETIQUETA "01 — OUR GOAL", UN PÁRRAFO DE DESCRIPCIÓN, UN BOTÓN PRIMARIO "DISCUSS THE PROJECT", UN PILAR "SCROLL DOWN" ANIMADO, Y UNA TARJETA HORIZONTAL BLANCA "ABOUT US" CON UNA IMAGEN Y UNA FLECHA. TODO SE ANIMA AL CARGAR POR PRIMERA VEZ DESPUÉS DE QUE EL VIDEO DE FONDO ESTÉ LISTO.

STACK / ARCHIVOS

  • ENRUTAMIENTO BASADO EN ARCHIVOS DE TANSTACK START V1. RUTAS EN SRC/ROUTES/. RAÍZ EN SRC/ROUTES/__ROOT.TSX. INICIO EN SRC/ROUTES/INDEX.TSX.
  • TAILWIND V4 A TRAVÉS DE @import "tailwindcss" EN SRC/STYLES.CSS (SIN TAILWIND.CONFIG.JS).
  • TODOS LOS ESTILOS DE KUBRIC SON CSS PURO AGREGADO EN SRC/STYLES.CSS (NO UTILIDADES DE TAILWIND).
  • CARGA LA FUENTE DE GOOGLE "INTER TIGHT" (PESOS 300/400/500/700/800, CURSIVA 400/700) A TRAVÉS DE EN EL HEAD DE LA RUTA — NUNCA A TRAVÉS DE CSS @IMPORT.
  • SIN BACKEND, SIN BASE DE DATOS, SIN AUTENTICACIÓN. SIN COMPONENTES DE SHADCN USADOS POR LA PÁGINA.

VARIABLES CSS GLOBALES (AGREGAR DESPUÉS DEL BLOQUE DE SHADCN EN SRC/STYLES.CSS)

:root {
  --bg: #1e1e1e;
  --text: #ffffff;
  --text-muted: rgba(255,255,255,0.749);
  --dark-text: #22282b;
  --page-pad: clamp(24px, 3.4vw, 50px);
  --btn-radius: 10px;
  --card-radius: 4px;
}
html { min-width: 1024px; }
body {
  font-family: "Inter Tight", sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
,::before,*::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { font-family: inherit; border: none; background: none; cursor: pointer; }

JERARQUÍA DE CAPAS (ÁRBOL JSX EXACTO DE LA PÁGINA DE INICIO)

div.hero
├── div.hero__bg
│   └── video.hero__video  (autoPlay muted loop playsInline preload="auto")
│       └── source src="https://qclay.design/lovable/kubric/body.mp4" type="video/mp4"
├── div.hero__overlay
├── div.hero__gradient-top      (vacío, marcador de posición display:none)
├── div.hero__gradient-bottom   (vacío, marcador de posición display:none)
├── div.hero__blur
│   ├── div.hero__blur-layer    (× 8 — cada capa obtiene un desenfoque más fuerte + máscara)
│   └── ::after (superposición de oscurecimiento degradado)
├── header.header
│   ├── a.logo  href="#" aria-label="Kubric"
│   │   └── svg.logo__icon viewBox="0 0 122 30"
│   │       ├── circle.logo__circle cx=14.3 cy=14.9 r=7 stroke=#fff strokeWidth=3 fill=none
│   │       ├── path.logo__arc-1a  (arco exterior superior, ver SVG a continuación)
│   │       ├── path.logo__arc-1b  (arco exterior inferior)
│   │       ├── path.logo__arc-2a  (arco lejano superior)
│   │       ├── path.logo__arc-2b  (arco lejano inferior)
│   │       └── g.logo__text-group
│   │           ├── text x=46 y=22 font="Inter Tight" size=22 weight=700 fill=#fff letterSpacing=-0.5 → "Kubric"
│   │           └── text.logo__tm x=113 y=10 → "™"
│   ├── nav.nav-pill  aria-label="Principal"
│   │   ├── a.nav-pill__link href="#features" → "Características"
│   │   ├── a.nav-pill__link href="#team"     → "Equipo" + span.nav-pill__badge "3"
│   │   ├── a.nav-pill__link href="#roadmap"  → "Hoja de ruta"
│   │   └── a.nav-pill__link href="#contact"  → "Contacto"
│   └── button.btn.btn--header
│       ├── "Reservar una llamada"
│       └── svg.btn__arrow viewBox="0 0 8 8" (path d="M1 7L7 1M7 1H2M7 1V6")
├── h1.hero__heading
│   ├── span.hero__line > span.hero__line-inner → "Haciendo tu negocio"
│   ├── span.hero__line > span.hero__line-inner → "sobresaliente — es una"
│   └── span.hero__line > span.hero__line-inner > em → "Ciencia"
├── nav.side-nav  aria-label="Secciones"
│   ├── a.side-nav__link.side-nav__link--active href="#home"
│   │   ├── span.side-nav__link-text "Inicio"
│   │   └── span.side-nav__line
│   ├── a.side-nav__link href="#services"  → span.side-nav__link-text "Nuestros servicios"
│   ├── a.side-nav__link href="#about"     → span.side-nav__link-text "Sobre nosotros"
│   ├── a.side-nav__link href="#reviews"   → span.side-nav__link-text "Reseñas"
│   └── a.side-nav__link href="#contact"   → span.side-nav__link-text "Contáctanos"
├── div.hero__blur-bar
└── div.hero__bottom (CSS grid, 1fr auto / 3 filas)
    ├── div.hero__label (fila 1) → "01 — Nuestro objetivo"
    ├── p.hero__desc (fila 2) → 3 líneas:
    │     "Permitimos a los inversores y family offices más comprometidos del mundo"
    │     "acceder a estrategias de inversión gestionadas"
    │     "profesionalmente."
    ├── div.hero__actions (fila 3)
    │   ├── button.btn.btn--footer
    │   │   ├── "Discutir el proyecto"
    │   │   └── svg.btn__arrow (misma ruta de flecha 8×8 que el encabezado)
    │   └── button.scroll-down#scrollDown
    │       ├── span.scroll-down__text "Desplazarse hacia abajo"
    │       └── span.scroll-down__circle
    │           └── svg viewBox="0 0 7.222 8.667" (path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5")
    └── a.about-card href="#about"
        ├── div.about-card__image > img src="https://qclay.design/lovable/kubric/card-image.png" alt="Primer plano de tulipán rosa"
        └── div.about-card__content
            ├── div
            │   ├── h3.about-card__title "Sobre nosotros"
            │   └── p.about-card__text "Estamos impulsados por un diseño centrado en el usuario que aumenta la productividad y los ingresos."
            └── svg.about-card__arrow viewBox="0 0 77 13" (path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5")

FUENTES DE ICONOS / SVG (PEGAR TEXTUALMENTE — LAS COORDENADAS Y LAS LONGITUDES DE RUTA SON EXACTAS)

LOGO SVG (DENTRO DE A.LOGO):

<svg class="logo__icon" viewBox="0 0 122 30" fill="none" xmlns="http://www.w3.org/2000/svg">
  <circle class="logo__circle" cx="14.3" cy="14.9" r="7" fill="none" stroke="#fff" stroke-width="3"/>
  <path class="logo__arc-1a" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
        d="M28.4955 14.6513C28.4346 12.2923 27.7563 9.99047 26.5284 7.9753C25.3005 5.96012 23.5657 4.30202 21.4972 3.1663C19.4287 2.03059 17.0985 1.45693 14.7392 1.50252C12.3798 1.54811 10.0736 2.21137 8.05047 3.42615"/>
  <path class="logo__arc-1b" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
        d="M28.4955 14.6513C28.5564 17.0104 27.998 19.3442 26.8757 21.4201C25.7535 23.496 24.1067 25.2414 22.0996 26.4824C20.0924 27.7234 17.795 28.4166 15.4365 28.4929C13.0779 28.5692 10.7405 28.026 8.65735 26.9173"/>
  <path class="logo__arc-2a" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
        d="M37.4997 14.9144C37.4824 12.1783 36.634 9.51197 35.0671 7.26888C33.5001 5.02578 31.2885 3.31178 28.7254 2.35403"/>
  <path class="logo__arc-2b" pathLength="100" stroke="#fff" stroke-width="3" stroke-linecap="round" fill="none"
        d="M37.4997 14.9144C37.5171 17.6506 36.7026 20.3274 35.1642 22.5902C33.6258 24.853 31.4361 26.5949 28.8853 27.5851"/>
  <g class="logo__text-group">
    <text x="46" y="22" font-family="Inter Tight" font-size="22" font-weight="700" fill="#fff" letter-spacing="-0.5">Kubric</text>
    <text class="logo__tm" x="113" y="10">™</text>
  </g>
</svg>

ICONO DE FLECHA (USADO EN AMBOS BOTONES) VIEWBOX="0 0 8 8":

<path d="M1 7L7 1M7 1H2M7 1V6" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>

ICONO DE CHEVRÓN DE DESPLAZAMIENTO HACIA ABAJO VIEWBOX="0 0 7.222 8.667":

<path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>

FLECHA LARGA DE LA TARJETA ABOUT VIEWBOX="0 0 77 13":

<path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5" stroke="currentColor" stroke-width="1" stroke-linecap="round" stroke-linejoin="round"/>

CSS COMPLETO (AGREGAR A SRC/STYLES.CSS TEXTUALMENTE — FUENTE DE VERDAD EXACTA)

/ ============ HERO ============ /
.hero { position: relative; width: 100%; height: 100vh; min-height: 700px; overflow: hidden; background: var(--bg); }
.hero__bg { position: absolute; inset: 0; z-index: 0; overflow: hidden; }
.hero__video { position: absolute; top: 50%; left: 50%; width: 60%; height: 90%; object-fit: cover; transform: translate(-50%,-50%) scale(1.9); }
.hero__overlay { position: absolute; inset: 0; z-index: 1; background: rgba(8,8,8,0.25); pointer-events: none; }
.hero__gradient-top,.hero__gradient-bottom { display: none; }

/ ===== DESENFOQUE PROGRESIVO ===== /
.hero__blur { position: absolute; left:0; right:0; bottom:0; height: 26%; z-index:3; pointer-events:none; }
.hero__blur-layer { position: absolute; inset: 0; }
.hero__blur-layer:nth-child(1){ backdrop-filter: blur(0.6px); mask-image: linear-gradient(to bottom, transparent 0%, black 12%); }
.hero__blur-layer:nth-child(2){ backdrop-filter: blur(1px);   mask-image: linear-gradient(to bottom, transparent 12%, black 25%); }
.hero__blur-layer:nth-child(3){ backdrop-filter: blur(1.5px); mask-image: linear-gradient(to bottom, transparent 25%, black 37%); }
.hero__blur-layer:nth-child(4){ backdrop-filter: blur(2px);   mask-image: linear-gradient(to bottom, transparent 37%, black 50%); }
.hero__blur-layer:nth-child(5){ backdrop-filter: blur(3px);   mask-image: linear-gradient(to bottom, transparent 50%, black 62%); }
.hero__blur-layer:nth-child(6){ backdrop-filter: blur(4px);   mask-image: linear-gradient(to bottom, transparent 62%, black 75%); }
.hero__blur-layer:nth-child(7){ backdrop-filter: blur(6px);   mask-image: linear-gradient(to bottom, transparent 75%, black 87%); }
.hero__blur-layer:nth-child(8){ backdrop-filter: blur(8px);   mask-image: linear-gradient(to bottom, transparent 87%, black 100%); }
.hero__blur::after { content:""; position:absolute; inset:0; pointer-events:none;
  background: linear-gradient(to bottom, transparent 0%, rgba(20,20,20,0.35) 40%, rgba(20,20,20,0.65) 70%, rgba(20,20,20,0.85) 100%); }

.hero__blur-bar { position: absolute; left:0; right:0; bottom:0;
  height: calc(60px + clamp(20px,3vh,36px) + 24px); z-index:4; pointer-events:none;
  background: linear-gradient(0.8deg, rgba(255,255,255,0.06) -51%, transparent 109%), rgba(255,255,255,0.01);
  mask-image: linear-gradient(to bottom, transparent 0%, black 30%); }

/ ===== HEADER ===== /
.header { position: absolute; top:0; left:0; right:0; z-index:10; display:flex; align-items:center; justify-content: space-between; padding: 20px var(--page-pad); }

/ ===== LOGO ===== /
.logo { display:flex; align-items:center; }
.logo__icon { display:block; width: clamp(80px,7.6vw,110px); height: clamp(22px,2.08vw,30px); overflow:visible; }
body:not(.is-ready) .logo__circle,
body:not(.is-ready) .logo__arc-1a, body:not(.is-ready) .logo__arc-1b,
body:not(.is-ready) .logo__arc-2a, body:not(.is-ready) .logo__arc-2b,
body:not(.is-ready) .logo__text-group { opacity:0; animation-play-state: paused !important; }
.logo__circle { transform-origin: 14.3px 14.9px; transform: scale(0); opacity:0;
  animation: logoCircleGrow 0.4s cubic-bezier(0.34,1.56,0.64,1) 0.1s forwards; }
@keyframes logoCircleGrow { to { transform: scale(1); opacity:1; } }
.logo__arc-1a,.logo__arc-1b { stroke-dasharray:100; stroke-dashoffset:100; opacity:0; transform: translateX(-14px);
  animation: logoArcDraw1 0.65s cubic-bezier(0.16,1,0.3,1) 0.55s forwards; }
.logo__arc-2a,.logo__arc-2b { stroke-dasharray:100; stroke-dashoffset:100; opacity:0; transform: translateX(-14px);
  animation: logoArcDraw2 0.5s  cubic-bezier(0.16,1,0.3,1) 1.25s forwards; }
@keyframes logoArcDraw1 { to { stroke-dashoffset:0; opacity:1; transform: translateX(0);} }
@keyframes logoArcDraw2 { to { stroke-dashoffset:0; opacity:1; transform: translateX(0);} }
.logo__text-group { opacity:0; filter: blur(10px); transform: translateX(28px);
  animation: logoTextReveal 1.9s cubic-bezier(0.16,1,0.3,1) 1.25s forwards; }
@keyframes logoTextReveal { to { opacity:1; filter: blur(0); transform: translateX(0);} }
.logo__tm { font-family:"Inter Tight",sans-serif; font-size:20px; fill:#fff; }

/ ===== NAV PILL ===== /
.nav-pill {
  display:inline-flex; align-items:center; gap: clamp(16px,2.3vw,33px);
  padding: clamp(8px,0.76vw,11px) clamp(18px,2.2vw,30px);
  background: rgba(255,255,255,0.1); backdrop-filter: blur(12px);
  border-radius: 100px; outline: 1px solid rgba(255,255,255,0.15);
}
body:not(.is-ready) .nav-pill { opacity:0; transform: translateY(-12px); animation: navPillSlide 0.7s cubic-bezier(0.16,1,0.3,1) 0.2s forwards; }
@keyframes navPillSlide { to { opacity:1; transform: translateY(0);} }
.nav-pill__link { font-size: clamp(13px,0.95vw,14px); font-weight:500; color: var(--text-muted); transition: color 0.2s;letter-spacing:-0.01em; white-space:nowrap; }
.nav-pill__link:hover { color: var(--text); }
.nav-pill__badge {
  display:inline-flex; align-items:center; justify-content:center;
  width:18px; height:18px; border-radius:50%; font-size:10px; font-weight:700;
  background: #fff; color: #000; margin-left:4px; vertical-align:super;
}
.btn--header { display:inline-flex; align-items:center; gap:8px; padding: clamp(8px,0.76vw,12px) clamp(16px,1.5vw,22px);
  background: #fff; color: #000; border-radius: var(--btn-radius); font-size: clamp(12px,0.9vw,14px); font-weight:600;
  transition: opacity 0.2s; white-space:nowrap;
}
.btn--header:hover { opacity:0.85; }
.btn__arrow { width:8px; height:8px; flex-shrink:0; }

/ ===== HEADING ===== /
.hero__heading { position:absolute; left:var(--page-pad); top: clamp(130px,13.5vw,180px); z-index:10; max-width: clamp(560px,47vw,720px); }
body:not(.is-ready) .hero__heading { opacity:0; }
.hero__line { display:block; overflow:hidden; }
.hero__line-inner { display:inline-block; font-size: clamp(36px,3.4vw,56px); font-weight:500; line-height:1.1; letter-spacing:-0.02em; white-space:nowrap; }
.hero__line-inner em { font-style:italic; }
body:not(.is-ready) .hero__line-inner:nth-child(1) { animation: charReveal 0.8s steps(20) 1.0s forwards; opacity:0; }
body:not(.is-ready) .hero__line-inner:nth-child(2) { animation: charReveal 0.8s steps(25) 1.4s forwards; opacity:0; }
body:not(.is-ready) .hero__line-inner:nth-child(3) { animation: charReveal 0.8s steps(10) 1.8s forwards; opacity:0; }
@keyframes charReveal { to { opacity:1; } }

/ ===== SIDE NAV ===== /
.side-nav { position:absolute; right: var(--page-pad); top: 50%; transform: translateY(-50%); z-index:10; display:flex; flex-direction:column; align-items:flex-end; gap:18px; }
body:not(.is-ready) .side-nav { opacity:0; transform: translateY(-50%) translateX(10px); animation: sideNavIn 0.6s cubic-bezier(0.16,1,0.3,1) 0.6s forwards; }
@keyframes sideNavIn { to { opacity:1; transform: translateY(-50%) translateX(0);} }
.side-nav__link { position:relative; display:flex; align-items:center; gap:8px; font-size: clamp(11px,0.78vw,13px); font-weight:400; color: var(--text-muted); transition: color 0.2s; text-align:right; }
.side-nav__link:hover { color: var(--text); }
.side-nav__link--active { color: var(--text); }
.side-nav__link-text { order:1; }
.side-nav__line { display:block; width:14px; height:1px; background: var(--text); transition: width 0.3s; order:0; }
.side-nav__link--active .side-nav__line { width:24px; }

/ ===== BOTTOM ===== /
.hero__bottom { position:absolute; left:var(--page-pad); right:var(--page-pad); bottom:0; z-index:10; display:grid; grid-template-columns:1fr auto; grid-template-rows:auto auto auto; gap:0;
  padding-bottom: clamp(20px,3vh,36px);
}
.hero__label { grid-column:1; grid-row:1; font-size: clamp(11px,0.8vw,13px); font-weight:500; letter-spacing:0.02em; text-transform:uppercase; color: var(--text-muted); }
body:not(.is-ready) .hero__label { opacity:0; transform: translateY(8px); animation: bottomFadeUp 0.5s cubic-bezier(0.16,1,0.3,1) 2.2s forwards; }
.hero__desc { grid-column:1; grid-row:2; max-width: clamp(360px,30vw,480px); font-size: clamp(13px,0.95vw,15px); font-weight:400; line-height:1.4; color: var(--text-muted); margin-top:8px; }
body:not(.is-ready) .hero__desc { opacity:0; transform: translateY(8px); animation: bottomFadeUp 0.5s cubic-bezier(0.16,1,0.3,1) 2.4s forwards; }
.hero__actions { grid-column:1; grid-row:3; display:flex; align-items:center; gap:20px; margin-top:16px; }
body:not(.is-ready) .hero__actions { opacity:0; transform: translateY(8px); animation: bottomFadeUp 0.5s cubic-bezier(0.16,1,0.3,1) 2.6s forwards; }
@keyframes bottomFadeUp { to { opacity:1; transform: translateY(0);} }
.btn--footer { display:inline-flex; align-items:center; gap:8px; padding: clamp(10px,0.95vw,14px) clamp(18px,1.7vw,26px);
  background: #fff; color: #000; border-radius: var(--btn-radius); font-size: clamp(12px,0.9vw,14px); font-weight:600;
  transition: opacity 0.2s;
}
.btn--footer:hover { opacity:0.85; }
.scroll-down { display:inline-flex; align-items:center; gap:10px; font-size: clamp(11px,0.78vw,13px); font-weight:400; color: var(--text-muted); white-space:nowrap; transition: color 0.2s; }
.scroll-down:hover { color: var(--text); }
.scroll-down__circle { display:flex; align-items:center; justify-content:center; width: clamp(28px,2.2vw,34px); height: clamp(28px,2.2vw,34px); border-radius:50%; border:1px solid rgba(255,255,255,0.2); transition: border-color 0.2s; }
.scroll-down:hover .scroll-down__circle { border-color: rgba(255,255,255,0.5); }
.scroll-down__circle svg { width:6px; height:8px; display:block; }
body:not(.is-ready) .scroll-down__circle { animation: scrollBounce 1.5s ease-in-out infinite; }
@keyframes scrollBounce { 0%,100%{ transform:translateY(0); } 50%{ transform:translateY(4px); } }

/ ===== ABOUT CARD ===== /
.about-card { grid-column:2; grid-row:1 / span 3; align-self:end; display:flex; align-items:center; gap:16px;
  background: #fff; color: #22282b; border-radius: var(--card-radius); overflow:hidden; width: clamp(240px,20vw,300px); height: clamp(72px,5.5vh,84px);
  text-decoration:none; transition: box-shadow 0.2s;
}
body:not(.is-ready) .about-card { opacity:0; transform: translateY(12px); animation: aboutCardIn 0.5s cubic-bezier(0.16,1,0.3,1) 2.8s forwards; }
@keyframes aboutCardIn { to { opacity:1; transform: translateY(0);} }
.about-card:hover { box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.about-card__image { width: clamp(64px,5vw,80px); height:100%; flex-shrink:0; overflow:hidden; }
.about-card__image img { width:100%; height:100%; object-fit:cover; display:block; }
.about-card__content { flex:1; display:flex; flex-direction:column; justify-content:center; padding-right:8px; min-width:0; }
.about-card__title { font-size: clamp(12px,0.9vw,14px); font-weight:600; margin:0; letter-spacing:-0.01em; }
.about-card__text { font-size: clamp(9px,0.65vw,11px); font-weight:400; color: #5a5f63; margin:2px 0 0 0; line-height:1.3; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.about-card__arrow { width: clamp(40px,3.5vw,50px); height:8px; flex-shrink:0; margin-left:4px; color: #22282b; transition: transform 0.2s; }
.about-card:hover .about-card__arrow { transform: translateX(3px); }

/ ===== PREFERS-REDUCED-MOTION ===== /
@media (prefers-reduced-motion: reduce) {
  *,*::before,*::after { animation-duration:0.01ms !important; animation-delay:0ms !important; transition-duration:0.01ms !important; }
  .hero__video { animation: none; }
  .scroll-down__circle { animation: none; }
}

JAVASCRIPT (AGREGAR EN SRC/ROUTES/INDEX.TSX — EN UN BLOQUE DE EFECTO SECUNDARIO O useClient)

'use client';
import { useEffect } from 'react';

export default function HomePage() {
  useEffect(() => {
    const video = document.querySelector<HTMLVideoElement>('.hero__video');
    if (!video) return;

    const onReady = () => {
      document.body.classList.add('is-ready');
    };

    if (video.readyState >= 4) {
      onReady();
    } else {
      video.addEventListener('canplaythrough', onReady);
      // Seguridad en caso de que el video nunca se cargue
      setTimeout(onReady, 5000);
    }

    return () => {
      video.removeEventListener('canplaythrough', onReady);
    };
  }, []);

  return (
    <div className="hero">
      <div className="hero__bg">
        <video className="hero__video" autoPlay muted loop playsInline preload="auto">
          <source src="https://qclay.design/lovable/kubric/body.mp4" type="video/mp4" />
        </video>
      </div>
      <div className="hero__overlay" />
      <div className="hero__gradient-top" />
      <div className="hero__gradient-bottom" />
      <div className="hero__blur">
        {Array.from({ length: 8 }).map((_, i) => (
          <div key={i} className="hero__blur-layer" />
        ))}
      </div>
      <header className="header">
        <a href="#" className="logo" aria-label="Kubric">
          <svg className="logo__icon" viewBox="0 0 122 30" fill="none" xmlns="http://www.w3.org/2000/svg">
            <circle className="logo__circle" cx="14.3" cy="14.9" r="7" fill="none" stroke="#fff" strokeWidth="3" />
            <path className="logo__arc-1a" pathLength="100" stroke="#fff" strokeWidth="3" strokeLinecap="round" fill="none" d="M28.4955 14.6513C28.4346 12.2923 27.7563 9.99047 26.5284 7.9753C25.3005 5.96012 23.5657 4.30202 21.4972 3.1663C19.4287 2.03059 17.0985 1.45693 14.7392 1.50252C12.3798 1.54811 10.0736 2.21137 8.05047 3.42615" />
            <path className="logo__arc-1b" pathLength="100" stroke="#fff" strokeWidth="3" strokeLinecap="round" fill="none" d="M28.4955 14.6513C28.5564 17.0104 27.998 19.3442 26.8757 21.4201C25.7535 23.496 24.1067 25.2414 22.0996 26.4824C20.0924 27.7234 17.795 28.4166 15.4365 28.4929C13.0779 28.5692 10.7405 28.026 8.65735 26.9173" />
            <path className="logo__arc-2a" pathLength="100" stroke="#fff" strokeWidth="3" strokeLinecap="round" fill="none" d="M37.4997 14.9144C37.4824 12.1783 36.634 9.51197 35.0671 7.26888C33.5001 5.02578 31.2885 3.31178 28.7254 2.35403" />
            <path className="logo__arc-2b" pathLength="100" stroke="#fff" strokeWidth="3" strokeLinecap="round" fill="none" d="M37.4997 14.9144C37.5171 17.6506 36.7026 20.3274 35.1642 22.5902C33.6258 24.853 31.4361 26.5949 28.8853 27.5851" />
            <g className="logo__text-group">
              <text x="46" y="22" fontFamily="Inter Tight" fontSize="22" fontWeight="700" fill="#fff" letterSpacing="-0.5">Kubric</text>
              <text className="logo__tm" x="113" y="10">™</text>
            </g>
          </svg>
        </a>
        <nav className="nav-pill" aria-label="Principal">
          <a href="#features" className="nav-pill__link">Características</a>
          <a href="#team" className="nav-pill__link">
            Equipo
            <span className="nav-pill__badge">3</span>
          </a>
          <a href="#roadmap" className="nav-pill__link">Hoja de ruta</a>
          <a href="#contact" className="nav-pill__link">Contacto</a>
        </nav>
        <button className="btn btn--header">
          Reservar una llamada
          <svg className="btn__arrow" viewBox="0 0 8 8">
            <path d="M1 7L7 1M7 1H2M7 1V6" stroke="currentColor" strokeWidth="1" strokeLinecap="round" strokeLinejoin="round" />
          </svg>
        </button>
      </header>
      <h1 className="hero__heading">
        <span className="hero__line"><span className="hero__line-inner">Haciendo tu negocio</span></span>
        <span className="hero__line"><span className="hero__line-inner">sobresaliente — es una</span></span>
        <span className="hero__line"><span className="hero__line-inner"><em>Ciencia</em></span></span>
      </h1>
      <nav className="side-nav" aria-label="Secciones">
        <a href="#home" className="side-nav__link side-nav__link--active">
          <span className="side-nav__link-text">Inicio</span>
          <span className="side-nav__line" />
        </a>
        <a href="#services" className="side-nav__link">
          <span className="side-nav__link-text">Nuestros servicios</span>
          <span className="side-nav__line" />
        </a>
        <a href="#about" className="side-nav__link">
          <span className="side-nav__link-text">Sobre nosotros</span>
          <span className="side-nav__line" />
        </a>
        <a href="#reviews" className="side-nav__link">
          <span className="side-nav__link-text">Reseñas</span>
          <span className="side-nav__line" />
        </a>
        <a href="#contact" className="side-nav__link">
          <span className="side-nav__link-text">Contáctanos</span>
          <span className="side-nav__line" />
        </a>
      </nav>
      <div className="hero__blur-bar" />
      <div className="hero__bottom">
        <div className="hero__label">01 — Nuestro objetivo</div>
        <p className="hero__desc">
          Permitimos a los inversores y family offices más comprometidos del mundo<br />
          acceder a estrategias de inversión gestionadas<br />
          profesionalmente.
        </p>
        <div className="hero__actions">
          <button className="btn btn--footer">
            Discutir el proyecto
            <svg className="btn__arrow" viewBox="0 0 8 8">
              <path d="M1 7L7 1M7 1H2M7 1V6" stroke="currentColor" strokeWidth="1" strokeLinecap="round" strokeLinejoin="round" />
            </svg>
          </button>
          <button className="scroll-down" id="scrollDown">
            <span className="scroll-down__text">Desplazarse hacia abajo</span>
            <span className="scroll-down__circle">
              <svg viewBox="0 0 7.222 8.667">
                <path d="M3.611 1V7.667M3.611 7.667L1 5M3.611 7.667L6.222 5" stroke="currentColor" strokeWidth="1" strokeLinecap="round" strokeLinejoin="round" />
              </svg>
            </span>
          </button>
        </div>
        <a href="#about" className="about-card">
          <div className="about-card__image">
            <img src="https://qclay.design/lovable/kubric/card-image.png" alt="Primer plano de tulipán rosa" />
          </div>
          <div className="about-card__content">
            <h3 className="about-card__title">Sobre nosotros</h3>
            <p className="about-card__text">Estamos impulsados por un diseño centrado en el usuario que aumenta la productividad y los ingresos.</p>
          </div>
          <svg className="about-card__arrow" viewBox="0 0 77 13">
            <path d="M1 6.5H75M75 6.5L70 1.5M75 6.5L70 11.5" stroke="currentColor" strokeWidth="1" strokeLinecap="round" strokeLinejoin="round" />
          </svg>
        </a>
      </div>
    </div>
  );
}

Individual skills in this repo

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

ZeroSum-Solutions/mishmash

Two-section scroll landing for **S.P.D**, a fictional daily-operations automation platform. Section one is a full-bleed black hero: a muted, looping period-painting video plays edge to edge behind a top-left wordmark and tagline, a top-right pill CTA, and a large right-aligned serif headline low in the frame. A cloud-plume image straddles the seam into section two, a saturated red panel holding a centered monogram, an uppercase mission line, a large script signature, two closing lines of copy, and a second looping video with a soft fade into the red. Motion is a staggered load-in fade on the hero, an IntersectionObserver reveal on the red section's content, and a scroll-linked parallax on the cloud plume — all degrading to a static, fully-visible layout under reduced motion.

ZeroSum-Solutions/mishmash

Full-screen, single-viewport (100vh, no scroll) dark hero landing page for **Asme**, a fictional no-code AI app platform. The fullscreen background is an HLS video stream from Mux, playing natively on Safari and via hls.js MediaSource on other browsers. A liquid-glass pill navbar (luminosity-blended glass with a masked `::before` gradient border) floats above an Instrument Serif hero heading and an animated email-capture CTA — "Get early access" expands to a form with a 60 ms/char typewriter placeholder, flips `ArrowRight` to `Check` on submit, and auto-resets after 4 seconds. All elements animate in on load with Motion (Framer Motion).

ZeroSum-Solutions/mishmash

A pixel-spec, dark-themed single-page marketing landing site for **Asme**, a fictional knowledge and insights platform, featuring a signature reusable `.liquid-glass` surface treatment — luminosity-blended translucent fill, 4px backdrop blur, inset top highlight, and a masked `::before` gradient border — applied consistently across the navbar pill, email capture, buttons, cards, and icon chips. The full-viewport hero loops a locally vendored `.mp4` video via a vanilla `requestAnimationFrame` opacity crossfade (fade in on `canplay`, fade out at 0.55s remaining, 100ms gap restart). Four scroll-triggered sections animate in with Framer Motion `useInView`: About, Featured Video, Innovation × Vision (video + two columns sliding from opposite sides), and Services (two glass cards with hover-zoom video). Instrument Serif display type sits against pure black throughout.

ZeroSum-Solutions/mishmash

A premium, dark-cinematic landing page for **Aura**, a fictional AI-native email client, featuring a looping fullscreen background video, a gradient-clip shiny headline, a macOS-style menu bar mockup, a realistic inbox preview, and a custom liquid-glass card treatment. The multi-section layout covers navbar, hero, menu bar, inbox mockup, feature triage, logo cloud, testimonials, pricing, and a final CTA — targeting the AI productivity app and SaaS landing page use case.

ZeroSum-Solutions/mishmash

A modern React landing page for a fictional broadcast-grade live video platform featuring a full-screen adaptive HLS video background, a glassmorphic navigation header, and hero content pinned to the bottom-left corner. Dark cinematic aesthetic with Gloock display serif, Archivo body, JetBrains Mono telemetry labels, and an aurora-green signal accent — ideal as a live streaming platform or video SaaS landing page template.

ZeroSum-Solutions/mishmash

A single-screen marketing landing page for "dot.", a calm-messaging product that links you with one anonymous peer for a single message each day. The hero is a full-screen looping background video of a phone, fronted by an animated Instrument Serif headline and a typewriter effect that types and deletes short messages ("Are you here?", "Yes, I am.", "Speak soon.") positioned to sit on the phone's on-screen display — evoking a quiet, analog rhythm. A floating pill navbar with a glinting "Link up" CTA completes the single-screen composition.

ZeroSum-Solutions/mishmash

A single-page "scrollytelling" landing page called Step Into Wonder: a 4.8-screen pinned scroll sequence where painted curtains part over a glowing crystal-cave portal, the world zooms and the portal irises open toward a sky beyond, then a giant arc of nine pastel destination cards sweeps across the closing scroll like a slow ferris wheel. Serif display headlines (Viaoda Libre) pair with a plain sans body face (Imprima) over a near-black stage, with mouse parallax on every layer and a dignified static fallback under reduced motion.

ZeroSum-Solutions/mishmash

Full landing page for the fictional AI workflow-automation platform **FlowMate** — a fixed left sidebar with a logo mark and section nav, a translucent blurred navbar, a large serif hero headline, a liquid-glass chat-composer card overlaid on a looping ambient video, a six-card feature grid, and an auto-rotating three-up cards carousel, all on an off-white minimalist palette with one indigo-violet chromatic accent.

ZeroSum-Solutions/mishmash

A single-page landing page for GroundAI, an interior-design AI product, built with TanStack Start v1 on file-based routing, React 19, TypeScript, Tailwind CSS v4, framer-motion for all animation, and lucide-react for icons. The page is composed of four stacked sections: a full-bleed autoplaying video hero with spring-animated header, expanding glass nav pill, and word-by-word animated description; a CSS marquee of partner brand wordmarks; a CraftExperiences section with a spring-driven style carousel, a skeleton-morphing chat card, and a staggered adaptable list; and a two-column testimonials block with animated word reveals.

ZeroSum-Solutions/mishmash

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.

ZeroSum-Solutions/mishmash

ProFolioX is a static reproduction of the current Lexington Themes portfolio template. It combines a fixed desktop sidebar, responsive mobile navigation, Geist typography, light and dark themes, animated project cards, searchable content, and editorial portfolio layouts.

ZeroSum-Solutions/mishmash

Warm, editorial single-page landing for **Velar.**, a fictional luxury real-estate brand. A deep-teal typewriter preloader gives way to a sky-backdrop hero ("Live in Irreplaceable") with a cutout building image that rises from below on load, then a scroll-driven centerpiece: as the user scrolls, that same building drifts upward and scales to 1.45x while pinning toward the bottom of a sticky black statement section with count-up stats. A hover-expand five-tile video gallery slides up over the statement section, and a bronze-gradient "Inquire" close finishes the page. Syne (display) pairs with Inter (body) throughout, on a warm off-white ground with one chromatic bronze accent.

ZeroSum-Solutions/mishmash

A full-screen, cinematic hero landing page for a creative agency called Mainframe, featuring a fixed background video that scrubs forward and backward in response to horizontal mouse movement, an AI-assistant-themed blurred intro label, a typewriter-animated headline, and a row of pill-shaped action buttons with a clipboard copy email link. The design pairs HelveticaNowDisplay-Medium headings with HelveticaNowDisplayW01-Rg body text, both vendored locally for offline use. Built with React 19, TypeScript, Vite, and Tailwind CSS v3.

ZeroSum-Solutions/mishmash

A cinematic, single-section landing hero for mėntality, a fictional mental-health resources product. The page pairs a full-bleed background video that gradient-masks into a soft `#edeef5` base with a glassmorphic, fixed navigation bar, built in React 19 + Vite and animated with Motion (formerly Framer Motion). Notable techniques include `backdrop-blur` glassmorphism, a gradient mask that blends the video top into the base color, `clamp()` fluid headline sizing, an animated SVG hamburger that morphs into an X, an inline blinking "eye/pupil" pill in the headline, and an animated `pl`/`en` language toggle. Styling is Tailwind CSS 4 via the `@tailwindcss/vite` plugin (CSS-first `@theme`, no config file), with Inter and Outfit from Google Fonts.

ZeroSum-Solutions/mishmash

A pure-black (#000) monochrome landing page for Mindloop, a newsletter and content platform, where white typography does the talking — Inter for structure and Instrument Serif italics for accent words. The seven-section page flows through a fixed glass navbar, a full-viewport MP4 hero with email capture, an AI-platform awareness section, a scroll-driven word-by-word opacity reveal, a solution feature grid with a 3:1 video panel, an HLS-streamed CTA section via hls.js (with native Safari fallback), and a minimal footer — with Framer Motion entrances and a liquid-glass CSS border effect throughout.

ZeroSum-Solutions/mishmash

Cinematic single-page landing for the fictional neural-AI platform **SynapseX**. A fixed, full-viewport background video scrubs frame-by-frame as the page scrolls and progressively blurs, sitting behind a scramble-in split-corner hero headline, a 3D-tilted cinematic paragraph reveal, and a frosted-glass horizontal metrics carousel. Pure black-and-white scaffolding is punctuated by one neon-green "synaptic" accent that ties the UI to the glowing footage underneath it.

ZeroSum-Solutions/mishmash

A dark, full-bleed landing page for Neuralyn, a fictional analytics-dashboard SaaS, featuring a full-viewport hero with a scroll-linked parallax dashboard composited over a looping background video and a scroll-driven testimonial where each word lights up as you scroll. The aesthetic is pure-black background, white type, a single italic serif accent word, and a liquid-glass tag pill. Built with React 18 + Vite and TypeScript, styled with Tailwind CSS 3 and shadcn/ui-style primitives, animated via Framer Motion (`useScroll`/`useTransform`) for scroll-linked parallax and the word-by-word color reveal, with fonts self-hosted via Fontsource.

ZeroSum-Solutions/mishmash

A monochrome, editorial landing page for a fictional Natural History Museum paleontology collection, featuring a three-section continuous scroll: a full-viewport hero with a delayed background video reveal and an animated geometric "NHM" SVG logotype (per-polygon slide-up reveal), an "Explore Our World" section with scroll-revealed display heading and action pills, and a dark "Ancient Collection" chapter browser with auto-cycling fossil images and a custom SVG `feTurbulence`/`feDisplacementMap` sand-dissolve transition effect. Built with React 19, Vite 6, Tailwind CSS 4 (CSS-first config), and Motion (Framer Motion), in a strictly monochrome black/white/gray palette — no color accents.

ZeroSum-Solutions/mishmash

A single-page NFT landing site with four full-bleed sections (Hero, About, Collection, CTA) on a dark space theme. The page uses looping muted background videos, a CSS liquid-glass UI effect, a fixed grain texture overlay, and a tight color system (deep navy `#010828`, off-white `#EFF4FF`, neon green `#6FFF00`; Anton headings, Condiment cursive accents, system mono body). Showcases a three-card NFT collection grid with rarity scores and video previews.

ZeroSum-Solutions/mishmash

Dark "About Me" section for a freelance designer's portfolio, built as a single self-contained HTML page. A gradient headline reading "About me" sits above a bio paragraph whose characters brighten left-to-right as the page scrolls, framed by four glassy 3D corner icons (moon, brick, smiley, cursor) that slide in from the left and right on load, with a magenta-to-orange gradient pill button beneath.

Skills relacionados