City of Ghent Style Guide

Footer

When to use this component

All websites and all pages must include the footer.

How it works

The footer component contains the following elements:

  • Gentinfo contact information
  • Useful links
  • Social media links
  • Legal links
  • Mention of District09

The Gentinfo contact information in itself contains the following elements:

  • A spot illustration
  • The Gentinfo typologo
  • Introduction to Gentinfo
  • Gentinfo telephone number with tel-link
  • Gentinfo e-mail address with mailto-link
  • Link to the Gentinfo contact form
  • Chat function

Requirements

The footer always refers to the City of Ghent in a general level.
Within a website, the footer always stays the same.

  • The useful links can be selected per website.
    There can be more or less of them and they can link to specific websites or pages that are relevant for that website.
  • The chat function (“Chat with Gentinfo”) can be omitted.
    This is a functional decision specific for the website.
  • All legal links showcased here are required, but the endpoints may be specific per website. We remind you that every city of Ghent website is legally required to have it’s own accessibility statement.

All other elements in the footer are fixed and should be included as is. The Gentinfo contact information, social media links and the mention of District09 should stay the same for every website using the City of Ghent Style Guide.

The style and the layout cannot be changed in anyway.

In the examples the footer component is shown as it should be included in different languages.

Usage

  • The footer component is the last visible component on every page.
  • This organism must be included in a top-level footer landmark.
  • It can be preceded by the theme-footer section.
