Skip to content

MagicJosh/sanvalentino

Repository files navigation

Buon San Valentino PWA

Mobile-first Valentine experience, installable on iPhone as a home-screen app.

Local development

npm install
npm run dev

Open http://localhost:3000.

Deploy to Vercel

  1. Push the repo to GitHub (or import the folder directly).
  2. Create a new Vercel project and deploy.
  3. Set the build command to npm run build if prompted (default is fine).

Privacy (Vercel protection)

Option A (recommended): Enable Password Protection in the Vercel dashboard
Project Settings -> Security -> Password Protection.
Note: This can require a paid plan depending on your account tier.

Option B (in-app gate): Not implemented per request.
If you want a middleware + cookie password gate, I can add it.

Add to Home Screen (iPhone Safari)

  1. Open the site in Safari.
  2. Tap the Share button.
  3. Choose "Add to Home Screen".
  4. Tap Add.

Content + photos

  • All text content lives in src/content/content.ts.
  • Photos live in public/photos.
  • IoJapponese.jpeg is used only on /finale (not in the gallery).

Notes on iOS PWA storage

iOS can be aggressive about storage and cache eviction. Keep images optimized and avoid huge offline caches.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors