From 7016526d93391e81a3d4bb8ab5afd70c1bec0803 Mon Sep 17 00:00:00 2001 From: Kevin Date: Thu, 3 Sep 2026 10:44:48 -0400 Subject: [PATCH] Link primary demo site to its journal --- scripts/verify-build.mjs | 1 + sites/www/site.json | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/verify-build.mjs b/scripts/verify-build.mjs index 08ba960..ce881b9 100644 --- a/scripts/verify-build.mjs +++ b/scripts/verify-build.mjs @@ -18,6 +18,7 @@ for (const { file, html } of pages) { const home = await readFile(resolve(root, 'index.html'), 'utf8'); if (key === 'www') { + for (const { file, html } of pages) if (!html.includes('href="https://blog.3031023.xyz/"')) throw new Error(`${file} is missing the Happy Tails Journal link.`); for (const question of ['What services do you offer?', 'How do I book a visit?', 'How far ahead should I book pet care?', 'Can you accommodate special routines?']) if (!home.includes(question)) throw new Error(`Primary FAQ Markdown entry is missing: ${question}.`); if (home.includes('What information should I bring to a meet and greet?')) throw new Error('Draft FAQ entry appeared in the homepage.'); const services = await readFile(resolve(root, 'services/index.html'), 'utf8'); diff --git a/sites/www/site.json b/sites/www/site.json index 49c87e7..e7086c6 100644 --- a/sites/www/site.json +++ b/sites/www/site.json @@ -5,7 +5,7 @@ "theme": { "accent": "#f59e0b", "ink": "#102a43", "surface": "#f7f5ef" }, "branding": { "wordmark": "Happy Tails", "mark": "HT", "logo": null }, "seo": { "socialImage": "/images/hero-dogs.jpg", "locality": "Springfield, IL" }, - "nav": [{ "label": "Home", "href": "/" }, { "label": "About", "href": "/about" }, { "label": "Services", "href": "/services" }, { "label": "Contact", "href": "/contact" }], + "nav": [{ "label": "Home", "href": "/" }, { "label": "About", "href": "/about" }, { "label": "Services", "href": "/services" }, { "label": "Journal", "href": "https://blog.3031023.xyz/" }, { "label": "Contact", "href": "/contact" }], "contact": { "email": "hello@3031023.xyz", "phone": "(555) 742-9283", "phoneHref": "+15557429283", "address": "742 Evergreen Terrace, Springfield, IL 62704", "hours": "Mon–Fri · 7am–6pm CST", "showMap": true }, "hero": { "eyebrow": "Springfield's neighborhood dog care", "headline": "Care that feels like family.", "copy": "Thoughtful walks, gentle grooming, and cozy overnight stays for the dog you love most.", "image": "/images/hero-dogs.jpg", "imageAlt": "Two happy dogs playing outdoors", "cta": "Meet the pack", "ctaHref": "/contact" }, "features": [{ "icon": "◎", "title": "Personalized care", "description": "Every visit follows your dog's pace, routine, and personality." }, { "icon": "↗", "title": "Updates you can trust", "description": "Photos and thoughtful notes keep you close to every adventure." }, { "icon": "✦", "title": "Experienced hands", "description": "A small, caring team with safety and comfort at the center." }],