Skip to content

Repository files navigation

致 程序 · A Birthday Site

A surprise birthday gift for 程序 (序哥), launching 2026-05-05.

How Lei updates the site after launch

You don't need to write any code.

Adding photos

  1. Open the photos/ folder
  2. Drag your photos in
  3. Use simple file names like wedding-2020.jpg or adi-laughing.jpg
  4. Tell me which section to put them in (timeline / son / letters)

Adding videos

  • Drop into videos/
  • Keep videos under 30 seconds (long videos slow down phones)
  • Longer videos: upload to YouTube as Unlisted, send the link

File naming rules

  • Lowercase letters only
  • Use dashes, no spaces
  • Good: wedding-2020.jpg, adi-laughing.mp4
  • Bad: IMG 4839.JPG, 照片.jpg

To replay the intro animation

The intro plays only on the first visit. To watch it again, add ?intro=1 to the URL.

  • Normal: https://yoursite.com/
  • Replay intro: https://yoursite.com/?intro=1

Folder layout

  • index.html — home (intro + hub)
  • game.html — game page
  • css/, js/ — code (don't touch)
  • photos/ — your photos
  • videos/ — your videos
  • assets/ — game art

Local preview (for the build)

cd ~/Desktop/xuxu-birthday-site
python3 -m http.server 8000

Then open http://localhost:8000 in a phone browser on the same Wi-Fi.

About

xuxu's btd web!

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages