Deployed on Cloudflare Pages (free), contact form via Formspree (free).
npm install
npm run devnpm run build
# output in out/- Create a new Pages project → Connect Git → pick this repo.
- Build command:
npm run build - Build output directory:
out - Leave env defaults. Cloudflare will serve the static export.
- In Cloudflare → Pages → your project → Custom domains → add
tackia.ca+www.tackia.ca. - If your domain is registered elsewhere, point nameservers to Cloudflare (recommended) or add CNAME/AAAA per the wizard.
Free Email (catering@tackia.ca)
Cloudflare Email Routing → add address catering@tackia.ca → forward to your Gmail.
- Verify destination email
- Add DNS records automatically
- Test by sending an email to
catering@tackia.ca
- Create a form at https://formspree.io
- Copy your endpoint URL (looks like
https://formspree.io/f/xxxxxx) - In
components/Contact.tsx, replaceFORMSPREE_ENDPOINTwith your URL.
- Edit
public/today.jsonand push to main (or use Cloudflare Pages “Quick Edit”).
{ "text": "Today: Lonsdale Quay, 11:00–8:00 • See Instagram for updates", "link": "" }The banner fetches this JSON at runtime.
Place images in public/images/ and reference with /images/.... Current ones are placeholders from your uploads.
- Ensure Build command =
npm run buildand Output directory =out. - Confirm
next-env.d.tsexists at repo root, and devDependencies include@types/react,@types/react-dom,@types/node. - Optional: In Cloudflare Pages → Settings → Environment variables, set
NODE_VERSION=18.18.0.