Footer

Footer

When to use this component

All websites and all pages must include the footer.

The footer should be used as is.

See the specific requirements for the City of Ghent website and for separate websites below.

How it works

The footer component is the last visible component on every page. The position of the footer is fixed on the page.

The footer is fully responsive and shows the same content and functionalitiy on all screen resolutions.

The footer component contains the following elements:

  • Gentinfo contact information (fixed)
  • Useful links (fixed)
  • Postal address (fixed)
  • Social media links (fixed)
  • Mention of Digipolis (fixed)

The Gentinfo contact information in itself contains the following fixed elements:

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

Specific requirements for the City of Ghent website and for separate websites are listed below.

Requirements

City of Ghent website

The footer on the City of Ghent website should always be used as is. The elements, style, layout and content in the footer cannot be changed in anyway.

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

Other requirements:

  • The footer on the City of Ghent website and on pages within City of Ghent themes should always stay the same.
  • The footer always refers to the City of Ghent in a general level.
  • The components in the footer are fixed and must always be included.
  • The links in the footer always refer to the same web pages.
  • The social media links always refer to the social media pages of the City of Ghent in a general level.
  • The language button that opens a popup with links to the other language versions must always be included.

Separate websites

  • The footer on a separate website should always stay the same within the separate website.
  • The footer always refers to the City of Ghent in a general level.
  • The components in the footer are fixed and must always be included.
    • The only exceptions are:
      • The useful links. There can be more or less of them.
      • The chat function (“Chat with Gentinfo”) can be omitted. This is a functional decision specific for the separate website.
      • The language button that opens the popup with links to the other language versions can be omitted if this is not necessary or not applicable for the separate website.
        • In the popup with links to the other language versions, there can also be more or less language versions depending on which languages are or aren’t supported by the separate website.
    • The postal address, Gentinfo contact information, social media links and mention of Digipolis cannot be altered, this should stay the same als on the City of Ghent website and City of Ghent themes.
  • The links in the footer always refer to the same web pages.
  • The social media links always refer to the social media pages of the City of Ghent in a general level.

Usage

  • 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">
      <div class="footer--column">
        {% include '@gentinfo-island' %}
      </div>
      <div class="footer--column">
        {% include '@disclaimer-block' %}
      </div>
      <div class="footer--column">
        {% include '@post-address-block' %}
      </div>
    </div>
  </div>
  <div class="footer-bottom content-container">
    <div class="footer--column">
      {% include '@partnership-block' %}
    </div>
    <div class="footer--column">
      {% include '@social-media-block' %}
    </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">
                        <h2 class="visually-hidden">Gentinfo</h2>

                        <img src="../../styleguide/img/svg/gentinfo-logo.svg" alt="Gentinfo" class="gentinfo-logo" />

                        <p class="">Gentinfo is available from Monday till Saturday from 08:00 till 19:00</p>

                        <ul class="icon-list ">
                            <li><i class="icon-phone" aria-hidden="true"></i><a href="tel:+32 9 210 10 10" alt="Gentinfo tel link">09 210 10 10</a></li>
                            <li><i class="icon-envelope" aria-hidden="true"></i><a href="mailto:gentinfo@stad.gent" alt="Gentinfo mail link">Gentinfo@stad.gent</a></li>
                            <li><i class="icon-document" aria-hidden="true"></i><a href="#">Contactformulier</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">
                <div class="dg-block-disclaimer">
                    <h2>Useful links</h2>

                    <ul class="">
                        <li><a href='javascript:(void);'>Vacancies</a></li>
                        <li><a href='javascript:(void);'>City plan</a></li>
                        <li><a href='https://persruimte.stad.gent'>Press room City of Ghent</a></li>
                        <li><a href='javascript:(void);'>Legal information and privacy</a></li>
                        <li><a href='https://www.example.com'>Another link</a></li>
                    </ul>

                </div>
            </div>
            <div class="footer--column">
                <div class="dg-block-post-address">
                    <h2>Address</h2>
                    <address>
                        City of Ghent<br />
                        Botermarkt 1<br />
                        9000 Ghent
                    </address>
                </div>
            </div>
        </div>
    </div>
    <div class="footer-bottom content-container">
        <div class="footer--column">
            <div class="db-block-partnership">
                <p class="">In cooperation with Digipolis</p>
                <i aria-hidden="true" class="icon-digipolis"></i>
            </div>
        </div>
        <div class="footer--column">
            <div class="dg-blocks-social">
                <span>Volg Stad Gent op sociale media</span>
                <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>
</section>
/* No context defined for this component. */
  • Content:
    // General footer styling.
    .footer {
      margin-top: 4rem;
    
      .footer-top {
        @include theme('background-color', 'color-primary--lighten-5', 'footer-background-color');
    
        width: calc(100% + 2 * #{$gutter-width});
        margin-right: -$gutter-width;
        margin-left: -$gutter-width;
    
        > .content-container {
          display: flex;
          flex-wrap: wrap;
          max-width: calc(#{$bp-max-content} + 54px);
          margin-bottom: 1rem;
          padding: 0 $gutter-width 1.5rem;
    
          @include desktop {
            padding-top: 4rem;
            padding-bottom: 4rem;
          }
    
          @media (min-width: $bp-max-content + 54px) {
            max-width: $bp-max-content;
            padding: 4rem 0;
          }
        }
    
        .footer--column {
          width: 100%;
    
          @include phablet {
            flex: 1 0 auto;
            width: span(6 of 12);
          }
    
          @include desktop {
            width: span(2 of 12);
          }
    
          &:nth-of-type(3) {
            display: flex;
    
            @include desktop {
              justify-content: center;
              width: span(2 of 12);
            }
          }
    
          &:first-of-type {
            width: 100%;
    
            @include phablet {
              width: span(12 of 12);
              margin-top: 1.2rem;
              margin-bottom: .4rem;
            }
    
            @include desktop {
              order: 1;
              width: span(7 of 12);
              margin-top: 0;
            }
          }
        }
      }
    
      .footer-bottom {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        margin-bottom: .8rem;
        overflow: hidden;
    
        @include desktop {
          flex-wrap: nowrap;
        }
    
        .footer--column {
          width: 100%;
          line-height: 1rem;
    
          // Left column.
          &:first-child {
            order: 2;
    
            @include desktop {
              order: 1;
              width: span(4 of 12);
            }
          }
    
          // Right column.
          &:last-child {
            order: 1;
            margin-bottom: 1.8rem;
    
            @include phablet {
              margin-bottom: 0;
            }
    
            @include desktop {
              width: span(8 of 12);
            }
          }
        }
      }
    
      .dg-block-post-address,
      .dg-block-disclaimer {
        margin-top: 2.2rem;
        margin-left: 1.2rem;
    
        @include desktop {
          margin-left: 0;
        }
      }
    
      .dg-blocks-social,
      .db-block-partnership {
        height: 2rem;
    
        @include phablet {
          margin-bottom: .4rem;
        }
      }
    
      .db-block-partnership {
        justify-content: center;
        width: 100%;
    
        @include desktop {
          justify-content: flex-start;
        }
      }
    
      ///
      /// External links other than group Ghent get an indicator.
      ///
      a {
        @extend %a-remove-indicator;
      }
    }
    
  • URL: /components/raw/footer/_footer.scss
  • Filesystem Path: components/41-organisms/footer/_footer.scss
  • Size: 2.6 KB