From b30430a1ea244b3c67872d2333b03916bd90d3b3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jorem=20Ju=C3=A1rez?= Date: Mon, 15 Jun 2026 20:36:00 -0600 Subject: [PATCH] Premium minimalist landing page (brand + single CTA) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Replaces the generic card at / with a single-screen, centered brand moment: - Brand animation: 'SmartMenu' rises in as the protagonist (bold sans, Smart in ink + Menu in terracotta), then a delicate Fraunces-italic 'by Collina' signature fades in surrounded by soft twinkling SVG sparkles (Magic-UI style), over a slow radial brand glow. Pure CSS keyframes + inline SVG — no animation libs, no extra deps; stays light (first thing a prospect loads). - Single sales CTA 'Solicita una demo' → /demo placeholder (flow designed later). - Easter egg: the admin panel has no visible button; tapping the 'by Collina' signature navigates to /admin (discreet ). - Accessible: prefers-reduced-motion shows the final state (no sequence, sparkles static). Responsive mobile→desktop. Uses the existing warm Collina palette. Verified: build passes; / returns 200 with the wordmark, sparkles, demo CTA, and the Collina→/admin link; reduced-motion CSS present in the bundle. --- src/app/globals.css | 70 ++++++++++++++++++++++++++++++ src/app/page.tsx | 102 ++++++++++++++++++++++++++++++++++++++------ 2 files changed, 160 insertions(+), 12 deletions(-) diff --git a/src/app/globals.css b/src/app/globals.css index 8925a0b..f56a071 100644 --- a/src/app/globals.css +++ b/src/app/globals.css @@ -84,6 +84,76 @@ body { transform: rotateY(180deg); } +/* ---- Landing page brand animation (lightweight, pure CSS) ---- */ +@keyframes lp-rise { + from { + opacity: 0; + transform: translateY(16px); + } + to { + opacity: 1; + transform: translateY(0); + } +} +@keyframes lp-sparkle { + 0%, + 100% { + opacity: 0; + transform: scale(0.2) rotate(0deg); + } + 50% { + opacity: 1; + transform: scale(1) rotate(90deg); + } +} +@keyframes lp-glow { + 0%, + 100% { + opacity: 0.45; + transform: scale(1); + } + 50% { + opacity: 0.7; + transform: scale(1.08); + } +} + +.lp-smart { + animation: lp-rise 0.9s cubic-bezier(0.22, 1, 0.36, 1) both; +} +.lp-sign { + animation: lp-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 0.7s both; +} +.lp-cta { + animation: lp-rise 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1.05s both; +} +.lp-glow { + animation: lp-glow 6s ease-in-out infinite; +} +.lp-sparkle { + animation: lp-sparkle 2.6s ease-in-out infinite both; + /* delay accompanies the "by Collina" entrance; staggered per-sparkle below */ + animation-delay: 0.7s; +} + +/* Respect reduced motion: show the final state, skip the sequence. */ +@media (prefers-reduced-motion: reduce) { + .lp-smart, + .lp-sign, + .lp-cta { + animation: none; + opacity: 1; + transform: none; + } + .lp-glow { + animation: none; + } + .lp-sparkle { + animation: none; + opacity: 0.55; + } +} + /* hide horizontal scrollbar on section tabs */ .no-scrollbar::-webkit-scrollbar { display: none; diff --git a/src/app/page.tsx b/src/app/page.tsx index f36bafb..27f0a15 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -1,20 +1,98 @@ import Link from 'next/link'; +// 4-point "magic" sparkle. +function Sparkle({ + className, + style, + color, + size, +}: { + className?: string; + style?: React.CSSProperties; + color: string; + size: number; +}) { + return ( + + + + ); +} + +// Sparkles scattered around the "by Collina" signature. +const SPARKLES: { top: string; left: string; size: number; color: string; delay: string }[] = [ + { top: '-18px', left: '-6%', size: 16, color: '#f59e0b', delay: '0.7s' }, + { top: '4px', left: '102%', size: 20, color: '#fb7185', delay: '1.0s' }, + { top: '34px', left: '8%', size: 12, color: '#fcd34d', delay: '1.4s' }, + { top: '40px', left: '88%', size: 14, color: '#d97706', delay: '0.9s' }, + { top: '-10px', left: '52%', size: 10, color: '#fbbf24', delay: '1.7s' }, + { top: '24px', left: '-2%', size: 9, color: '#fda4af', delay: '2.1s' }, + { top: '-2px', left: '78%', size: 11, color: '#f59e0b', delay: '1.2s' }, +]; + export default function Home() { return ( -
-
-

Menú inteligente

-

- Menús digitales elegantes para restaurantes · Collina Systems -

- - Panel maestro - +
+ {/* Soft brand glow behind the wordmark */} +
+ +
+ {/* SmartMenu — the protagonist */} +

+ Smart + Menu +

+ + {/* by Collina — delicate signature + sparkles. Tapping it opens /admin. */} +
+ {SPARKLES.map((s, i) => ( + + ))} + + by Collina + +
+ + {/* Single sales CTA */} + + Solicita una demo + + +

+ Menús digitales que tus comensales reconocen en cualquier restaurante. +

); }