Фантазийный тёмный сайт ИИ-сервиса учебных книг: фон с волшебным лесом, стеклянная шапка и карточки книг.
Промпт
Recreate the website "EduStory AI" with high visual fidelity using Tailwind CSS and Lucide icons. The final result must be a high-fidelity single-page landing page that preserves the exact section order, complex CSS animations, and dark-themed aesthetic of the source.
Preserve source quirks:
- Typo in the "Instant publishing" description: contains "sdsfsd" at the end.
- Redundant font imports in the source (Inter, Geist, Roboto, Montserrat, etc.); specifically use 'Geist' for UI and 'Playfair Display' for serif headings.
- Background parallax uses a fixed position with a scale(1.1) transform.
CRITICAL FIDELITY CONSTRAINTS
- Background: Use the specific Supabase image URL as a fixed, blurred parallax background.
- Animations: All entrance animations must use the custom @keyframes defined (dynamic-fade-in, dynamic-blur-in, dynamic-glow-in, dynamic-zoom-in) with their respective delays (e.g., animate-delay-100 to 2100).
- Buttons: The "Create Book" button in the nav and "Start Create Magic" in the hero are highly specific "liquid-glass" and "point-particle" buttons with internal script-based ripples or floating dots.
TECH STACK / DEPENDENCIES
- Tailwind CSS (CDN)
- Lucide Icons (CDN/UMD)
- Google Fonts: 'Inter', 'Geist', 'Playfair Display'
- Vanilla JS for parallax and scroll-reveal logic.
GLOBAL STYLE
- Body: antialiased, overflow-x-hidden, text-gray-100, bg-gray-950.
- Headings: font-playfair, tracking-tight, font-medium.
- UI Text: font-geist, font-medium.
- Color Palette: Deep blacks (#030712), primary blue (#3b82f6), emerald (#10b981), and custom gradients.
ASSET MAP
- Main Background: https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/6cc48f7d-8d7c-4a78-b915-6d0d4c0b7b18_3840w.jpg
- Book 1 (Math): https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/4776ffe4-9045-48dd-b628-51945ce93830_800w.jpg
- Book 2 (Science): https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/e651bbc0-187e-4601-ae9a-5bccbe370cb3_800w.jpg
- Book 3 (History): https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/23fd9cef-a8ce-4535-8c97-30ae58d52e35_800w.jpg
- Process Image: https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/c1169f50-b9f2-45c9-b69e-d93668a3968c_3840w.jpg
- Feature Big: https://hoirqrkdgbmvpwutwuwj-all.supabase.co/storage/v1/object/public/assets/assets/fd33f7c0-8bdf-4f7e-acd9-565ddbebfada_1600w.jpg
- Testimonial Avatars: Sarah (dde0b75b-...), Michael (b68a95ca-...), Emily (Unsplash photo-1621619856624-42fd193a0661).
VECTOR / ICON SHAPES
- Use Lucide classes: graduation-cap, sparkles, play, bookmark, telescope, scroll, arrow-up-right, edit, share-2, book-open, book-plus.
- Custom SVG Paths for social icons in footer (X/Twitter, GitHub icons).
MEDIA BEHAVIOR
- Background Image: fixed, translate3d(0, scroll_pos * 0.5, 0), filter: blur(0px).
- Testimonial Carousel: Infinite horizontal marquee animation (testimonial-scroll) at 40s duration, pauses on hover.
- Images: aspect-ratio [16/10] for book cards, [4/5] for process section, aspect-video for feature blocks. object-cover throughout.
LAYER STACK / POSITIONING MAP
1. Background Layer: #parallax-bg (fixed, z-[-10]).
2. Decorative Layer: Floating blur-3xl blobs (absolute, z-0, opacity-20).
3. Navigation: header (fixed, z-50, backdrop-blur-xl).
4. Content: Sections (relative, z-10).
5. Overlays: Radial gradient in hero (absolute, inset-0, z-0).
SECTION 1 - HEADER
- Left: Logo + EduStory AI text with h-16 flex.
- Center: Hidden md:flex links (Create Books, Curriculum, Library, Educators).
- Right: .liquid-glass-button with backdrop-blur-xl and internal CSS ripple script.
SECTION 2 - HERO
- Badge: "AI-Powered Educational Content" with animate-pulse emerald dot.
- Heading: Dual line (White / Gradient Text) using font-playfair.
- Description: text-gray-300 with hero-title text-shadow.
- Primary Button: Custom CSS .button with .points_wrapper (10 particles) and .inner (SVG arrow animation on hover).
- Secondary Button: Glassmorphism Watch Demo.
SECTION 3 - FEATURED BOOKS (GRID)
- Layout: 3-column grid within a black/80 glassmorphism container.
- Elements: Card hover scale(1.03), absolute "New/Popular" badges, star ratings, and play/bookmark buttons.
- Horizontal Divider: .max-w-4xl grid with vertical dividers (w-px) for Curriculum/Illustrations/Assessments.
SECTION 4 - FEATURES (THREE CARDS)
- Layout: lg:grid-cols-3.
- Card 1 (AI Generation): Feature list with custom bullet checkmarks.
- Card 2 (Interactive): Grid of 4 small square images with hover borders.
- Card 3 (Analytics): 3 Progress bars (purple-400) and a mini dashboard stat box.
SECTION 5 - PROCESS (SIDE-BY-SIDE)
- Left: Process preview image with aspect-[4/5] and ring-white/10.
- Right: Step 1, 2, 3 vertical stack. Each step is a bg-white/5 card with a rounded-full number and Lucide icon.
SECTION 6 - LIBRARY (BENTO)
- Top: Centered heading "magical books".
- Bento Grid: 1 large feature card (md:col-span-2) and 4 small feature cards.
- Content: "AI-POWERED", "VISUAL", "STANDARDS" badges.
SECTION 7 - TESTIMONIALS (MARQUEE)
- Heading: "What educators are saying".
- Animation: Infinite marquee. Duplicate content within the wrapper to ensure seamless looping. Cards are w-96 with bg-gradient-to-br from-gray-800/90.
SECTION 8 - FOOTER
- Structure: 4-column layout (Logo/Desc, Product links, Support links).
- Bottom: Copyright and Privacy/Terms split.
GLOBAL ANIMATION / INTERACTION RULES
- Implement Parallax: transform: translate3d(0, ${window.pageYOffset * 0.5}px, 0) scale(1.1).
- IntersectionObserver: Add .revealed class to .scroll-reveal elements when in view.
- Button Hover: .card-hover must translate -8px and increase shadow spread.
COMMON MISTAKES TO AVOID
- Do not use standard Tailwind buttons for the hero; must use the specific custom CSS provided in the source for the point-particle and liquid-glass effects.
- Do not miss the backdrop-blur-xl on the header.
- Ensure font-playfair is only applied to headings and specific descriptors; UI labels must be font-geist.
Промпт на английском — ИИ-инструменты понимают его лучше
Лендинг ИИ-сервиса, который делает иллюстрированные учебные книжки. Фон: закреплённая фотография волшебного грибного леса, которая сдвигается в параллаксе. Над ней стеклянная шапка, заголовок Playfair с градиентом «educational books», кнопка с летящими частицами и «жидкое стекло» вместо второй кнопки. Ниже идут три книги в стеклянной рамке, три карточки возможностей, шаги процесса, бенто-библиотека и бесконечная лента отзывов. Подойдёт онлайн-школам, издателям, детским сервисам и ИИ-продуктам.
Как получить такой же результат
Запускайте промпт в Claude и просите «одним файлом index.html на Tailwind CDN».
Главная ловушка: в ASSET MAP все картинки указаны на домене hoirqrkdgbmvpwutwuwj-all.supabase.co, и он отвечает ошибкой 400. Замените его на hoirqrkdgbmvpwutwuwj.supabase.co (путь тот же): тогда фон, книги и фото процесса загружаются.
Lucide: ссылка на lucide@0.263.1 с jsdelivr не работает (404), подставьте https://cdn.jsdelivr.net/npm/lucide@0.460.0/dist/umd/lucide.min.js и вызовите lucide.createIcons().
Адреса аватаров отзывов обрезаны («dde0b75b-...»), восстановить их нельзя: оставьте круг с инициалами или сгенерируйте портреты. Опечатка «sdsfsd» в одном из описаний намеренно сохранена по промпту.
Стили кнопок «жидкое стекло» и «частицы» промпт только называет, CSS не даёт. Claude нарисует их сам, вид будет близким, но не точным. Тексты, названия книг и цены меняйте в разметке.