Skip to main content

Page Structure

The New Deliverance site is organized so most public pages share common content and layout pieces.

Important folders

src/pages/ Route files. Each file becomes a public page.
src/components/ Shared header, footer, and reusable UI.
src/layouts/ Shared page shell, metadata, fonts, and SEO tags.
src/data/ Editable site content used across pages.
src/styles/ Global styling.
public/ Static files such as CNAME, favicon, and social images.

Current routes

/ Homepage
/about/ Church story, mission, and leadership context
/ministries/ Ministry areas
/watch/ Livestream and media paths
/give/ Giving explanation and future giving link
/contact/ Visit, prayer, and contact paths
/404/ Not found page

Shared content

Most editable text and links are in:

src/data/site.ts

Start there when changing:

  • navigation labels
  • service times
  • phone or email
  • address
  • social links
  • ministry descriptions
  • watch cards
  • giving reasons
  • FAQs

Layout and SEO

The shared page shell is:

src/layouts/BaseLayout.astro

This file controls the page title, description, canonical URL, Open Graph image, Twitter card data, favicon, fonts, and theme color. Update it carefully because mistakes affect every public page.

Page editing workflow

  1. Find the route in src/pages.
  2. Check whether the content is hardcoded in that page or pulled from src/data/site.ts.
  3. Make the smallest change that solves the request.
  4. Run npm run build.
  5. Review the affected page locally before pushing.