# Sveltia CMS config for https://omicagroup.org (salasc3/omica-site). Generated from the site's former .pages.yml.
backend:
  name: github
  repo: salasc3/omica-site
  branch: cms-panel
  base_url: https://tcg-sites-panel.pages.dev
  auth_endpoint: auth
site_url: https://omicagroup.org
display_url: https://omicagroup.org
media_folder: v3-site/media
public_folder: /v3-site/media
media_libraries:
  default:
    config:
      slugify_filename: true
collections:
- name: content
  label: OMICA · site content
  format: json
  files:
  - name: home
    label: Home page
    file: content/home.json
    format: json
    fields:
    - name: label
      label: Home · small label above the hero heading
      hint: Three short items, shown separated by slashes.
      required: false
      widget: list
      field:
        name: item
        label: Home · small label above the hero heading
        widget: string
    - name: title
      label: Home · hero heading
      hint: The large heading at the top of the home page.
      required: false
      widget: string
    - name: lede
      label: Home · hero paragraph
      hint: Also the page description for search engines.
      required: false
      widget: text
    - name: statement
      label: Home · statement [01]
      hint: The large sentence below the hero.
      required: false
      widget: text
    - name: turning_title
      label: Home · The Turning heading
      required: false
      widget: string
    - name: standard_title
      label: Home · GEM standard heading
      required: false
      widget: string
    - name: programs_title
      label: Home · programs heading
      required: false
      widget: string
    - name: wild_title
      label: Home · three wildernesses heading
      required: false
      widget: string
    - name: wild_lede
      label: Home · three wildernesses paragraph
      required: false
      widget: text
    - name: rail_title
      label: Home · services list heading
      required: false
      widget: string
    - name: moat_title
      label: Home and Programs · moat heading
      required: false
      widget: string
    - name: family_title
      label: Home and About · family heading
      required: false
      widget: string
    - name: close_title
      label: Every page · closing heading
      hint: The heading of the 'Engage OMICA' band at the foot of each page.
      required: false
      widget: string
    - name: close_lede
      label: Every page · closing paragraph
      required: false
      widget: text
    - name: hero_button
      label: Home · hero button
      required: false
      widget: string
    - name: hero_link
      label: Home · hero second link
      required: false
      widget: string
    - name: turning
      label: Home · The Turning stations
      required: false
      widget: list
      fields:
      - name: title
        label: Title
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: string
      collapsed: true
      summary: '{{fields.title}}'
      min: 4
      max: 4
      allow_add: false
      allow_remove: false
    - name: standard
      label: Home · GEM standard cards
      required: false
      widget: list
      fields:
      - name: name
        label: Small label
        required: false
        widget: string
      - name: heading
        label: Heading
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: text
      collapsed: true
      summary: '{{fields.name}}'
      min: 3
      max: 3
      allow_add: false
      allow_remove: false
    - name: wilds
      label: Home · three wildernesses
      required: false
      widget: list
      fields:
      - name: title
        label: Title
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: string
      collapsed: true
      summary: '{{fields.title}}'
      min: 3
      max: 3
      allow_add: false
      allow_remove: false
    - name: moats
      label: Home and Programs · moats
      required: false
      widget: list
      fields:
      - name: title
        label: Title
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: text
      collapsed: true
      summary: '{{fields.title}}'
      min: 3
      max: 3
      allow_add: false
      allow_remove: false
    - name: stack
      label: Home and About · family tiers
      required: false
      widget: list
      fields:
      - name: name
        label: Name
        required: false
        widget: string
      - name: kind
        label: Small label
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: text
      - name: link
        label: Website link
        hint: Fixed by the site structure. Ask Laguna to change it.
        readonly: true
        required: false
        widget: string
      collapsed: true
      summary: '{{fields.name}}'
      min: 3
      max: 3
      allow_add: false
      allow_remove: false
  - name: programs
    label: Programs page (the four GEM programs)
    file: content/programs.json
    format: json
    fields:
    - name: title
      label: Programs page · heading
      required: false
      widget: string
    - name: lede
      label: Programs page · paragraph
      required: false
      widget: text
    - name: programs
      label: Programs
      required: false
      widget: list
      fields:
      - name: name
        label: Program name
        required: false
        widget: string
      - name: kind
        label: Small label
        required: false
        widget: string
      - name: text
        label: Description
        required: false
        widget: text
      - name: old_photo
        label: Old photo
        widget: hidden
      - name: tags
        label: Tags
        required: false
        widget: list
        field:
          name: item
          label: Tags
          widget: string
      collapsed: true
      summary: '{{fields.name}}'
      min: 4
      max: 4
      allow_add: false
      allow_remove: false
  - name: services
    label: Services (all eight service pages)
    file: content/services.json
    format: json
    fields:
    - name: title
      label: Services page · heading
      required: false
      widget: string
    - name: lede
      label: Services page · paragraph
      required: false
      widget: text
    - name: services
      label: Services
      required: false
      widget: list
      fields:
      - name: slug
        label: Web address
        hint: Fixed by the site structure. Ask Laguna to change it.
        readonly: true
        required: false
        widget: string
      - name: name
        label: Service name (page heading)
        required: false
        widget: string
      - name: short_name
        label: Short name (footer)
        required: false
        widget: string
      - name: family
        label: Group
        hint: Fixed by the site structure. Ask Laguna to change it.
        readonly: true
        required: false
        widget: string
      - name: summary
        label: One-line summary
        hint: Shown under the heading and in the services list. Also the page description for search engines.
        required: false
        widget: text
      - name: old_photo
        label: Old photo
        widget: hidden
      - name: sign_title
        label: Sign · title
        required: false
        widget: string
      - name: sign_text
        label: Sign · text
        required: false
        widget: text
      - name: intro
        label: The service · paragraph
        required: false
        widget: text
      - name: items
        label: Stations
        required: false
        widget: list
        fields:
        - name: title
          label: Station title
          required: false
          widget: string
        - name: text
          label: Station text
          required: false
          widget: text
        collapsed: true
        summary: '{{fields.title}}'
      - name: who
        label: Who it is for
        required: false
        widget: string
      collapsed: true
      summary: '{{fields.name}}'
      min: 8
      max: 8
      allow_add: false
      allow_remove: false
  - name: about
    label: About page
    file: content/about.json
    format: json
    fields:
    - name: title
      label: About page · heading
      required: false
      widget: string
    - name: lede
      label: About page · paragraph
      hint: Also the page description for search engines.
      required: false
      widget: text
    - name: reality_title
      label: About · economic reality heading
      required: false
      widget: string
    - name: reality
      label: About · economic reality paragraph
      required: false
      widget: text
    - name: order
      label: About · order of work
      required: false
      widget: list
      fields:
      - name: title
        label: Title
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: text
      collapsed: true
      summary: '{{fields.title}}'
      min: 4
      max: 4
      allow_add: false
      allow_remove: false
    - name: stats
      label: About · figures (four rings)
      required: false
      widget: list
      fields:
      - name: number
        label: Number
        required: false
        widget: string
      - name: suffix
        label: After the number
        hint: Optional, for example %.
        required: false
        widget: string
      - name: unit
        label: Unit
        required: false
        widget: string
      - name: text
        label: Text
        required: false
        widget: string
      collapsed: true
      summary: '{{fields.unit}}'
      min: 4
      max: 4
      allow_add: false
      allow_remove: false
  - name: shared
    label: Contact details and shared text
    file: content/shared.json
    format: json
    fields:
    - name: contact
      label: Contact details
      required: false
      widget: object
      fields:
      - name: email
        label: Email
        required: false
        widget: string
      - name: place
        label: Place
        required: false
        widget: string
      - name: reply
        label: Thank-you sentence after the form is sent
        required: false
        widget: text
    - name: engage_button
      label: '''Engage OMICA'' button label'
      hint: Used in the top bar and on each service page.
      required: false
      widget: string
    - name: contact_title
      label: Contact page · heading
      required: false
      widget: string
    - name: contact_lede
      label: Contact page · paragraph
      required: false
      widget: text
  - name: photos
    label: Photos and alt text
    file: content/photos.json
    format: json
    fields:
    - name: items
      label: Photos and alt text
      widget: list
      root: true
      required: false
      fields:
      - name: place
        label: Where it shows
        readonly: true
        required: false
        widget: string
      - name: slot
        label: Slot
        widget: hidden
      - name: image
        label: Photo
        hint: Pick a photo from the library or upload one (JPG, PNG or WebP, at least 2000 pixels wide).
        required: true
        widget: image
      - name: alt
        label: Alt text
        hint: One plain sentence describing the photo, read aloud by screen readers. Leave empty for a decorative photo.
        required: false
        widget: string
