<h2 id="js-filter-content-title" tabIndex="-1" class="u-sr-only"></h2>
<div id="js-filter-content" class="o-filter-content-container c-all-experiences">

    <div class="c-all-experiences">
        <h2 id="js-filter-content-title" tabIndex="-1" class="u-sr-only">All Experiences Results</h2>
        <div id="js-filter-content" class="o-filter-content-container">
            <div class="o-filter-content-container__loader">
                <div class="o-filter-content-container__loader-icon"></div>
                <span class="u-sr-only">Loading...</span>
            </div>
            <div id="js-replace-content" class="o-filter-content-container__inner">

                <div class="c-all-experiences__no-results o-container">
                    <h2 class="c-all-experiences__no-results-title f-title--h4 f-bold">No results matched your search.</h2>
                    <p>Please try filtering again.</p>
                </div>

            </div>
        </div>

    </div>
<h2 id="js-filter-content-title" tabIndex="-1" class="u-sr-only">{{ title }}</h2>
<div id="js-filter-content" class="o-filter-content-container c-all-experiences">

<div class="c-all-experiences">
  {% embed "04-objects/filters/filter-content-container" with filterContainerData %}
    {% block filterContainerContent %}
      {% if events.items or dailyActivities.items or exhibits.items %}

        {% if events.items %}
          {% embed "04-objects/column-panel" with {
            title: 'Events',
            removeOffset: true,
            panelColorTheme: 'base',
            classes: 'c-all-experiences__section',
            hTag: 'h3'
          } %}
            {% block content %}
              <ul class="c-all-experiences__list-items">
                {% for item in events.items %}
                  {% include "04-objects/list-card" with item|merge({classes: 'c-all-experiences__list-item'}) only %}
                {% endfor %}
              </ul>
              <div class="c-all-experiences__cta-wrapper">
                <a href="{{ events.ctaLink }}" class="c-all-experiences__cta o-btn o-btn--text-dark o-btn--expanding-arrow">
                  {{ events.ctaTitle }}
                  <span class="o-btn__icon" aria-hidden="true">{% include "03-icons/cta-expanding-arrow" %}</span>
                </a>
              </div>
            {% endblock content %}
          {% endembed %}
        {% endif %}

        {% if dailyActivities.items %}
          {% embed "04-objects/column-panel" with {
            title: 'Daily Activities',
            removeOffset: true,
            panelColorTheme: 'light',
            classes: 'c-all-experiences__section',
            hTag: 'h3'
          } %}
            {% block content %}
              <ul class="c-all-experiences__list-items">
                {% for item in dailyActivities.items %}
                  {% include "04-objects/list-card" with item|merge({classes: 'c-all-experiences__list-item'}) only %}
                {% endfor %}
              </ul>
              <div class="c-all-experiences__cta-wrapper">
                <a href="{{ dailyActivities.ctaLink }}" class="c-all-experiences__cta o-btn o-btn--text-dark o-btn--expanding-arrow">
                  {{ dailyActivities.ctaTitle }}
                  <span class="o-btn__icon" aria-hidden="true">{% include "03-icons/cta-expanding-arrow" %}</span>
                </a>
              </div>
            {% endblock content %}
          {% endembed %}
        {% endif %}

        {% if exhibits.items %}
          {% embed "04-objects/column-panel" with {
            title: 'Exhibits',
            removeOffset: true,
            panelColorTheme: 'base',
            classes: 'c-all-experiences__section',
            hTag: 'h3'
          } %}
            {% block content %}
              <ul class="c-all-experiences__list-items">
                {% for item in exhibits.items %}
                  {% include "04-objects/list-card" with item|merge({classes: 'c-all-experiences__list-item'}) only %}
                {% endfor %}
              </ul>
              <div class="c-all-experiences__cta-wrapper">
                <a href="{{ exhibits.ctaLink }}" class="c-all-experiences__cta o-btn o-btn--text-dark o-btn--expanding-arrow">
                  {{ exhibits.ctaTitle }}
                  <span class="o-btn__icon" aria-hidden="true">{% include "03-icons/cta-expanding-arrow" %}</span>
                </a>
              </div>
            {% endblock content %}
          {% endembed %}
        {% endif %}

      {# No events or daily activites or exhibits #}
      {% else %}
        <div class="c-all-experiences__no-results o-container">
          <h2 class="c-all-experiences__no-results-title f-title--h4 f-bold">No results matched your search.</h2>
          <p>Please try filtering again.</p>
        </div>

      {% endif %}
    {% endblock %}
  {% endembed %}

</div>
{
  "pageColorTheme": "reef",
  "filterContainerData": {
    "title": "All Experiences Results"
  },
  "events": {
    "ctaTitle": "Explore all events",
    "ctaLink": "#",
    "items": false
  },
  "dailyActivities": {
    "ctaTitle": "Explore all Daily Activities",
    "ctaLink": "#",
    "items": false
  },
  "exhibits": {
    "ctaTitle": "Explore all exhibits",
    "ctaLink": "#",
    "items": false
  }
}
  • Content:
    .c-all-experiences__cta-wrapper {
      margin-top: 4.8rem;
    }
    
    .c-all-experiences__no-results {
      padding-top: 10rem;
      padding-bottom: 10rem;
    }
    
    .c-all-experiences__no-results-title {
      margin-bottom: 1.2rem;
    }
    
  • URL: /components/raw/featured-experiences/featured-experiences.scss
  • Filesystem Path: patterns\06-components\experience-views\featured-experiences\featured-experiences.scss
  • Size: 220 Bytes

No notes defined.