dn_page:
  namespace: "Pages/Demos"
  use: "@pages/demo-pages/dest-page/dest-page.twig"
  label: Destination page
  description: Destination page
  visibility: storybook

  fields:
    title:
      type: text
      label: "Title"
      preview: "Broxbourne"
    header_title:
      type: text
      label: "Content Title"
      preview: "Plan your day out in Broxbourne"
    header_text:
      type: text
      label: "Content Title"
      preview: "Whether you're into active leisure pursuits or simply love the great outdoors, the Lee Valley has plenty to offer. Located just a few miles from central London, it's an oasis of natural beauty in the heart of the city's commuter belt."
    dropdown:
      type: pattern
      label: Search
      preview:
        - id: submit-addon
          variant: "select"
          settings:
            label_display: before
#    stay_form:
#      type: pattern
#      label: Form
#      preview:
#        - id: nre_stay_form
    cards:
      label: Cards
      description: Card patterns
      type: pattern
      multi_value_type: items
      preview:
        - id: event_card
        - id: event_card
        - id: event_card
        - id: event_card
    items:
      type: object
      label: Items
      preview:
        - tbid: "a123"
          title: "Historic"
          content:
            pid: 'abc'
            map_address: 'Hoddesdon EN11 0EG, United Kingdom'
            items:
              - pid: 'abc'
                aiid: 'a'
                label: 'Broxbourne Old Mill and Meadows'
                content: "There's not much left of the 16th century mill, but you can feel the spirit of a thousand years of history in this magical place. The Broxbourne Old Mill is a popular attraction in the River Lee Country Park."
              - pid: 'abc'
                aiid: 'b'
                label: 'Rye House Gatehouse'
                content: "Hertfordshire's only National Nature Reserve (NNR), Broxbourne Woods Nature Reserve is a delightful mix of ancient woodland, varied wildlife and rich heritage. The four woods that make up the Reserve are all Sites of Scientific Special Interest (SSSIs)."
          first: true
        - tbid: "a456"
          title: "Outdoor"
          content:
            pid: 'abcd'
            map_address: 'Hoddesdon EN11 0EG, United Kingdom'
            items:
              - pid: 'abcd'
                aiid: 'ab'
                label: 'Broxbourne Woods Nature Reserve'
                content: "Hertfordshire's only National Nature Reserve (NNR), Broxbourne Woods Nature Reserve is a delightful mix of ancient woodland, varied wildlife and rich heritage. The four woods that make up the Reserve are all Sites of Scientific Special Interest (SSSIs)."
              - pid: 'abcd'
                aiid: 'bb'
                label: 'Lee Valley Boat Centre'
                content: "Why not explore the River Lee Country Park by boat? Just a short walk from Broxbourne station, the Lee Valley Boat Centre has day boats for hire, as well as electric boats, rowing boats and pedalos which can be rented by the hour."
          first: false

        - tbid: "a789"
          title: "Eating Out"
          first: false

        - tbid: "a7890"
          title: "Station Information"
          first: false

      nav_prefix:
        type: text
        label: Nav prefix
        description: Add an extra nav item to the beginning
      nav_suffix:
        type: text
        label: Nav suffix
        description: Add an extra nav item to the end
      nid:
        type: text
        label: Nav ID
        preview:
          faker: lorem.slug
