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. +

); }