backend:
  name: github
  repo: duttasounak/unitech-concrete-site
  branch: main
  base_url: https://unitechconcrete.com
  auth_endpoint: auth

publish_mode: simple

media_folder: "src/image"
public_folder: "/image"

collections:
  - name: "posts"
    label: "Blog Posts"
    folder: "src/posts"
    create: true
    slug: "{{slug}}"
    fields:
      - { label: "Title", name: "title", widget: "string" }
      - { label: "Publish Date", name: "date", widget: "datetime" }
      - { label: "Excerpt", name: "excerpt", widget: "text", hint: "A one or two sentence teaser shown on the blog listing page." }
      - { label: "Body", name: "body", widget: "markdown" }

  - name: "site-content"
    label: "Site Content"
    files:
      - name: "site-settings"
        label: "Site Settings"
        file: "src/_data/site.json"
        description: "Shared across every page: header/footer contact info, logo, footer columns, and the promo blocks repeated site-wide."
        fields:
          - { label: "Phone Number", name: "phone", widget: "string" }
          - { label: "Secondary Phone Number", name: "phoneSecondary", widget: "string" }
          - { label: "Email", name: "email", widget: "string" }
          - { label: "Head Office Email", name: "headOfficeEmail", widget: "string" }
          - { label: "Website (display text)", name: "website", widget: "string" }
          - { label: "Registered Office Address", name: "address", widget: "text" }
          - { label: "Google Maps Embed URL (Contact page map - on Google Maps, open the location, click Share > Embed a map > COPY HTML, then paste just the src=\"...\" URL here, not the whole <iframe> tag; or ask Claude to convert a maps.app.goo.gl link)", name: "mapEmbedUrl", widget: "string" }
          - { label: "Corporate/Head Office Address", name: "corporateOffice", widget: "text" }
          - { label: "Logo", name: "logo", widget: "image" }
          - { label: "LinkedIn URL", name: "linkedinUrl", widget: "string" }
          - { label: "\"Request a Quote\" Button Link", name: "requestQuoteUrl", widget: "string" }
          - { label: "Footer Tagline", name: "footerTagline", widget: "string" }
          - { label: "Footer Blurb", name: "footerBlurb", widget: "text" }
          - { label: "Secondary Page Banner Image", name: "aboutBanImage", widget: "image", hint: "Shown at the top of every page except the homepage." }
          - label: "QA-QC Promo Block"
            name: "qaPromo"
            widget: "object"
            fields:
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
              - { label: "Link", name: "link", widget: "string" }
          - label: "HSE Promo Block"
            name: "hsePromo"
            widget: "object"
            fields:
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
              - { label: "Link", name: "link", widget: "string" }
          - label: "\"For Expert Help\" Block"
            name: "helpCall"
            widget: "object"
            fields:
              - { label: "Icon", name: "icon", widget: "select", options: ["fa-phone", "fa-phone-square", "fa-mobile", "fa-headphones", "fa-comments"] }
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - label: "\"Get Enquiry\" Block"
            name: "helpEnquiry"
            widget: "object"
            fields:
              - { label: "Icon", name: "icon", widget: "select", options: ["fa-envelope", "fa-envelope-o", "fa-paper-plane", "fa-at", "fa-comment"] }
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - label: "Footer Columns"
            name: "footerColumns"
            widget: "object"
            fields:
              - label: "Quick Links"
                name: "quickLinks"
                widget: "list"
                fields:
                  - { label: "Label", name: "label", widget: "string" }
                  - { label: "URL", name: "url", widget: "string" }
              - label: "Products & Services"
                name: "productsAndServices"
                widget: "list"
                fields:
                  - { label: "Label", name: "label", widget: "string" }
                  - { label: "URL", name: "url", widget: "string" }
              - label: "Capabilities"
                name: "capabilities"
                widget: "list"
                fields:
                  - { label: "Label", name: "label", widget: "string" }
                  - { label: "URL", name: "url", widget: "string" }

      - name: "home-page"
        label: "Home Page"
        file: "src/_data/pages/home.json"
        fields:
          - label: "Hero Banner"
            name: "hero"
            widget: "object"
            fields:
              - label: "Slides"
                name: "slides"
                widget: "list"
                fields:
                  - { label: "Headline", name: "heading", widget: "string" }
                  - { label: "Sub-headline", name: "body", widget: "text" }
                  - { label: "CTA Button Text", name: "ctaText", widget: "string" }
                  - { label: "CTA Button Link", name: "ctaLink", widget: "string" }
                  - { label: "Background Image", name: "image", widget: "image" }
          - label: "Credentials Strip (shown right below the hero)"
            name: "credentials"
            widget: "list"
            fields:
              - { label: "Icon (Font Awesome class, e.g. fa-certificate)", name: "icon", widget: "string" }
              - { label: "Label", name: "label", widget: "string" }
          - label: "About Teaser"
            name: "aboutTeaser"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "markdown" }
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Secondary CTA Text", name: "secondaryCtaText", widget: "string" }
              - { label: "Secondary CTA Link", name: "secondaryCtaLink", widget: "string" }
          - label: "Services Intro"
            name: "servicesIntro"
            widget: "object"
            fields:
              - { label: "Eyebrow Label", name: "eyebrow", widget: "string" }
              - { label: "Heading", name: "heading", widget: "string" }
          - label: "Service Cards"
            name: "serviceCards"
            widget: "list"
            fields:
              - { label: "Icon (Font Awesome class, e.g. fa-building)", name: "icon", widget: "string" }
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - label: "\"Why Unitech Concrete\" Tabs"
            name: "whyUsTabs"
            widget: "list"
            fields:
              - { label: "Tab Label", name: "label", widget: "string" }
              - { label: "Body", name: "body", widget: "markdown" }
          - label: "\"Why Clients Order\" Section Heading"
            name: "whyChooseUsIntro"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
          - label: "\"Why Clients Order\" Cards"
            name: "whyChooseUs"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - label: "Projects Intro"
            name: "projectsIntro"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - label: "Project Cards"
            name: "projectCards"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Image Alt Text", name: "alt", widget: "string" }
          - label: "Plants Section Intro"
            name: "plantsIntro"
            widget: "object"
            fields:
              - { label: "Eyebrow Label", name: "eyebrow", widget: "string" }
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "string" }
          - label: "Plants"
            name: "plants"
            widget: "list"
            fields:
              - { label: "Name", name: "name", widget: "string" }
              - { label: "Address", name: "address", widget: "string" }
          - label: "Clientele Section Intro"
            name: "clienteleIntro"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "string" }
          - { label: "Clientele (list of names)", name: "clientele", widget: "list" }
          - label: "Enquiry Section"
            name: "enquirySection"
            widget: "object"
            fields:
              - { label: "Eyebrow Label", name: "eyebrow", widget: "string" }
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }

      - name: "about-page"
        label: "About Page"
        file: "src/_data/pages/about.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - label: "Overview"
            name: "overview"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Body", name: "body", widget: "markdown" }
          - label: "Mission"
            name: "mission"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Body", name: "body", widget: "markdown" }
          - label: "Vision"
            name: "vision"
            widget: "object"
            fields:
              - { label: "Heading", name: "heading", widget: "string" }
              - { label: "Image", name: "image", widget: "image" }
              - { label: "Body", name: "body", widget: "markdown" }

      - name: "services-page"
        label: "Services Page"
        file: "src/_data/pages/services.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Intro Body", name: "introBody", widget: "markdown" }
          - label: "Accordion Items"
            name: "accordion"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - label: "Value-Added Products Section Intro"
            name: "valueAddedIntro"
            widget: "object"
            fields:
              - { label: "Eyebrow Label", name: "eyebrow", widget: "string" }
              - { label: "Heading", name: "heading", widget: "string" }
          - label: "Value-Added Products"
            name: "valueAddedProducts"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }

      - name: "qa-qc-practices-page"
        label: "QA-QC Practices & HSE Page"
        file: "src/_data/pages/qa_qc_practices.json"
        description: "Combined QA-QC Practices + HSE Policy page (hse-policy.html now redirects here)."
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Intro Body", name: "introBody", widget: "markdown" }
          - label: "QA-QC Accordion Items"
            name: "accordion"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - { label: "HSE Section Heading", name: "hseHeading", widget: "string" }
          - { label: "HSE Policy Statement", name: "hsePolicyStatement", widget: "markdown" }
          - label: "HSE Accordion Items"
            name: "hseAccordion"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
          - { label: "FAQ Section Heading", name: "faqHeading", widget: "string" }
          - label: "FAQ Items"
            name: "faqAccordion"
            widget: "list"
            fields:
              - { label: "Question", name: "question", widget: "string" }
              - { label: "Answer", name: "answer", widget: "markdown" }

      - name: "customer-support-page"
        label: "Customer Support Page"
        file: "src/_data/pages/customer_support.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Body", name: "body", widget: "text" }

      - name: "career-page"
        label: "Career Page"
        file: "src/_data/pages/career.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Intro Heading", name: "introHeading", widget: "string" }
          - label: "Job Listings"
            name: "jobs"
            widget: "list"
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Body", name: "body", widget: "text" }
              - { label: "Requirements", name: "requirements", widget: "list" }
              - { label: "Apply Email Subject", name: "mailSubject", widget: "string" }

      - name: "leadership-page"
        label: "Leadership Page"
        file: "src/_data/pages/leadership.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Intro Body", name: "introBody", widget: "text" }
          - label: "Team Members"
            name: "members"
            widget: "list"
            required: false
            fields:
              - { label: "Name", name: "name", widget: "string" }
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Bio", name: "bio", widget: "text" }
              - { label: "Photo", name: "photo", widget: "image", required: false }

      - name: "awards-page"
        label: "Awards & Recognition Page"
        file: "src/_data/pages/awards.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Intro Body", name: "introBody", widget: "text" }
          - label: "Awards"
            name: "awards"
            widget: "list"
            required: false
            fields:
              - { label: "Title", name: "title", widget: "string" }
              - { label: "Year", name: "year", widget: "string" }
              - { label: "Description", name: "description", widget: "text" }
              - { label: "Image", name: "image", widget: "image", required: false }

      - name: "contact-page"
        label: "Contact Page"
        file: "src/_data/pages/contact.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }

      - name: "privacy-policy-page"
        label: "Privacy Policy Page"
        file: "src/_data/pages/privacy_policy.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Effective Date", name: "effectiveDate", widget: "string" }
          - { label: "Body", name: "body", widget: "markdown" }

      - name: "blog-page"
        label: "Blog Page"
        file: "src/_data/pages/blog.json"
        fields:
          - { label: "Page Heading", name: "pageHeading", widget: "string" }
          - { label: "Intro Heading", name: "introHeading", widget: "string" }
          - { label: "Intro Body", name: "introBody", widget: "text" }
