Библиотека дизайна / Сайты целиком

Сайты целикомСветлыйМинимализмТипографикаБесплатно

¡Nos Casamos! — свадебное приглашение с конвертом

Свадебное приглашение: конверт-заставка, размытое фото, обратный отсчёт, программа дня и форма RSVP.

¡Nos Casamos! — свадебное приглашение с конвертом
Промпт
Recreate the website "¡Nos Casamos! | A & S" with high visual fidelity as a Tailwind CSS and Vanilla JavaScript site.

The result must match the supplied reference website, not a cleaned-up reinterpretation.

Preserve source quirks:
- The countdown target is June 12, 2027.
- Mixed language: The page uses Spanish for most content but English for the countdown labels (DAYS, HOURS, MINS, SECS) and section headers like "SAVE THE DATE" and "Guest Experience".
- The RSVP form includes a "timestamp" field in the payload that must be generated on submit.
- The "Opciones de Regalo" section contains empty `<a>` tags with `tel:` prefixes for bank account numbers.

CRITICAL FIDELITY CONSTRAINTS
- The intro envelope overlay must be present and block all interaction until clicked.
- Use the specific font stacks: Cormorant Garamond for headings/serif and Inter for body/sans.
- The timeline line animation must only trigger on container hover via CSS height transitions.
- Do not use stock image placeholders; use the exact Unsplash URLs provided in the ASSET MAP.

