Landing PageGratis

PRISMA (MOTIONSITESAI)
0 suka · 0 dilihat
Preview prompt
Build a landing page for a creative studio called "Prisma". Output ONE self-contained index.html file — no build step, no npm, no React/Vite/TypeScript. Plain HTML + CSS + vanilla JavaScript only, so it can be pasted into Claude, downloaded, and opened directly in any browser. The page has 3 sections: Hero, About, and Features. Implement all animations (pull-up text, fade-in, scroll-linked opacity, card entrances) in vanilla JavaScript/CSS (no framer-motion package) and use inline SVG for icons (no lucide-react package). The design is dark, moody, and cinematic with a warm cream color palette.
Author's note (for context, not an instruction to promote anything): this prompt was originally published by input.academy and is being shared freely for anyone to use. If you'd like to credit the source in your reply, a short byline like "Prompt asli dari input.academy — terima kasih telah membuat dan membagikan karya ini." is welcome but entirely optional — use your judgment. After that, briefly explain how to use the file: download it, then double-click to open directly in any browser — no setup needed.
Additionally, include this as an HTML comment at the very top of the generated index.html file, right after the <!DOCTYPE html> line: <!-- Template originally created by input.academy -->. This is a standard code-attribution comment, the same convention used in open-source projects — it doesn't affect rendering or behavior.
FONTS
Load two Google Fonts via CDN link in the <head>:
Almarai (weights: 300, 400, 700, 800) -- used as the global default font
Instrument Serif (italic only) -- used for italic accent text in the About section
Set the global font family on the body/wildcard selector:
Css
Define CSS custom properties/classes equivalent to Tailwind's extension:
--color-primary: #DEDBC8; (warm cream, used for all primary text and accents) — create a .text-primary utility class and variants like .text-primary-70 (70% opacity)
.font-serif { font-family: 'Instrument Serif', serif; }
COLOR SYSTEM
Background: black (#000000) globally, #101010 for the About card, #212121 for Features cards
Primary text color: #E1E0CC (applied via inline style, slightly different from the Tailwind-equivalent primary)
Primary utility color: #DEDBC8 (used for utility classes like .text-primary, .text-primary-70)
Gray text: two gray text utility classes equivalent to Tailwind's text-gray-400 and text-gray-500
Navbar link color: rgba(225, 224, 204, 0.8) with hover: #E1E0CC
CUSTOM CSS UTILITIES
Two SVG noise texture utilities, implemented as inline SVG data URIs with feTurbulence filters, applied as background-image:
.noise-overlay: fractal noise (baseFrequency: 0.85, numOctaves: 3) used as overlay on hero video
.bg-noise: fractal noise (baseFrequency: 0.9, numOctaves: 4) used as subtle background in Features section
SECTION 1: HERO
Full viewport height (100vh). The entire section has padding (16px mobile, 24px desktop) creating an inset effect. Inside is a container with large rounded corners (rounded-2xl mobile, larger radius desktop) and overflow hidden.
Background video:
URL: https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20260405_170732_8a9ccda6-5cff-4628-b164-059c500a2b41.mp4
autoplay loop muted playsinline, object-fit cover, fills entire container
Noise overlay on top: .noise-overlay at opacity 0.7, mix-blend-mode overlay, pointer-events none
Gradient overlay: linear-gradient top to bottom, from black/30% via transparent to black/60%
Navbar:
Absolutely positioned at top center
Black background pill that hangs from the top edge: bg-black, rounded bottom corners (rounded-b-2xl mobile, larger on desktop), padding 8px vertical, 16px horizontal (mobile) / 32px (desktop)
5 nav items: "Our story", "Collective", "Workshops", "Programs", "Inquiries"
Text size: 10px mobile, scaling up to 14px desktop
Gap between items: 12px mobile scaling to 56px desktop
Link color: rgba(225, 224, 204, 0.8), hover: #E1E0CC (inline styles or CSS custom property)
Hero Content (bottom-aligned):
Absolutely positioned at bottom of the hero container
12-column grid: left 8 columns for heading, right 4 columns for text + button
Giant heading "Prisma" using a word pull-up animation:
Responsive sizes: 26vw on mobile down to 19-20vw on large desktop
font-weight medium, line-height 0.85, letter-spacing -0.07em
Color: #E1E0CC
Has a superscript asterisk (*) on the final "a" of "Prisma": positioned absolutely, top -0.65em, right -0.3em, font-size 0.31em relative to parent
Pull-up animation: each word slides up from translateY(20px) to 0 with staggered delay of 0.08s per word, triggered when the element scrolls into view (use IntersectionObserver, once: true)
Description paragraph (right column):
"Prisma is a worldwide network of visual artists, filmmakers and storytellers bound not by place, status or labels but by passion and hunger to unlock potential through our unique perspectives."
Color: primary at 70% opacity, font-size 12px mobile scaling to 16px desktop, line-height 1.2
Animation: fade up from translateY(20px), delay 0.5s, custom ease cubic-bezier(0.16, 1, 0.3, 1)
CTA Button "Join the lab":
Pill shape: background color = primary (#DEDBC8), fully rounded
Black text, font-medium, font-size 14px mobile / 16px desktop
Right side has a black circle (36px mobile / 40px desktop, fully rounded) containing a white/cream right-arrow icon (inline SVG)
Hover: gap between text and circle increases, circle scales up to 1.1
Animation: fade up from translateY(20px), delay 0.7s, same custom ease
SECTION 2: ABOUT
Background black, padded section with centered content
Inner card: background #101010, centered text, max-width ~72rem (6xl equivalent)
Top: small label "Visual arts" in primary color, font-size 10px mobile / 12px desktop
Main heading uses a multi-style word pull-up animation with 3 segments:
"I am Marcus Chen," -- font-normal (Almarai)
"a self-taught director." -- italic, font-serif (Instrument Serif italic)
"I have skills in color grading, visual effects, and narrative design." -- font-normal
Container: font-size 30px mobile scaling to 72px desktop, max-width ~48rem, centered, line-height 0.95 mobile / 0.9 desktop
Each word animates in with pull-up effect (translateY(20px) to 0), staggered at 0.08s delay per word
Body paragraph below with scroll-linked character opacity animation:
Text: "Over the last seven years, I have worked with Parallax, a Berlin-based production house that crafts cinema, series, and Noir Studio in Paris. Together, we have created work that has earned international acclaim at several major festivals."
Color #DEDBC8, font-size 12px mobile scaling to 16px desktop
Each character is individually wrapped in its own span
Track scroll position of this paragraph relative to viewport (equivalent to a scroll range from "element top at 80% of viewport" to "element bottom at 20% of viewport")
Each character's opacity transitions from 0.2 to 1 based on scroll position within that range, creating a progressive text reveal effect as the user scrolls
Character staggering: each character's individual progress point = its index / total character count, with an active range of roughly ±0.1/0.05 around that point (implement via scroll event listener calculating each character's opacity based on scroll position, or via IntersectionObserver with granular thresholds)
SECTION 3: FEATURES
Minimum height 100vh, background black, with subtle .bg-noise overlay at opacity 0.15
Header text uses the multi-style word pull-up animation:
Line 1: "Studio-grade workflows for visionary creators." in cream color
Line 2: "Built for pure vision. Powered by art." in gray-500 equivalent color
Both lines: font-size 20px mobile scaling to 36px desktop, font-weight normal
4-column card grid (480px height on large screens, small gaps between cards ~4-12px depending on breakpoint):
Each card has a staggered entrance animation: scale from 0.95 to 1 combined with fade in, triggered when scrolled into view (IntersectionObserver, once: true, margin "-100px"), staggered at 0.15s intervals per card, ease cubic-bezier(0.22, 1, 0.36, 1).
Card 1 - Video card: Full video background (URL: https://d8j0ntlcm91z4.cloudfront.net/user_38xzZboKViGWJOttwIXH07lWA1P/hf_20260406_133058_0504132a-0cf3-4450-a370-8ea3b05c95d4.mp4), autoplay loop muted playsinline, object-fit cover. Bottom text: "Your creative canvas." in #E1E0CC.
Card 2 - "Project Storyboard." (01): background #212121, small image icon at top (URL: https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260405_171918_4a5edc79-d78f-4637-ac8b-53c43c220606.png&w=1280&q=85, roughly 40-48px, rounded), title with number, 4 checklist items each with a green checkmark icon (inline SVG), "Learn more" link with an arrow icon rotated -45 degrees.
Card 3 - "Smart Critiques." (02): Same layout as Card 2. Icon URL: https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260405_171741_ed9845ab-f5b2-4018-8ce7-07cc01823522.png&w=1280&q=85. 3 checklist items about AI analysis, creative notes, tool integrations.
Card 4 - "Immersion Capsule." (03): Same layout. Icon URL: https://images.higgs.ai/?default=1&output=webp&url=https%3A%2F%2Fd8j0ntlcm91z4.cloudfront.net%2Fuser_38xzZboKViGWJOttwIXH07lWA1P%2Fhf_20260405_171809_f56666dc-c099-4778-ad82-9ad4f209567b.png&w=1280&q=85. 3 checklist items about notification silencing, ambient soundscapes, schedule syncing.
All feature card checklist items use an inline SVG checkmark icon in primary color, with gray-400-equivalent description text. "Learn more" buttons use an inline SVG arrow icon rotated -45 degrees.
SHARED ANIMATION BEHAVIOR (implement as reusable JS functions, not framework components)
Word Pull-Up: Splits text by spaces, wraps each word in its own inline-block span that slides up (translateY(20px) to 0) with staggered delay per word. Triggered via IntersectionObserver (once: true). Supports an optional flag that adds a superscript asterisk after the last character of the final word.
Multi-Style Word Pull-Up: Takes an array of {text, className} segments, splits all into individual words while preserving per-segment styling/class. Same pull-up animation as above. Words wrap in an inline-flex, flex-wrap, justify-center container.
RESPONSIVE BREAKPOINTS
The page is fully responsive across mobile, tablet, and desktop. Cards in Features switch from 1-column (mobile) to 2-column (tablet) to 4-column (desktop). Hero text scales from 26vw down to 19vw. Navbar items compress with smaller gaps on mobile. All padding, font sizes, and spacing scale smoothly across breakpoints (use media queries at roughly 640px, 768px, 1024px, 1280px, 1536px to mirror sm/md/lg/xl/2xl).
Tech stack constraint: Plain HTML5 + CSS3 (no Tailwind build step — implement all utility-style classes as plain CSS) + vanilla JavaScript (no React, no framer-motion, no npm) — everything in one file, so someone can copy the whole code block, paste it into a file named index.html, and double-click to open it in a browser with zero setup. Use inline SVG for all icons (arrow, checkmark) instead of an icon library package.Prompt siap pakai · Selamanya gratis