0eed557f95
Make the production deploy foolproof against the shared nginx container's read-only bind mounts on the Digital Ocean droplet. The previous maintenance flow tried to docker-cp/docker-exec into /var/www/html and /etc/nginx/conf.d, both of which are mounted :ro on prod, and /var/www/html happens to point at the WordPress html dir — so writes either failed silently or risked scribbling into another site's tree. Maintenance assets and the engagement flag are now written directly to host paths (/docker/nginx/maintenance and /docker/nginx/conf.d/maintenance.flag) that nginx already sees through its existing bind mounts, so the script no longer depends on a writable container layer, survives container rebuilds, and works regardless of read_only settings. A pre-flight check verifies the maintenance bind mount is actually present on the nginx container and fails fast with a clear "run the one-time setup" message if it isn't, instead of silently serving stale content. The nginx config now serves maintenance.html and /m/ from a dedicated /var/www/maintenance root rather than sharing the WordPress html dir. On the front end, hero images on Pack Walks, 1:1 Walks and Puppy Visits were rendering at whatever aspect ratio their source files happened to have, so one page felt tall, another wide, another oversized. They are now locked to a 4:3 frame with object-fit: cover, matching the About Us section images, which were given the same treatment. The About Us body grid was also alternating between 0.7fr/1.3fr and 1.3fr/0.7fr columns depending on whether a section was reversed, which made the copy width jump between sections; both layouts are now an even 50/50 split, with the existing order swap still handling the image-left vs image-right alternation. The reveal-on-scroll action used to require 18% of an element to intersect before fading it in, with an additional -8% bottom margin, which meant the section directly below a service-page hero stayed invisible on initial load until the user scrolled — making the page look blank below the hero on navigation. The action now does a synchronous bounding-rect check on mount and reveals anything already in the viewport immediately, falling back to the IntersectionObserver for everything below the fold. The "Explore our services" block on About Us was a bespoke icon-tile grid that did not match the homepage's "What we do" cards; it now reuses the shared ServicesSection component (with the heading exposed as a prop), so both pages produce identical card layout, descriptions, "from $" prices, and Learn more CTAs. The footer Explore column was missing the About Us link — added between Our Pricing and Contact Us so it propagates through the homepage content sync into PostgreSQL on the next deploy. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
68 lines
2.6 KiB
TypeScript
68 lines
2.6 KiB
TypeScript
import type { ServicePageContent } from '$lib/types';
|
|
|
|
export const puppyVisitsContent: ServicePageContent = {
|
|
hero: {
|
|
eyebrow: 'Puppy Visits',
|
|
title: 'Introducing Puppy Visits: Building strong foundations for our pack walks!',
|
|
paragraphs: [
|
|
"We love puppies! Our puppy home visits are perfect for young pups not quite ready to join the pack and busy owners with hectic schedules. We lay the groundwork for future pack walks, including fun games, potty breaks, and even feeding if required. Let us help your furry friend thrive while you're away!"
|
|
],
|
|
imageUrl: '/images/auckland-puppy-home-visit.jpg',
|
|
imageAlt: 'Puppy Visits page splash image'
|
|
},
|
|
pricing: {
|
|
title: 'Puppy Visits',
|
|
plans: [
|
|
{
|
|
title: '20 Minutes',
|
|
price: '$39',
|
|
period: 'Per Visit',
|
|
features: ['Bathroom break', 'Pet feed', 'Basic training', 'Enrichment games']
|
|
},
|
|
{
|
|
title: '45 Minutes',
|
|
price: '$49',
|
|
period: 'Per Visit',
|
|
features: ['Bathroom break', 'Pet feed', 'Basic training', 'Enrichment games']
|
|
},
|
|
{
|
|
title: '1 Hour',
|
|
price: '$55',
|
|
period: 'Per Visit',
|
|
features: ['Bathroom break', 'Pet feed', 'Basic training', 'Enrichment games']
|
|
}
|
|
]
|
|
},
|
|
benefits: {
|
|
title: 'Puppy Visits benefits',
|
|
items: [
|
|
{
|
|
title: 'Enrichment',
|
|
body: 'From stimulating games to sensory toys, we keep those curious minds engaged and little tails wagging.'
|
|
},
|
|
{
|
|
title: 'Setting up the basics for pack walks',
|
|
body: "Lay the groundwork for your pup's adult life. We'll guide you through setting the right tone, offering basic training tips and tricks along the way."
|
|
},
|
|
{
|
|
title: 'Reduce anxiety',
|
|
body: "With time your pup will know when to expect a visit, reducing the chances of accidents while you're away. With regular visits, your pup will feel loved and secure, minimising any time spent at home alone."
|
|
},
|
|
{
|
|
title: 'Expert advice',
|
|
body: "As experienced dog pawrents, we've been through it all with many adorable puppies. Consider us your go-to for any questions or concerns as your furry friend grows up."
|
|
}
|
|
]
|
|
},
|
|
testimonialsHeading: 'What our clients say',
|
|
booking: {
|
|
title: 'Ready to join the Tiny Gang?',
|
|
subtitle: '',
|
|
formAction: '/contact-us',
|
|
serviceOptions: [],
|
|
ownerStepLabel: 'Your details',
|
|
dogStepLabel: 'Dog details',
|
|
dogIntro: 'Tell us about your puppy, your area, and any special needs so we can plan the right visit.'
|
|
}
|
|
};
|