City of Ghent Style Guide

Gentinfo

Gentinfo is the central point of contact for information about the city council and the city of Ghent.

When to use this component

Use the Gentinfo component to show Gentinfo contact information as a call-to-action on a page when it is relevant to the page and when a separate call-to-action for Gentinfo is useful for users.

The Gentinfo component should always be used as is. The elements, style, layout and content in the Gentinfo component cannot be changed in any way.

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

When not to use this component

  • Do not use the Gentinfo component to present other content than the Gentinfo contact information.
  • Do not use the Gentinfo component to present other call-to-actions. For other call-to-actions, use the call to action component.
  • Do not use the Gentinfo component when it is not relevant for the page.
  • Do not use the Gentinfo component at the bottom of the page right above the theme footer or the footer. The footer already includes the Gentinfo contact information also, therefore, placing the Gentinfo component right above the theme footer or the footer is unneccessary.

Note that the contact information of Gentinfo is also always included in the footer.

How it works

The Gentinfo component contains the following elements:

  • A spot illustration (fixed)
  • The Gentinfo typologo (fixed)
  • Introduction to Gentinfo (fixed)
  • Sentence about Gentinfo’s availability (fixed)
  • Gentinfo telephone number with tel-link (fixed)
  • Gentinfo e-mail address with mailto-link (fixed)
  • Link to the Gentinfo contact form (fixed)
{# Variables #}
{% if paragraphs is not defined %}
  {% set paragraphs = [
    'Do you have any questions, complaints, suggestions, notifications etc. concerning the City of Ghent? If this is the case, please contact Gentinfo.',
    'We can be reached from Monday to Saturday, from 8.00 am to 7.00 pm.'
  ] %}
{% endif %}

{% if listItems is not defined %}
  {% set listItems = [
    '<i aria-hidden="true" class="icon-phone"></i><a href="tel:092101010">09 210 10 10</a>',
    '<i aria-hidden="true" class="icon-envelope"></i><a href="mailto:gentinfo@stad.gent">Gentinfo@stad.gent</a>',
    '<i aria-hidden="true" class="icon-document"></i><a href="#">Contact form</a>'
  ] %}
{% endif %}

{# Component #}
<div class="gentinfo {{ modifier }}">
  <div class="gentinfo-content">
    <h3 class="gentinfo-title">Gent<strong>info</strong></h3>

    {% include '@paragraph' with {
      text: paragraphs[0]
    } %}

    {% include '@paragraph' with {
      text: paragraphs[1]
    } %}

    {% include '@list' with {
      'type': 'icon-list',
      'modifier': 'inline',
      'icon_items': listItems
    }
    %}

  </div>
</div>
<!-- En -->
<div class="gentinfo ">
    <div class="gentinfo-content">
        <h3 class="gentinfo-title">Gent<strong>info</strong></h3>

        <p class="">Do you have any questions, complaints, suggestions, notifications etc. concerning the City of Ghent? If this is the case, please contact Gentinfo.</p>

        <p class="">We can be reached from Monday to Saturday, from 8.00 am to 7.00 pm.</p>

        <ul class="icon-list inline">
            <li><i aria-hidden="true" class="icon-phone"></i><a href="tel:092101010">09 210 10 10</a></li>
            <li><i aria-hidden="true" class="icon-envelope"></i><a href="mailto:gentinfo@stad.gent">Gentinfo@stad.gent</a></li>
            <li><i aria-hidden="true" class="icon-document"></i><a href="#">Contact form</a></li>
        </ul>

    </div>
</div>

<!-- Nl -->
<div class="gentinfo ">
    <div class="gentinfo-content">
        <h3 class="gentinfo-title">Gent<strong>info</strong></h3>

        <p class="">Gentinfo is hét centrale aanspreekpunt voor informatie over het stadsbestuur en de stadsdiensten. Heeft u vragen, klachten, suggesties, meldingen,… over de Stad Gent? Neem dan contact op met Gentinfo.</p>

        <p class="">Bereikbaar van maandag tot en met zaterdag van 8 tot 19 uur.</p>

        <ul class="icon-list inline">
            <li><i aria-hidden="true" class="icon-phone"></i><a href="tel:092101010">09 210 10 10</a></li>
            <li><i aria-hidden="true" class="icon-envelope"></i><a href="mailto:gentinfo@stad.gent">Gentinfo@stad.gent</a></li>
            <li><i aria-hidden="true" class="icon-document"></i><a href="#">Contactformulier</a></li>
        </ul>

    </div>
</div>

<!-- Fr -->
<div class="gentinfo ">
    <div class="gentinfo-content">
        <h3 class="gentinfo-title">Gent<strong>info</strong></h3>

        <p class="">Vous avez des questions, des réclamations, des suggestions, des signalements... à propos de la Ville de Gand? Prenez contact avec Info Gand.</p>

        <p class="">Joignable du lundi au samedi de 8 heures à 19 heures.</p>

        <ul class="icon-list inline">
            <li><i aria-hidden="true" class="icon-phone"></i><a href="tel:092101010">09 210 10 10</a></li>
            <li><i aria-hidden="true" class="icon-envelope"></i><a href="mailto:gentinfo@stad.gent">Gentinfo@stad.gent</a></li>
            <li><i aria-hidden="true" class="icon-document"></i><a href="#">Formulaire de contact</a></li>
        </ul>

    </div>
</div>

<!-- De -->
<div class="gentinfo ">
    <div class="gentinfo-content">
        <h3 class="gentinfo-title">Gent<strong>info</strong></h3>

        <p class="">Haben Sie Fragen, Beschwerden, Vorschläge, Meldungen... über die Stadt Gent? Nehmen Sie dann bitte mit Gentinfo Kontakt auf.</p>

        <p class="">Von Montag bis Samstag von 8 Uhr bis 19 Uhr erreichbar.</p>

        <ul class="icon-list inline">
            <li><i aria-hidden="true" class="icon-phone"></i><a href="tel:092101010">09 210 10 10</a></li>
            <li><i aria-hidden="true" class="icon-envelope"></i><a href="mailto:gentinfo@stad.gent">Gentinfo@stad.gent</a></li>
            <li><i aria-hidden="true" class="icon-document"></i><a href="#">Kontaktformular</a></li>
        </ul>

    </div>
</div>

/* En */
{
  "paragraphs": [
    "Do you have any questions, complaints, suggestions, notifications etc. concerning the City of Ghent? If this is the case, please contact Gentinfo.",
    "We can be reached from Monday to Saturday, from 8.00 am to 7.00 pm."
  ],
  "listItems": [
    "<i aria-hidden=\"true\" class=\"icon-phone\"></i><a href=\"tel:092101010\">09 210 10 10</a>",
    "<i aria-hidden=\"true\" class=\"icon-envelope\"></i><a href=\"mailto:gentinfo@stad.gent\">Gentinfo@stad.gent</a>",
    "<i aria-hidden=\"true\" class=\"icon-document\"></i><a href=\"#\">Contact form</a>"
  ]
}

/* Nl */
{
  "paragraphs": [
    "Gentinfo is hét centrale aanspreekpunt voor informatie over het stadsbestuur en de stadsdiensten. Heeft u vragen, klachten, suggesties, meldingen,… over de Stad Gent? Neem dan contact op met Gentinfo.",
    "Bereikbaar van maandag tot en met zaterdag van 8 tot 19 uur."
  ],
  "listItems": [
    "<i aria-hidden=\"true\" class=\"icon-phone\"></i><a href=\"tel:092101010\">09 210 10 10</a>",
    "<i aria-hidden=\"true\" class=\"icon-envelope\"></i><a href=\"mailto:gentinfo@stad.gent\">Gentinfo@stad.gent</a>",
    "<i aria-hidden=\"true\" class=\"icon-document\"></i><a href=\"#\">Contactformulier</a>"
  ]
}

/* Fr */
{
  "paragraphs": [
    "Vous avez des questions, des réclamations, des suggestions, des signalements... à propos de la Ville de Gand? Prenez contact avec Info Gand.",
    "Joignable du lundi au samedi de 8 heures à 19 heures."
  ],
  "listItems": [
    "<i aria-hidden=\"true\" class=\"icon-phone\"></i><a href=\"tel:092101010\">09 210 10 10</a>",
    "<i aria-hidden=\"true\" class=\"icon-envelope\"></i><a href=\"mailto:gentinfo@stad.gent\">Gentinfo@stad.gent</a>",
    "<i aria-hidden=\"true\" class=\"icon-document\"></i><a href=\"#\">Formulaire de contact</a>"
  ]
}

/* De */
{
  "paragraphs": [
    "Haben Sie Fragen, Beschwerden, Vorschläge, Meldungen... über die Stadt Gent? Nehmen Sie dann bitte mit Gentinfo Kontakt auf.",
    "Von Montag bis Samstag von 8 Uhr bis 19 Uhr erreichbar."
  ],
  "listItems": [
    "<i aria-hidden=\"true\" class=\"icon-phone\"></i><a href=\"tel:092101010\">09 210 10 10</a>",
    "<i aria-hidden=\"true\" class=\"icon-envelope\"></i><a href=\"mailto:gentinfo@stad.gent\">Gentinfo@stad.gent</a>",
    "<i aria-hidden=\"true\" class=\"icon-document\"></i><a href=\"#\">Kontaktformular</a>"
  ]
}

  • Content:
    @use "sass:math";
    
    $gentinfo-icon-size: 8rem;
    
    .gentinfo {
      @include theme('background-color', 'color-primary--lighten-5', 'gentinfo-background');
      margin: 3rem 0;
      padding: 2rem 1rem;
    
      .gentinfo-content {
        @include theme('background-color', 'color-secondary', 'gentinfo-content-background');
        @include theme-content('color-primary--lighten-5', 'gentinfo-content-shadow') {
          box-shadow: 0 8px 12px 0 $theme-color;
        }
    
        position: relative;
        max-width: $bp-max-content;
        min-height: $gentinfo-icon-size + 2rem;
        margin: 0 auto;
        padding: 1.2rem;
    
        &::before {
          @include spot-image('gentinfo', $gentinfo-icon-size);
          margin: 0 auto 1.5rem;
        }
    
        @include tablet {
          padding: 2.3rem 2.3rem 2.3rem 20rem;
    
          &::before {
            position: absolute;
            top: 50%;
            left: 10rem;
            margin-top: math.div($gentinfo-icon-size, -2);
            margin-bottom: 0;
            margin-left: math.div($gentinfo-icon-size, -2);
          }
        }
      }
    
      .gentinfo-title {
        font-size: 1.5rem;
        font-weight: 400;
      }
    
      .icon-list.inline {
        > li {
          margin-bottom: .5rem;
        }
      }
    }
    
  • URL: /components/raw/gentinfo/_gentinfo.scss
  • Filesystem Path: components/31-molecules/gentinfo/_gentinfo.scss
  • Size: 1.1 KB