event_card:
  label: Event Card
  namespace: Molecules/TM - Cards
  use: '@molecules/tm-cards/event-card/event-card.twig'
  description: Event Card
  libraries:
    - event_card_lib:
        css:
          component:
            ../styles/event-card.css: {weight: 10}

  fields:
    img_url:
      type: text
      label: The image url
      description: The image url
      preview: https://picsum.photos/560/320?rnd=a1
    img_alt:
      type: text
      label: The alt text
      description: The alt text
      preview: Logo of the Your County Pass
    title:
      type: text
      label: The title
      description: The title
      preview: 15% discount at Polarn O. Pyret Childrenswear, Cambridge
    content:
      type: text
      label: Content
      description: Content
      preview:
        faker: lorem.paragraphs
    card_link:
      type: text
      label: The link URL
      description: The link URL
      preview: www.train-operator.co.uk
    location:
      type: text
      label: The link URL
      description: The link URL
      preview: Waltham Cross
    tags:
      type: object
      label: The filter links
      description: The filter links
      preview:
        - name: Food, Drink & Shopping
          url: somewhere
        - name: Some More offer links
          url: somewhere
