{
  "backend": {
    "name": "github",
    "repo": "beaushineco-arch/beau-shine-website",
    "branch": "main"
  },
  "site_domain": "beaushineco.com",
  "site_url": "https://beaushineco.com",
  "display_url": "https://beaushineco.com",
  "media_folder": "public/uploads",
  "public_folder": "/uploads",
  "collections": [
    {
      "name": "website",
      "label": "Website",
      "editor": {
        "preview": false
      },
      "files": [
        {
          "name": "content",
          "label": "Services and Pictures",
          "file": "src/content/website.json",
          "format": "json",
          "fields": [
            {
              "name": "services",
              "label": "Services",
              "widget": "list",
              "summary": "{{fields.name}}",
              "fields": [
                {
                  "name": "name",
                  "label": "Service name",
                  "widget": "string"
                },
                {
                  "name": "description",
                  "label": "Short summary",
                  "widget": "text"
                },
                {
                  "name": "details",
                  "label": "Detailed service description",
                  "widget": "text",
                  "required": false
                },
                {
                  "name": "icon",
                  "label": "Icon",
                  "widget": "select",
                  "options": [
                    "pressure",
                    "solar",
                    "gutter",
                    "roof",
                    "soft",
                    "driveway",
                    "commercial",
                    "window"
                  ],
                  "default": "pressure"
                },
                {
                  "name": "enabled",
                  "label": "Show on website",
                  "widget": "boolean",
                  "default": true
                }
              ]
            },
            {
              "name": "photos",
              "label": "Our Work Pictures",
              "widget": "list",
              "required": false,
              "summary": "{{fields.caption}}",
              "fields": [
                {
                  "name": "image",
                  "label": "Picture",
                  "widget": "image",
                  "required": true,
                  "allow_multiple": false
                },
                {
                  "name": "alt",
                  "label": "Describe the picture",
                  "widget": "string"
                },
                {
                  "name": "caption",
                  "label": "Caption",
                  "widget": "string",
                  "required": false
                },
                {
                  "name": "enabled",
                  "label": "Show on website",
                  "widget": "boolean",
                  "default": true
                }
              ]
            }
          ]
        },
        {
          "name": "homepage",
          "label": "Homepage",
          "file": "src/content/homepage.json",
          "format": "json",
          "fields": [
            {
              "name": "heroTitle",
              "label": "Main heading",
              "widget": "string"
            },
            {
              "name": "heroAccent",
              "label": "Highlighted heading",
              "widget": "string"
            },
            {
              "name": "heroSubtitle",
              "label": "Subheading",
              "widget": "string"
            },
            {
              "name": "heroDescription",
              "label": "Introduction under heading",
              "widget": "text"
            },
            {
              "name": "heroImage",
              "label": "Large header photo",
              "widget": "image",
              "required": false,
              "allow_multiple": false
            },
            {
              "name": "intro",
              "label": "About introduction",
              "widget": "text"
            }
          ]
        },
        {
          "name": "branding",
          "label": "Official Logo",
          "file": "src/content/branding.json",
          "format": "json",
          "fields": [
            {
              "name": "logo",
              "label": "Official logo",
              "widget": "image",
              "required": false,
              "allow_multiple": false
            }
          ]
        }
      ]
    }
  ]
}
