Arabic RTL premium landing page for a spa / massage & relaxation center.
- Next.js 16.3 / App Router
- React 19
- TypeScript
- GSAP + ScrollTrigger + Observer
- Lenis smooth scroll (GSAP ticker integration)
- Font Awesome
- Next/Image
- Unsplash image URLs
npm install
npm run devOpen either:
http://localhost:3000http://172.30.128.1:3000when using the shown local network/WSL address
next.config.ts already includes allowedDevOrigins: ["172.30.128.1"] so the client chunks and HMR are not blocked when using that development origin.
If Next was already running before changing next.config.ts, stop the terminal w
6168
ith Ctrl + C and run npm run dev again.
Search for and replace:
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx0example@ggggالرياض، المملكة العربية السعوديةسكون SPA
Review the legal pages and replace the generic booking/payment rules with the spa's actual business rules before publishing or running paid ads.
#services,#experience,#faq,#contact, etc. are handled by Lenis with a fixed-header offset.- Lenis RAF is synchronized with GSAP's ticker.
- ScrollTrigger controls reveals/parallax/header direction behavior.
- GSAP Observer powers swipe/wheel changes in the Experience gallery.
- Hover/focus over Privacy / Cleanliness / Calm / Quick Booking changes the gallery image immediately.
- Lenis now uses
autoRaf: trueso native page scrolling cannot stall because of GSAP mount timing. - ScrollTrigger is synchronized through
useLenis. - Global GSAP Observer was removed; the experience image Observer now reacts only to horizontal touch/pointer swipes, never mouse-wheel or vertical scrolling.
- Same-page hash links are handled by Lenis anchors with header offset.
- Footer contact layout was rebuilt and phone/email use bidi isolation for correct RTL/LTR rendering.