Amanda & Thomas — свадебная страница с боковой панелью
Свадебное приглашение: фото во весь экран слева, узкая панель справа с датой, парой, отсчётом, галереей и RSVP.
Промпт
Recreate the website "Luxury Wedding Invitation" with high visual fidelity as a Tailwind CSS and Vanilla JS site.
The result must match the supplied reference website exactly, preserving its specific structure of a large sticky left panel and a scrollable right sidebar on desktop.
Preserve source quirks:
- The left banner uses a `scale-105` and custom pulse animation on the background image.
- The "Holy Matrimony" and "Reception" address text has no space between the venue name and city: "HotelSenayan" and "HotelGrand".
- The RSVP form has no form action or method; it is a visual-only submission block.
CRITICAL FIDELITY CONSTRAINTS
- The page MUST include the timed intro envelope animation that fades out after 3.5 seconds.
- The global paper texture must use the exact URL from the ASSET MAP and be set to `mix-blend-multiply` with 0.6 opacity.
- The layout must switch from a vertical column on mobile (left panel first, then main) to a 75/25 horizontal split on desktop.
TECH STACK / DEPENDENCIES
- Framework: Tailwind CSS (CDN: https://cdn.tailwindcss.com)
- Icons: Iconify (CDN: https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.js)
- Fonts: Google Fonts (Cormorant Garamond, Great Vibes, Montserrat)
GLOBAL STYLE
- Background: `#fcfbf9` (Cream white)
- Text: `#4a4a4a` (Main), `#2c2c2c` (Headings), `#6b7c62` (Accent Green)
- Selection: `bg-[#6b7c62] text-white`
- Paper Texture Overlay: Fixed `inset-0`, z-index 40.
ASSET MAP
- Intro Envelope: https://i.postimg.cc/87MqxK6q/Gold-wax-seal-on-dark-green-envelope.jpg
- Paper Texture: https://www.transparenttextures.com/patterns/cream-paper.png
- Hero Background: https://images.unsplash.com/photo-1583939003579-730e3918a45a?q=80&w=1974&auto=format&fit=crop
- Bride Image: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/4734259a-bad7-422f-981e-ce01e79184f2_1600w.jpg
- Groom Image: https://images.unsplash.com/photo-1507003211169-0a1dd7228f2d?auto=format&fit=crop&w=600&q=80
- Gallery 1: https://images.unsplash.com/photo-1515934751635-c81c6bc9a2d8?q=80&w=800&auto=format&fit=crop
- Gallery 2: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/5bab247f-35d9-400d-a82b-fd87cfe913d2_1600w.webp
- Gallery 3: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/30104e3c-5eea-4b93-93e9-5313698a7156_1600w.webp
- Gallery 4: https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/917d6f93-fb36-439a-8c48-884b67b35381_1600w.jpg
- Audio Background: https://cdn.pixabay.com/audio/2024/01/16/audio_e2b992254f.mp3
LAYER STACK / POSITIONING MAP
- **Intro Envelope (Z-9999)**: Fixed `inset-0`, `#f3f1ec` background. Fade out animation after 3.5s.
- **Lightbox (Z-100)**: Fixed `inset-0`, `bg-black/95`. Toggled via classes `open` and `closed`.
- **Paper Texture (Z-40)**: Fixed `inset-0`, `mix-blend-multiply`, `pointer-events-none`.
- **Layout Wrapper**: `flex-col` (mobile), `lg:flex-row` (desktop).
- **Sticky Aside (Left)**: `w-full lg:w-[75%]`, `h-[60vh] lg:h-screen`, `lg:sticky top-0`. Contains hero imagery and floating title.
- **Main Content (Right)**: `w-full lg:w-[25%]`, scrollable sidebar.
SECTION 1 - INTRO ENVELOPE
- Full-screen container with centered img (max 85% width/height).
- Gold wax seal image. Animation: `fadeOut 2s ease forwards` with `animation-delay: 3.5s`.
SECTION 2 - STICKY BANNER (LEFT)
- Background image with `animate-[pulse_10s_ease-in-out_infinite]` and `scale-105`.
- Gradient overlay: `from-black/60 via-transparent to-black/20`.
- Bottom-left text block: "The Wedding Celebration" (italic, border-l-2), Large "Amanda & Thomas" (Great Vibes font).
- Top-right music button: Glassmorphism effect (`backdrop-blur-md`, `bg-white/10`).
SECTION 3 - INTRO & DATE (RIGHT MAIN)
- Centered date: "26 July 2026".
- Down arrow with `animate-bounce`.
- Script text: "We invite you to share in our joy..."
SECTION 4 - THE COUPLE
- Two profile blocks for Bride and Groom.
- Circular image containers with `#d4cbb3` border and grayscale transition (`hover:grayscale-0 duration-700`).
SECTION 5 - COUNTDOWN
- Background: `#f4f1ea`.
- 4-column grid for Days, Hrs, Min, Sec.
- Logic: Target July 26, 2026, 10:00:00.
SECTION 6 - EVENTS
- Two card components (Holy Matrimony, Reception).
- Icons: `solar:heart-linear` and `solar:wine-glass-linear`.
- Hover effect: `hover:border-[#6b7c62]/30`.
SECTION 7 - GALLERY
- 2x2 compact grid with `gap-0.5`.
- Images have `grayscale` and `group-hover:scale-105`.
- Click logic opens the Lightbox.
SECTION 8 - RSVP
- Form fields using `bg-[#f9f7f2]` and `focus:ring-[#6b7c62]`.
- Inputs: Guest Name (Text), Attendance (Select), Guests (Select), Wishes (Textarea).
- Button: `#2c2c2c` background, uppercase, tracking-widest.
GLOBAL ANIMATION / INTERACTION RULES
- Intersection Observer: Apply `.is-visible` to elements with `.fade-in-section` (transform Y: 20px to 0, opacity 0 to 1).
- Music: Button toggles `audio.play()`/`audio.pause()` and swaps icon between `play-circle` and `pause-circle`.
- Lightbox: Update `img.src` on gallery click; close on background click, Escape key, or close button.
- Countdown: JS `setInterval` updating every 1000ms.
COMMON MISTAKES TO AVOID
- Do not remove the `grayscale` filter on couple/gallery images; it is the default state until hover.
- Do not ignore the sticky behavior of the left panel on desktop.
- Do not use standard scrollbars; the right panel should use `scrollbar-width: none` (hidden scrollbar).
- Do not skip the timed intro envelope; it is the primary entrance experience.
Промпт на английском — ИИ-инструменты понимают его лучше
Свадебное приглашение на английском. На компьютере экран делится на две части: слева закреплённое фото пары с рукописной подписью «Amanda & Thomas», справа узкая прокручиваемая колонка с датой, портретами жениха и невесты, обратным отсчётом, карточками церемонии и банкета, галереей и формой RSVP. Вначале 3,5 секунды показывается конверт с восковой печатью, потом он растворяется. Бумажная текстура поверх страницы даёт ощущение настоящего приглашения.
Как получить такой же результат
Запускайте промпт в Claude: он просит Tailwind CDN и Iconify, один HTML-файл подходит без сборки.
Все картинки даны полными ссылками (Unsplash, Supabase Aura, postimg), и они открылись. Серый фильтр на портретах и галерее включён по умолчанию и пропадает при наведении, так задумано.
Музыка подгружается с Pixabay по ссылке из промпта (сервер отвечает). Браузер включает звук только после клика по кнопке Music, это нормально. Для своей свадьбы подставьте свой mp3 или удалите кнопку.
В промпте нет текстов для блоков события. Мы оставили время и места по умолчанию, как их придумал бы Claude. Замените имена, дату (в промпте 26 июля 2026), отсчёт и названия залов.
Названия мест в оригинале написаны слитно («HotelSenayan»), это намеренная особенность промпта. Если нужны нормальные пробелы, скажите об этом отдельным предложением.
На телефоне колонки складываются в одну: сначала фото, потом контент. Проверьте ширину 390 пикселей перед публикацией.