Промпт Скопировать
Recreate the website "Lumina" with high visual fidelity as a Tailwind CSS and HTML site.
The result must match the supplied reference website, not a cleaned-up reinterpretation.
Preserve source quirks:
- The interaction model uses a `pointer-events-none` wrapper on the main content container, with `pointer-events-auto` applied explicitly to interactive elements (buttons, links).
- The main background is a fixed iframe rendering a 3D scene.
- The stat labels use very low opacity (50%) compared to the values.
- Text content uses "future" in a semibold weight while the rest of the headline is light.
CRITICAL FIDELITY CONSTRAINTS
- The 3D scene must be implemented via the exact Spline URL provided; do not use static images.
- Use the `Manrope` font with the specific weights (300, 400, 500, 600, 700).
- Maintain the exact grid spacing and responsive margins (mt-20 vs mt-32 for desktop).
- Do not add scrollbars; the body is configured with `overflow-x: hidden`.
TECH STACK / DEPENDENCIES
- CSS Framework: Tailwind CSS (via https://cdn.tailwindcss.com)
- Fonts: Google Fonts (Manrope)
- 3D Engine: Spline (embedded via iframe)
GLOBAL STYLE
- Font: 'Manrope', sans-serif
- Background: bg-black
- Text: white
- Body: margin 0, overflow-x: hidden
ASSET MAP
- Hero 3D Scene: https://my.spline.design/glassmorphlandingpage-nyOS3MRrg0GCft1x8mCtqPwk/
- Font Import: https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700&display=swap
VECTOR / ICON SHAPES
- Twitter Icon: viewBox="0 0 24 24", path d="M8.29 20.251c7.547 0 11.675-6.253 11.675-11.675 0-.178 0-.355-.012-.53A8.348 8.348 0 0022 5.92a8.19 8.19 0 01-2.357.646 4.118 4.118 0 001.804-2.27 8.224 8.224 0 01-2.605.996 4.107 4.107 0 00-6.993 3.743 11.65 11.65 0 01-8.457-4.287 4.106 4.106 0 001.27 5.477A4.072 4.072 0 012.8 9.713v.052a4.105 4.105 0 003.292 4.022 4.095 4.095 0 01-1.853.07 4.108 4.108 0 003.834 2.85A8.233 8.233 0 012 18.407a11.616 11.616 0 006.29 1.84"
- GitHub Icon: viewBox="0 0 24 24", clip-rule="evenodd", path d="M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z"
MEDIA BEHAVIOR
- Spline Iframe: width 100%, height 100%, frameborder 0. Must be fixed to background with z-index -1.
LAYER STACK / POSITIONING MAP
- LAYER 1 (Background): .spline-container (fixed, top:0, left:0, w:100%, h:100%, z-index:-1).
- LAYER 2 (Overlay Content): .relative container (min-h-screen, pointer-events-none).
- LAYER 3 (Interactive Elements): All nav links, CTA buttons, and footer links (pointer-events-auto).
SECTION 1 - NAVIGATION
- Container: px-6 py-8, max-w-6xl mx-auto flex justify-between items-center.
- Brand: "Lumina", text-white font-medium.
- Links: Hidden on mobile, flex on md+ with space-x-6. Text: Home, About, Contact. Styles: text-white/80 text-sm hover:text-white.
- Button: "Connect", border border-white/20 rounded-full px-5 py-2 text-sm pointer-events-auto.
SECTION 2 - HERO CONTENT
- Container: px-6 max-w-6xl mx-auto mt-20 md:mt-32.
- Headline: text-4xl (md:text-5xl, lg:text-6xl) font-light leading-tight. Copy: "Experience the [future] of digital interaction".
- Subline: text-white/70 text-lg mt-6. Copy: "Explore our innovative platform where creativity meets technology."
- CTAs: Flex wrap gap-4 mt-10.
- "Get Started": bg-white text-black rounded-full px-7 py-3.
- "Learn More": transparent, border white/20, text-white rounded-full px-7 py-3.
SECTION 3 - STATS GRID
- Layout: Grid-cols-3, gap-8, mt-20.
- Items:
1. 12K+ (text-2xl font-light) / Users (text-white/50 text-sm)
2. 87+ (text-2xl font-light) / Countries (text-white/50 text-sm)
3. 4.9 (text-2xl font-light) / Rating (text-white/50 text-sm)
SECTION 4 - FOOTER
- Position: absolute bottom-8 left-0 right-0 px-6.
- Layout: max-w-6xl mx-auto flex justify-between items-center.
- Copyright: "© 2023 Lumina. All rights reserved.", text-white/40 text-xs.
- Social Icons: Flex space-x-4. Twitter and GitHub SVGs in text-white/40, hover:text-white.
COMMON MISTAKES TO AVOID
- Do not forget the `pointer-events-none` on the hero container; without it, the 3D background cannot be interacted with by mouse movements.
- Do not normalize the font weight of the headline; "future" must be semibold.
- Do not use a standard div for the Spline scene; use the iframe with the specified source URL.
IMPLEMENTATION REQUIREMENTS
- Build the actual landing page as the first screen.
- Use the exact text, assets, section order, and visual states above.
- Preserve layer order and stacking contexts exactly.
- Final page should feel indistinguishable from the source HTML. Короткий минималистичный лендинг на одном экране. Фоном служит интерактивная 3D-сцена Spline: светящиеся стеклянные кубы реагируют на движение мыши. Поверх нее лежит лёгкая навигация, заголовок «Experience the future of digital interaction» (слово «future» жирнее), две кнопки и три цифры. Контент не перехватывает мышь, поэтому сцена остаётся живой. Подойдёт для презентации продукта, приложения или портфолио, где важен один сильный образ.
Как получить такой же результат
Запускайте промпт в Claude: это один HTML-файл с Tailwind CDN, проблем со сборкой нет.
Вся красота в Spline-сцене, она подключена через iframe по ссылке из промпта. Сцена загружается пару секунд и требует WebGL: на очень слабых устройствах будет чёрный фон.
Главная ловушка из промпта: родителю контента ставьте pointer-events-none, а кнопкам и ссылкам pointer-events-auto. Если забыть, мышь перестанет двигать 3D-сцену.
Фон ставьте fixed с z-index: -1, а странице задайте overflow-x: hidden.
Свою сцену можно собрать в Spline и заменить адрес в src у iframe. Тексты и цифры меняются прямо в разметке.