Курортный отель с каруселью из трёх фото на весь экран, золотым курсивом в заголовке и виджетом бронирования, накрывающим края героя.
Промпт
Recreate the website "Gold Pearl Resort" with high visual fidelity as a Tailwind CSS-based site. The result must match the supplied reference exactly in typography, color palette, and interactive behavior.
### CRITICAL FIDELITY CONSTRAINTS
- Preservation of "Playfair Display" (serif) and "Inter" (sans) font pairing is mandatory.
- The navigation bar must implement a scroll-triggered state change (transparency to solid white background).
- All image assets must use the exact URLs provided in the ASSET MAP.
- No placeholders or generic imagery: use the specific Unsplash and Supabase URLs provided.
- Maintain the exact section order: Navigation, Hero with Booking Widget, Awards, About, Rooms (Tabbed), Amenities, Restaurant Split, Gallery, Offers, Contact, and Footer.
### TECH STACK / DEPENDENCIES
- Framework: Tailwind CSS (via CDN: https://cdn.tailwindcss.com).
- Icons: Iconify (https://code.iconify.design/iconify-icon/1.0.7/iconify-icon.min.js) using the `solar:` library.
- Fonts: Google Fonts (Inter, Playfair Display).
- Google Tag Manager (G-2M6V79H761).
### GLOBAL STYLE
- **Typography**: Serif: 'Playfair Display' (headings, italic accents). Sans: 'Inter' (UI, labels, body).
- **Colors**:
- Zinc: #fafafa (Zinc-50), #09090b (Zinc-950).
- Amber: #fbbf24 (Amber-400), #b45309 (Amber-700).
- **Components**: Rounded corners are predominantly none (rounded-none) for inputs and buttons to maintain a luxury aesthetic.
### ASSET MAP
- Logo: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/6d97126b-90d1-4d99-9fc6-38ac3d8f6463_320w.jpg`
- Hero Slides:
1. `https://images.unsplash.com/photo-1566073771259-6a8506099945?w=1920&q=80`
2. `https://images.unsplash.com/photo-1551882547-ff40c63fe5fa?w=1920&q=80`
3. `https://images.unsplash.com/photo-1520250497591-112f2f40a3f4?w=1920&q=80`
- About Section Images:
- Top-Left: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/45744505-d151-42ca-873c-ad7184799eef_1600w.webp`
- Bottom-Right: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/ab8d245b-e841-49fe-9147-ee68620147df_1600w.webp?w=800&q=80`
- Room Images:
- Deluxe: `https://images.unsplash.com/photo-1631049307264-da0ec9d70304?w=1200&q=80`
- Premier: `https://images.unsplash.com/photo-1578683010236-d716f9a3f461?w=1200&q=80`
- Presidential: `https://images.unsplash.com/photo-1582719478250-c89cae4dc85b?w=1200&q=80`
- Restaurant: `https://images.unsplash.com/photo-1414235077428-338989a2e8c0?w=1200&q=80`
- Gallery/Offers:
- Large: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/8c48d70c-2ff5-42c5-92c8-e115faba4fb3_1600w.webp?w=800&q=80`
- Honeymoon: `https://images.unsplash.com/photo-1519225421980-715cb0215aed?w=600&q=80`
- Family: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/cb12fd7a-6a63-4b91-bbaf-46fb4e6fabd0_800w.webp`
- Weekend: `https://hoirqrkdgbmvpwutwuwj.supabase.co/storage/v1/object/public/assets/assets/23680121-8d09-4a7a-bfe5-32131f1d183f_800w.webp`
### LAYER STACK / POSITIONING MAP
- **Progress Bar**: `fixed top-0`, `z-[9999]`, height `0.5`, background `zinc-900`.
- **Navbar**: `fixed w-full`, `z-[1000]`. Transitions from transparent to white/90 background on scroll.
- **Hero Section**: `h-screen`, `relative`, `overflow-hidden`. Includes a layered background: images -> zinc-950/40 overlay -> gradient-to-t (zinc-950/80 to transparent).
- **Booking Widget**: Positioned at bottom of Hero, `translate-y-1/2`, `z-20`. White background, shadow-xl.
- **Modals/Lightbox**: `fixed inset-0`, `z-[4000]` (Booking) and `z-[5000]` (Lightbox). `backdrop-blur-sm` required.
- **Chat FAB**: `fixed bottom-6 left-6`, `z-[3000]`.
### SECTION 1 - HERO & BOOKING
- Content: "Experience Luxury Beyond Expectations" (italicized 'Beyond Expectations').
- Slider: Automatic 5-second interval between 3 images. Dot indicators at bottom.
- Widget: Grid (1 col on mobile, 5 cols on md). Contains Check-In/Out date inputs with custom calendar icons (masked), Guests/Rooms select menus.
### SECTION 2 - ROOMS (TABBED INTERFACE)
- Tabs: Deluxe Room, Premier Suite, Presidential. Active state: Zinc-900 border-b-2. Inactive: transparent border.
- Behavior: Switching tabs toggles `opacity-0/100` and `z-0/10` with a 500ms transition.
- Content: Features include sqm, view types, bullet lists with `solar:check-circle-linear`, and prices (KSh format).
### SECTION 3 - CONTACT & FOOTER
- Form: 2-column grid for Names, full-width for Email and Message.
- Map: Embedded iframe of Oyugis, Homa Bay County, Kenya.
- Footer: 4-column layout including Newsletter signup with inline button and arrow icon.
### GLOBAL ANIMATION / INTERACTION RULES
- **Reveal on Scroll**: Use `IntersectionObserver` to add an `.active` class to elements with `.reveal`, changing opacity from 0 to 1 and `translate-Y(20px)` to 0.
- **Navbar Toggle**: Change classes on scroll > 50px: modify logo text color, link colors, and button styling (white to zinc-900).
- **Chat System**: Floating panel with simulated response (1-second delay after user message).
- **Date Inputs**: Set `min` attribute to current date via JavaScript.
### COMMON MISTAKES TO AVOID
- Do not use standard browser select arrows; use the custom SVG chevron from the source.
- Do not forget the `no-scrollbar` class on horizontal scroll areas.
- Ensure the booking widget correctly overlaps the hero and next section using `translate-y-1/2`.
- Preserve the exact Kenyan Shilling (KSh) prices for historical accuracy.
Промпт на английском — ИИ-инструменты понимают его лучше
Сайт курортного отеля в Кении. Первый экран это смена трёх фотографий каждые пять секунд, затемнение, огромный заголовок «Experience Luxury Beyond Expectations» с янтарным курсивом и белая панель бронирования, которая наполовину заходит на следующий блок. Шапка из прозрачной становится белой при прокрутке, сверху бежит тонкая полоса прогресса. Дальше: награды, «О нас» с двумя фото, номера на вкладках, удобства, ресторан, галерея и акции, форма контактов с картой, чат-кнопка. Подойдёт отелям, глэмпингам и турбазам.
Как получить такой же результат
Запускайте в Claude, просите один index.html на Tailwind по CDN. Все фото в промпте с полными ссылками: часть из них на хранилище Aura, часть на Unsplash.
В промпте заявлен Google Tag Manager с чужим идентификатором. Мы его не подключали (он не нужен ни для вида, ни для работы), и вам тоже советуем убрать эту строку.
Иконки Iconify набора solar: приходят скриптом iconify-icon.min.js: ссылка из промпта работает, но при первой загрузке иконки подтягиваются из сети с задержкой.
Вкладки номеров устроены через opacity и z-index с переходом в полсекунды: если Claude сделает через display:none, анимации не будет. Попросите именно слои с absolute.
Цены в шиллингах (KSh), названия номеров и адрес замените на свои, а в слайдере поменяйте три фото героя.