StealThis .dev
الصفحات متوسط

Gym — Yoga / Pilates Studio Landing

A serene, light-filled landing page for a fictional yoga and Pilates studio, built in a bone-and-sage wellness palette with a serif-paired type system. It opens on a calm gradient hero with floating orbs and a book-a-class call to action, then flows through class-style cards, an instructors row, a weekly schedule teaser, three membership packs, a rotating testimonial and a newsletter footer — all stitched together with gentle scroll reveals and soft micro-interactions in vanilla JavaScript.

فتح في المختبر
html css vanilla-js
الأهداف: JS HTML

الكود

Yoga / Pilates Studio Landing

A calm, airy marketing page for Stillpoint, a fictional yoga and Pilates studio. The design leans into a serene wellness aesthetic — a bone-coloured background, dusty sage and rose accents, soft layered shadows and organic rounded shapes — with headings set in Cormorant Garamond against Inter body text. The hero pairs a layered radial gradient with two slowly drifting blurred orbs, a clear “Book a class” call to action and a row of studio stats.

Below the fold the page moves through elegant class-style cards (Vinyasa, Yin & Restore, Mat Pilates, Restorative) with badges and a gradient top-border on hover, an instructors row of gradient avatar monograms, a five-row weekly schedule teaser with open / waitlist status pills, and three membership cards where the class pack is highlighted as “Most loved”. A testimonial section rotates through member quotes, and a newsletter footer rounds it out.

Interactions are all vanilla JavaScript: a sticky header that gains a border on scroll, a mobile nav toggle, IntersectionObserver-driven scroll reveals with a gentle stagger, an auto-advancing quote rotator with clickable dots that pauses on hover, validated newsletter sign-up, smooth in-page anchor scrolling with focus management, and a small toast() helper for feedback. The layout is responsive down to ~360px and respects prefers-reduced-motion.