TECH STACK / DEPENDENCIES
- CSS Framework: Tailwind CSS (https://cdn.tailwindcss.com)
- Icons: Iconify (https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.js)
- Fonts: Google Fonts (Cormorant Garamond, Inter)
- Analytics: GTAG (G-2M6V79H761)

GLOBAL STYLE
- Background: `bg-stone-50` (#FAFAF9)
- Text: `text-stone-800` (#292524)
- Primary Accent (Gold): `#C5A028` (500), `#D4AF37` (400)
- Font Smoothing: antialiased
- Selection: `selection:bg-gold-100 selection:text-gold-600`

ASSET MAP
- Hero Background: https://images.unsplash.com/photo-1511285560929-80b456fea0bc?ixlib=rb-4.0.3&auto=format&fit=crop&w=2000&q=80
- Story Image: https://images.unsplash.com/photo-1522673607200-164d1b6ce486?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80
- RSVP Endpoint: https://script.google.com/macros/s/AKfycbzCB6SUhDQWypzFjBU4EVjyg3Z1FiY6VjG8JFOaV5lngqCXpBaJ3v86xo1uL5llJh6v/exec

VECTOR / ICON SHAPES
- Use `iconify-icon` components with the following prefixes:
- `solar:letter-linear`, `solar:letter-opened-linear`, `solar:clock-circle-linear`, `solar:hanger-linear`, `solar:map-arrow-up-linear`, `solar:arrow-right-linear`, `solar:buildings-linear`, `solar:routing-2-linear`, `solar:sun-fog-linear`, `solar:map-linear`, `solar:check-circle-linear`, `solar:leaf-linear`, `solar:sun-2-linear`, `solar:alt-arrow-down-linear`, `solar:box-minimalistic-linear`, `solar:link-linear`, `solar:hearts-linear`.
- Custom SVG checkmark for RSVP: `<svg fill="none" viewBox="0 0 24 24" stroke="currentColor" stroke-width="3"><path stroke-linecap="round" stroke-linejoin="round" d="M5 13l4 4L19 7"></path></svg>`

LAYER STACK / POSITIONING MAP
- Intro Overlay: Fixed, `z-index: 50`, full screen.
- Navigation: Fixed, `top: 0`, `z-index: 40`, `backdrop-blur-sm`.
- Hero: Relative, `z-index: 10` for content, `z-index: 0` for blurred background image.
- Timeline: Relative, central line at `left: 15px` (mobile) or `left: 50%` (desktop).
- RSVP Form: `z-index: 10`, `rounded-[2rem]`, `shadow-2xl`.
- Footer Hearts: Absolute, `inset-0`, `opacity-10`, `pointer-events-none`.

SECTION 1 - INTRO ENVELOPE
- Layer: `fixed` inset-0, `bg-stone-50`.
- Interaction: On click, switch icon to `solar:letter-opened-linear`, scale up icon, fade out text, and then slide entire overlay up `-translate-y-12` with `opacity-0` and `remove()` from DOM after 1200ms.

SECTION 2 - HERO (LA BODA)
- Content: "SAVE THE DATE", "Adrian & Sofia", "June 12, 2027 · Lima, Peru".
- Countdown: JS-driven timer for Days, Hours, Mins, Secs.
- Layout: Vertical center flex, vertical decorative line (`w-px h-16 bg-[#D9CBB8]`).

SECTION 3 - ITINERARIO (TIMELINE)
- Mechanics: A central vertical line (`bg-stone-200`). A secondary line (`bg-gold-400`) grows from `height: 0` to `height: 100%` when the `.timeline-container` is hovered.
- Events: Alternate sides on desktop. Cards use `bg-gradient-to-br from-white to-stone-50/50` and lift `-translate-y-1` on hover.

SECTION 4 - GUEST EXPERIENCE
- Cards: 3-column grid (mobile 1-col). Features "Alojamiento", "Seguridad & Transporte", "Kit de Viaje".
- Adventure Grid: 2x2 layout for "El Gran Sur & Selva", "Express", "Selva Norte", "Relax Norte". Each with a duration badge and check-list.

SECTION 5 - RSVP FORM
- Validation: Custom JS validation. Fields: Nombre, Email, Attendance (Radio), Events (Checkboxes), Plan Aventura (Select), Alergias, Canción.
- UI: Inputs use `border-b` only (`form-input`). Radio buttons use peer-checked borders. Validation errors must highlight fields in red and show a top banner.
- Submission: Fetch POST to the Google Apps Script endpoint with FormData.

SECTION 6 - GIFTING & FOOTER
- Gift: `<details>` accordion for bank details (BCP, Revolut).
- Footer: `bg-stone-900`, centered white hearts icon, text "¡Nos vemos en Lima!".

GLOBAL ANIMATION / INTERACTION RULES
- Use `scroll-smooth` on HTML.
- Buttons: `hover:-translate-y-0.5 transition-all duration-300`.
- Forms: Inputs animate `border-color` on focus.

COMMON MISTAKES TO AVOID
- Do not miss the backdrop-blur on the hero section overlay.
- Ensure the timeline line only animates on hover of the section, not on page load.
- Do not replace the Iconify icons with SVG paths unless specified.
- Do not skip the 404/03/38/48 initial state of the countdown.

IMPLEMENTATION REQUIREMENTS
- Build as a single-page landing page.
- Use original Unsplash URLs.
- Final page should feel indistinguishable from the source HTML.

Промпт на английском — ИИ-инструменты понимают его лучше

Одностраничное свадебное приглашение на испанском. Сначала экран закрыт «конвертом»: нужно нажать, и он уезжает вверх. Дальше первый экран с размытым фото пары, золотой «&» в имени, датой и обратным отсчётом (дни, часы, минуты, секунды). Ниже идут история пары, программа дня с линией, которая прорастает золотом при наведении, карточки для гостей, четыре маршрута «Plan Aventura» и форма подтверждения с отправкой в Google-таблицу. Подойдёт для свадьбы, юбилея или любого мероприятия с подтверждением участия.

Как получить такой же результат

  • Запускайте промпт в Claude как есть: он просит один HTML на Tailwind CDN и Iconify, сборка не нужна. Результат работает, если просто открыть файл в браузере.
  • Конверт на входе блокирует страницу до клика. Если нужен экран без заставки, добавьте в запрос «сделай конверт-заставку необязательной» или удалите блок #intro.
  • Фото берутся по двум ссылкам Unsplash из промпта, они открылись без проблем. Остальные блоки в промпте описаны только словами, поэтому тексты программы, отелей и маршрутов Claude придумает сам. Замените их своими: дату, город, имена и время.
  • Дата отсчёта зашита как 12 июня 2027. Поменяйте её в одной строке new Date('2027-06-12...').
  • Адрес отправки формы в промпте принадлежит автору шаблона. Создайте свою Google-таблицу со скриптом Apps Script и подставьте её адрес, иначе ответы гостей уйдут не к вам.
  • Номера счетов в блоке подарков в оригинале сделаны пустыми ссылками tel:. Впишите свои реквизиты обычным текстом.

Похожие