This is the invitation website for my own wedding to Aya, on 31 December 2026 at The Engineers Syndicate in Tanta, Egypt. It is bilingual (Arabic right to left, English left to right), written by hand in HTML, CSS and vanilla JavaScript with no framework, and hosted on Vercel.
زفاف محمد و آية: دعوة بالعربية والإنجليزية، مصنوعة يدوياً، لحفل ٣١ ديسمبر ٢٠٢٦ في نقابة المهندسين بطنطا.
What a guest gets#
- A curtain-opening intro. The page opens on a closed curtain. A tap draws it back on a flower arch hall with the couple, rendered as 3D clay figures.
- Falling petals. A rose layer behind the couple and a blush layer in front, in an endless loop that only uses compositor properties and pauses when it scrolls off screen.
- A live countdown. It counts down to New Year's Eve and switches to a midnight mode when the night arrives.
- RSVP. The form posts to a Google Apps Script backend that writes each reply to a sheet.
- Guest wishes and photos. A wall of wishes, and photo upload for guests on the day.
- Personal links. A guest link like
#g=namegreets that person by name. - A song for the night. A picker of 14 Arabic wedding songs, audio only, that starts on the first tap and never loads YouTube before one.
How it was built#
- No framework. Plain HTML, CSS and vanilla JS keep the page small, and GSAP drives the parallax.
- Rendered figures. The couple and the hall were modelled and rendered in Blender with Cycles, then exported as optimised images.
- Smooth scroll, measured. Node scripts drive Chrome through the DevTools Protocol, scroll the page for real and fail if frames drop below 60 fps. The same scripts run Lighthouse and performance checks.
- Analytics. PostHog counts opens, RSVPs and song picks.
- Arabic first. Every block has a right-to-left twin, and the layout uses logical start and end properties instead of left and right.
The source is private, so the live site is the demo.
