SOP: editing a marketing site
Changing business info (phone, hours, address, service areas)
Section titled “Changing business info (phone, hours, address, service areas)”On a standard site, one file holds everything: src/config/site.ts.
- Open the site’s repo, switch to the
stagingbranch. - Edit the value in
src/config/site.ts— phone, address, hours, service areas, brand colors, webhook URLs, TrustIndex IDs, Maps embed all live there. - Never hardcode a phone number or address in a component — if you find one hardcoded,
that’s a bug; move it to
site.ts. - Push
staging, check the preview URL, then follow the deploy SOP to promote tomain.
The exceptions
Section titled “The exceptions”bsag-astro— there is nosite.ts. Edit the.astrofiles directly (src/pages/index.astro,src/layouts/Base.astro,src/components/QuoteForm.astro).agla-website-astro— editsite.tsand check the pre-generated HTML snapshot pages, which keep a baked-in copy of business data in theirinnerblob.bcbautoglass— plainindex.html, edit directly.
Changing page copy or sections
Section titled “Changing page copy or sections”- Homepage sections:
src/components/sections/*.astro— one file per section. - Legal pages:
src/components/pages/+src/pages/. - Header/footer/site-wide chrome:
src/layouts/BaseLayout.astro.
Images & assets
Section titled “Images & assets”Put files in public/ and reference them by absolute path (/images/...). Compress before
committing — these are marketing sites; page speed matters for Ads quality score.
Quote form / lead delivery changes
Section titled “Quote form / lead delivery changes”Anything touching the quote form or notify Function must preserve the canonical lead flow — one-line name, first-name-only Podium text, no Slack. Test on the staging preview with a real submission before promoting, then delete your test lead from the dashboard.
Golden rules
Section titled “Golden rules”- Local first — never edit anything on production servers directly.
- Work on
staging, verify the preview, promote tomain. Those are the only two branches — never create others. - Never build or commit
dist/ornode_modules/— Cloudflare builds from source.