<section class="footer">
  <h2 class="visually-hidden">{{ 'Footer' }}</h2>
  <div class="footer-top">
    <div class="content-container">
      {# Gentinfo #}
      <div class="footer--column">
        <div class="gentinfo-block">
          <div class="gentinfo-block-content">
            <h3 class="visually-hidden">Gentinfo</h3>
            {% include '@image' with {
              src: '/styleguide/img/svg/gentinfo-logo.svg' | path,
              modifier: 'gentinfo-logo',
              alt_text: 'Gentinfo',
              ratio: null
            } %}

            {% include '@paragraph' with {
              'text': gentinfo.description
            } %}
            {% include '@list' with {
              'type': 'icon-list',
              'icon_items': [
                '<i class="icon-phone" aria-hidden="true"></i><a href="tel:' ~ gentinfo.phone.machine ~ '">' ~ gentinfo.phone.label ~ '</a>',
                '<i class="icon-envelope" aria-hidden="true"></i><a href="mailto:' ~ gentinfo.email ~ '">' ~ gentinfo.email ~ '</a>',
                '<i class="icon-document" aria-hidden="true"></i><a href="https://stad.gent/contact">' ~ gentinfo.form ~ '</a>'
              ]
            } %}
          </div>

          {% include '@button' with { 'text': gentinfo.chat, 'type': 'primary', 'modifier': 'gentinfo-chat-button button icon-chat-round' } %}
        </div>
      </div>

      {# Useful links #}
      <div class="footer--column">
        {% include '@heading' with {
          'type': 'h3',
          'heading_text': disclaimer.title
        } %}

        {% include "@list" with
          {
            "type": 'unordered',
            "items": [
            '<a href="https://jobs.gent.be/">' ~ disclaimer.links[0] ~ '</a>',
            '<a href="https://stad.gent/over-gent-en-het-stadsbestuur/over-gent/kaarten-cijfers-en-data/gent-kaart/stadsplan">' ~ disclaimer.links[1] ~ '</a>',
            '<a href="https://persruimte.stad.gent/nl">' ~ disclaimer.links[2] ~ '</a>'
          ]
          } %}
      </div>

      {# Social #}
      <div class="footer--column">
        {% include '@heading' with {
          'type': 'h3',
          'heading_text': social.title
        } %}
        <div class="social-list">
          {% include "@list" with
            {
              "type": "unordered",
              "items": [
              '<a href="https://www.facebook.com/stadsbestuurgent"><i aria-hidden="true" class="icon-facebook"></i><span class="visually-hidden">Facebook</span></a>',
              '<a href="https://www.twitter.com/stadgent"><i aria-hidden="true" class="icon-twitter"></i><span class="visually-hidden">Twitter</span></a>',
              '<a href="https://www.linkedin.com/company/stad-gent"><i aria-hidden="true" class="icon-linkedin"></i><span class="visually-hidden">LinkedIn</span></a>',
              '<a href="https://www.youtube.com/channel/UCmJLf8SFG0D0GTd6LSSTQLw"><i aria-hidden="true" class="icon-youtube"></i><span class="visually-hidden">Youtube</span></a>',
              '<a href="https://www.instagram.com/stadgent/"><i aria-hidden="true" class="icon-instagram"></i><span class="visually-hidden">Instagram</span></a>'
            ]
            } %}
        </div>
      </div>
    </div>
  </div>
  <div class="footer-bottom content-container">

    <div class="footer--column">
      {% include "@list" with
        {
          "type": 'unordered',
          "items": [
          '<a href="https://stad.gent/nl/over-gent-en-het-stadsbestuur/juridische-info/gebruiksvoorwaarden-website-stad-gent">' ~ bottom.links[0] ~ '</a>',
          '<a href="https://stad.gent/nl/over-gent-en-het-stadsbestuur/juridische-info/met-respect-voor-uw-privacy">' ~ bottom.links[1] ~ '</a>',
          '<a href="https://stad.gent/nl/responsible-disclosure">' ~ bottom.links[2] ~ '</a>',
          '<a href="https://stad.gent/nl/over-gent-en-het-stadsbestuur/juridische-info/toegankelijkheidsverklaring-stad-gent">' ~ bottom.links[3] ~ '</a>',
          '<a href="#">' ~ bottom.links[4] ~ '</a>',
        ]
        } %}
    </div>

    {# Partnership #}
    <div class="footer--column partnership">
      <span>{{ bottom.partnership }}</span><i aria-hidden="true" class="icon-district09"></i>
    </div>
  </div>
</section>
<section class="footer">
    <h2 class="visually-hidden">Footer</h2>
    <div class="footer-top">
        <div class="content-container">

            <div class="footer--column">
                <div class="gentinfo-block">
                    <div class="gentinfo-block-content">
                        <h3 class="visually-hidden">Gentinfo</h3>
                        <figure class="gentinfo-logo"><img src="../../styleguide/img/svg/gentinfo-logo.svg" alt="Gentinfo" class="gentinfo-logo" /></figure>
                        <p class="">We can be reached from Monday to Saturday, from 8.00 am to 7.00 pm.</p>

                        <ul class="icon-list ">
                            <li><i class="icon-phone" aria-hidden="true"></i><a href="tel:+32 9 210 10 10">09 210 10 10</a></li>
                            <li><i class="icon-envelope" aria-hidden="true"></i><a href="mailto:gentinfo@stad.gent">gentinfo@stad.gent</a></li>
                            <li><i class="icon-document" aria-hidden="true"></i><a href="https://stad.gent/contact">Contact form</a></li>
                        </ul>

                    </div>

                    <button type="button" class="button button-primary gentinfo-chat-button button icon-chat-round ">
                        Chat with Gentinfo
                    </button>
                </div>
            </div>

            <div class="footer--column">
                <h3>Useful links</h3>

                <ul class="">
                    <li><a href="https://jobs.gent.be/">Vacancies</a></li>
                    <li><a href="https://stad.gent/over-gent-en-het-stadsbestuur/over-gent/kaarten-cijfers-en-data/gent-kaart/stadsplan">City plan</a></li>
                    <li><a href="https://persruimte.stad.gent/nl">City of Ghent newsroom</a></li>
                </ul>

            </div>

            <div class="footer--column">
                <h3>Follow the city of Ghent</h3>
                <div class="social-list">

                    <ul class="">
                        <li><a href="https://www.facebook.com/stadsbestuurgent"><i aria-hidden="true" class="icon-facebook"></i><span class="visually-hidden">Facebook</span></a></li>
                        <li><a href="https://www.twitter.com/stadgent"><i aria-hidden="true" class="icon-twitter"></i><span class="visually-hidden">Twitter</span></a></li>
                        <li><a href="https://www.linkedin.com/company/stad-gent"><i aria-hidden="true" class="icon-linkedin"></i><span class="visually-hidden">LinkedIn</span></a></li>
                        <li><a href="https://www.youtube.com/channel/UCmJLf8SFG0D0GTd6LSSTQLw"><i aria-hidden="true" class="icon-youtube"></i><span class="visually-hidden">Youtube</span></a></li>
                        <li><a href="https://www.instagram.com/stadgent/"><i aria-hidden="true" class="icon-instagram"></i><span class="visually-hidden">Instagram</span></a></li>
                    </ul>

                </div>
            </div>
        </div>
    </div>
    <div class="footer-bottom content-container">

        <div class="footer--column">

            <ul class="">
                <li><a href="https://stad.gent/nl/over-gent-en-het-stadsbestuur/juridische-info/gebruiksvoorwaarden-website-stad-gent">Terms of use</a></li>
                <li><a href="https://stad.gent/nl/over-gent-en-het-stadsbestuur/juridische-info/met-respect-voor-uw-privacy">Privacy</a></li>
                <li><a href="https://stad.gent/nl/responsible-disclosure">Responsible disclosure</a></li>
                <li><a href="https://stad.gent/nl/over-gent-en-het-stadsbestuur/juridische-info/toegankelijkheidsverklaring-stad-gent">Accessibility statement</a></li>
                <li><a href="#">Cookie settings</a></li>
            </ul>

        </div>

        <div class="footer--column partnership">
            <span>In cooperation with District09</span><i aria-hidden="true" class="icon-district09"></i>
        </div>
    </div>
</section>
{
  "gentinfo": {
    "title": "gentinfo",
    "description": "We can be reached from Monday to Saturday, from 8.00 am to 7.00 pm.",
    "phone": {
      "label": "09 210 10 10",
      "machine": "+32 9 210 10 10"
    },
    "email": "gentinfo@stad.gent",
    "form": "Contact form",
    "chat": "Chat with Gentinfo"
  },
  "disclaimer": {
    "title": "Useful links",
    "links": [
      "Vacancies",
      "City plan",
      "City of Ghent newsroom"
    ]
  },
  "social": {
    "title": "Follow the city of Ghent"
  },
  "bottom": {
    "partnership": "In cooperation with District09",
    "links": [
      "Terms of use",
      "Privacy",
      "Responsible disclosure",
      "Accessibility statement",
      "Cookie settings"
    ]
  }
}
  • Content:
    .footer {
      margin-top: 4rem;
      margin-right: -$gutter-width;
      margin-left: -$gutter-width;
    
      .content-container {
        display: flex;
        flex-wrap: wrap;
        max-width: calc(#{$bp-max-content} + 54px);
        padding: 0 $gutter-width;
    
        @media (min-width: $bp-max-content + 54px) {
          max-width: $bp-max-content;
          padding-right: 0;
          padding-left: 0;
        }
      }
    
      .footer-top {
        @include theme('background-color', 'color-primary--lighten-5', 'footer-background-color');
        margin-bottom: 1.2rem;
    
        .content-container {
          padding-top: 2rem;
    
          @include desktop {
            padding-top: 4rem;
            padding-bottom: 4rem;
          }
        }
    
        .footer--column {
          flex: 0 0 auto;
          width: span(12 of 12);
          margin-bottom: 2.6rem;
    
          @include tablet {
            width: span(6 of 12);
    
            &:nth-of-type(2) {
              margin-right: $gutter-width;
            }
    
            &:first-of-type {
              width: span(12 of 12);
            }
          }
    
          @include desktop {
            width: span(3 of 12);
            margin-top: 1.4rem;
            margin-bottom: 0;
    
            &:nth-of-type(3) {
              margin-right: $gutter-width;
            }
    
            &:first-of-type {
              order: 1;
              width: span(6 of 12);
              margin-top: 0;
            }
          }
        }
    
        ul {
          margin: 0;
          list-style: none;
        }
    
        .social-list ul {
          width: calc(100% + 1rem);
          margin: 0 -.5rem;
        }
    
      }
    
      .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        justify-content: center;
    
        @include desktop {
          justify-content: flex-start;
        }
    
        ul {
          margin: 0;
          font-size: .6rem;
          list-style: none;
          text-align: center;
        }
    
        li {
          margin-bottom: .2rem;
    
          @include tablet {
            display: inline-block;
            padding: 0 .4rem;
    
            &:first-of-type {
              padding-left: 0;
            }
          }
        }
    
        .partnership {
          font-size: .7rem;
    
          i.icon-district09 {
            margin-left: .5rem;
            font-size: 1.3rem;
            line-height: 1.6rem;
            vertical-align: middle;
          }
        }
    
        .footer--column {
          width: 100%;
          margin-bottom: 1.2rem;
          text-align: center;
    
          @include desktop {
            order: 2;
            width: auto;
    
            &.partnership {
              order: 1;
              margin-right: $gutter-width;
            }
          }
        }
      }
    
      ///
      /// Links in the footer should never have icons.
      ///
      [class*="cs--"] & a {
        &::after {
          content: none;
        }
      }
    }
    
  • URL: /components/raw/footer/_footer.scss
  • Filesystem Path: components/41-organisms/footer/_footer.scss
  • Size: 2.5 KB