Commit Graph

22 Commits

Author SHA1 Message Date
admin e2c5f38d55 Merge branch 'maintenance-page'
Adds dynamic maintenance page served by nginx during deploys, toggled
via a flag file by scripts/deploy-remote.sh. Includes brand-styled
maintenance.html with Goodwalk logo and contact fallback, plus an
env-template merger and a11y polish.
2026-05-05 14:10:51 +12:00
admin 8df0e2dfe9 Merge branch 'seo-fixes'
SEO improvements: AggregateOffer on Service schema, AggregateRating
+ Review on home, tighter Puppy Visits meta, removed dead /about-us
duplicate.
2026-05-05 14:10:43 +12:00
admin c2e6282efa Wire maintenance page into deploy script as a dynamic toggle
Replaces the earlier auto-fallback-on-upstream-error approach with an
explicit flag-file toggle controlled by the deploy script. The flag
is touched before stopping the app and removed on successful finish
(or via trap if the deploy aborts), so a failed deploy doesn't strand
the site in maintenance.

- nginx/goodwalk.co.nz.svelte.conf.example: error_page 503 routes to
  /maintenance.html (internal); /m/ serves static maintenance assets;
  the / and /api/submit blocks return 503 when /etc/nginx/conf.d/
  maintenance.flag exists.
- nginx/maintenance.html: brand-styled "Be right back" page — full
  Goodwalk green background, white card with yellow accent, real
  Goodwalk logo, contact details fallback, auto-reload after 60s.
- nginx/logo.png: maintenance-time logo (served from /m/logo.png).
- nginx/nginx.conf: reverted the earlier auto-fallback edits; this
  file is not deployed (the prod conf is goodwalk.co.nz.svelte.conf
  .example).
- scripts/deploy-remote.sh: copies maintenance.html + logo into the
  nginx container, reloads nginx so the new conf is live, touches
  the flag, then runs the rebuild, then clears the flag. Adds a
  trap-based clear_maintenance_flag fallback. Also adds a defensive
  env-file merger that appends new keys from deploy.env.template
  without clobbering live values, with a timestamped .env backup.

Plus a small a11y polish unrelated to maintenance:
- ServicesSection: "Learn more" links now include screen-reader-only
  "about <Service>" context.
- base.css: adds .visually-hidden utility class.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 14:10:16 +12:00
admin c95d2e8c25 SEO: pricing-rich service schema, AggregateRating, tighter meta
- Service pages now include AggregateOffer in JSON-LD (priceCurrency
  NZD, lowPrice/highPrice/offerCount derived from each service's
  pricing.plans). Unlocks price-rich SERP results.
- Homepage LocalBusiness schema now includes AggregateRating and
  per-testimonial Review entries (5 stars, n reviews). Eligible for
  star ratings in SERPs.
- Puppy Visits meta description rewritten — was 241 chars opening
  with "Puppy Visits Introducing Puppy Visits..." Now a tight 144
  chars with Auckland keyword.
- Removed the dead /about-us static-pages entry; the 301 redirect
  in [slug]/+page.server.ts already routes it to /about, so the
  duplicate metadata was unreachable. Pruned matching dead branches
  in [slug]/+page.svelte and RouteSkeleton.svelte for clarity.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 14:06:31 +12:00
admin 9d87d08547 Add maintenance page served by nginx during deploys
When the SvelteKit upstream is unreachable (container restart, deploy)
nginx now serves a static, brand-styled "Be right back" page instead
of the default 502/503. Auto-reloads after 60s so visitors don't sit
on it once the app is back.

- nginx/maintenance.html: self-contained, no external assets, inline
  paw SVG, brand colours, contact details fallback
- nginx/nginx.conf: proxy_intercept_errors + error_page 502/503/504
  on both location blocks; 2s proxy_connect_timeout so nginx fails
  over fast instead of holding the connection for 60s

Deploy note: the html file needs to live at /var/www/html/maintenance.html
inside the nginx container (already mounted from /docker/wordpress/goodwalk.co.nz/html).

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-05 08:45:48 +12:00
admin 65bdc8dc20 - Add "Explore our other services" block to service landing pages
with colour-tinted cards + Our Pricing entry (grey "All services" pill)
- Wrap homepage Instagram CTA in <aside aria-label="...">
- Always emit og:image:width/height with 1200x630 fallback when
  image metadata is unknown
- Add aria-current="page" to active desktop, mega-menu, and mobile
  nav links (exact-path match only — not "Services" parent)
- Richer testimonial alt text derived from dog name in the detail
  field (e.g. "Archie, a happy Goodwalk dog walking client...")
- Tier sitemap.xml priorities: home 1.0, services 0.9, pricing 0.8,
  about/contact 0.7, legal 0.3 (yearly changefreq)
- Bump to 4.1.0
2026-05-05 08:12:36 +12:00
admin 04bca98ef8 instagram cta changes, mail fixes 2026-05-04 23:47:26 +12:00
admin d115a8db7c Homestays 301 fix 2026-05-04 20:36:10 +12:00
admin fa1bc1a615 General enquries feature 2026-05-04 20:32:24 +12:00
admin bf9331bb5b Add skeleton, updates to client email formatting 2026-05-04 16:30:05 +12:00
admin d1dd103a6e Ultrawide tweaks 2026-05-03 15:56:04 +12:00
admin 6cd50965e5 SEO tweaks, design tweaks 2026-05-03 11:49:59 +12:00
admin f27e0fed07 Testimonails and Introscript updates 2026-05-03 11:16:53 +12:00
admin 751c2d7e98 Minor improvements to owner mail template 2026-05-02 20:33:28 +12:00
admin 07c754da12 4.0.1 - fixes 2026-05-02 19:44:45 +12:00
admin b0bb692972 Deployment script updates 2026-05-02 12:39:55 +12:00
admin 3587ba7f26 Add honeypot, spam protection to contact form 2026-05-02 11:24:11 +12:00
admin cd8d581f7a Meet & Greet nudge 2026-05-02 09:43:32 +12:00
admin 8f31a3fea4 mail api improvements 2026-05-02 09:08:31 +12:00
admin 629f530099 add GA 2026-05-02 08:59:49 +12:00
admin 5f6b47d445 Cleanup pricing page tables, introstrip, css changes 2026-05-02 08:53:36 +12:00
ponzischeme89 b7ea05f150 Initial commit 2026-05-02 08:26:18 +12:00