Skip to content

Commit

Permalink
Merge pull request #323 from canada-ca/contact-band
Browse files Browse the repository at this point in the history
Create contact-band.md
  • Loading branch information
jmealing authored Apr 18, 2024
2 parents ff6ae2a + c772e15 commit 13e604c
Show file tree
Hide file tree
Showing 5 changed files with 181 additions and 0 deletions.
181 changes: 181 additions & 0 deletions common-design-patterns/contact-band.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,181 @@
---
altLangPage: https://conception.canada.ca/configurations-conception-communes/bande-de-coordonnees.html
date: null
dateModified: '2024-04-03'
description: Guidance about using the contact us band on Canada.ca
title: Contact us band
---
<p><strong>Last updated</strong>: {{ page.dateModified }}</p>
<p>The Contact us band provides relevant contact information. The band runs across the full width of the page on which it appears.</p>
<div class="pattern-demo mrgn-tp-lg mrgn-bttm-xl"><img src="../images/contact-band-en.png" class="img-responsive" alt="" /></div>
<section>
<h2>On this page</h2>
<ul>
<li><a href="#use">When to use</a></li>
<li><a href="#avoid">What to avoid</a></li>
<li><a href="#design">Content and design</a></li>
<li><a href="#implement">How to implement</a></li>
<li><a href="#research">Research and rationale</a></li>
<li><a href="#latest">Latest changes</a></li>
</ul>
</section>
<section>
<h2 id="use">When to use</h2>
<p>Only use the contact us band on pages where contact information is a top task (ie. on an institutional landing page). When contact information is a secondary task, consider using a contextual footer instead.</p>
<p>Use the contact us band on pages to:</p>
<ul>
<li>present contact information consistently in a variety of contexts</li>
<li>provide access to multiple contact options</li>
</ul>
</section>
<section>
<h2 id="avoid">What to avoid</h2>
<p>Don’t add borders to this band.</p>
<p>Don’t add non-contact links in a contact band.</p>
</section>
<section>
<h2 id="design">Content and design</h2>
<p>Find content and design specifications and visual examples.</p>
<h3>Content specifications</h3>
<p>Use a descriptive heading that starts with ‘Contact’ or ‘Contacts’.</p>
<p>Use descriptive link text so it's clear what contact information the user will be brought to.</p>
<p>The optimal number of links is three.</p>
<p>If you are using a contextual footer that contains the same contact links, ensure you use the same link labels.</p>
<h3>Design specifications</h3>
<ul>
<li>
Text uses standard Canada.ca styles:
<ul>
<li><a href="https://design.canada.ca/styles/typography.html">Typography</a></li>
<li><a href="https://design.canada.ca/styles/colours.html">Colours</a></li>
<li>Heading is coded as an H2 but styled as an H3</li>
<li>Make the links bold and arrange them in a horizontal no-bullet list</li>
</ul>
</li>
<li>
Background:
<ul>
<li>Default colour: #f5f5f5</li>
<li>
Padding:
<ul>
<li>Bottom: 15px</li>
<li>Top: 15px</li>
</ul>
</li>
</ul>
</li>
<li>
Layout:
<ul>
<li>If you have multiple sets of links to present on the same page, you can use more than one contact us band on the page in alternating background colours of white and grey (zebra striping).</li>
</ul>
</li>
</ul>
<h3>Visual examples</h3>
<div class="pattern-demo mrgn-tp-md mrgn-bttm-md">
<figure class="mrgn-tp-md mrgn-bttm-lg">
<figcaption><b>Standard contact us band - large screen</b></figcaption>
<img src="../images/contact-band-en.png" class="img-responsive" alt="Contact us band for large screens. Text version below:" />
<details>
<summary class="wb-toggle" data-toggle='{"print":"on"}'>Image description: standard contact us band - large screen</summary>
<p>A horizontal grey band with a Contact us heading followed by three links in a single row. The first link is Contact [Institution], the following links are placeholders for top contact tasks.</p>
</details>
</figure>
</div>
<div class="pattern-demo mrgn-tp-md mrgn-bttm-md">
<figure class="mrgn-tp-md mrgn-bttm-lg">
<figcaption><b>Standard contact us band - small screen</b></figcaption>
<img src="../images/contact-band-sm-en.png" class="img-responsive" alt="Contact us band for small screens. Text version below:" />
<details>
<summary class="wb-toggle" data-toggle='{"print":"on"}'>Image description: standard contact us band - small screen</summary>
<p>A single column with light grey shading in the background. A Contact us heading is followed by three links. The first link is Contact [Institution], the following links are placeholders for top contact tasks.</p>
</details>
</figure>
</div>
<div class="pattern-demo mrgn-tp-md mrgn-bttm-md">
<figure class="mrgn-tp-md mrgn-bttm-lg">
<figcaption><b>Multiple contact us bands - large screen</b></figcaption>
<img src="../images/contact-band-multi-en.png" class="img-responsive" alt="Multiple contact us bands for large screens. Text version below:" />
<details>
<summary class="wb-toggle" data-toggle='{"print":"on"}'>Image description: multiple contact us bands - large screen</summary>
<p>A horizontal white band with a Contacts for [subject] heading followed by six links. The links are presented in two rows with three links in each row.</p>
<p>Following the white band is a horizontal grey band with a Contacts for [subject] heading followed by six links. The links are presented in two rows with three links in each row.</p>
</details>
</figure>
</div>
<div class="pattern-demo mrgn-tp-md mrgn-bttm-md">
<figure class="mrgn-tp-md mrgn-bttm-lg">
<figcaption><b>Multiple contact us bands - small screen</b></figcaption>
<img src="../images/contact-band-multi-sm-en.png" class="img-responsive" alt="Multiple contact us bands for small screens. Text version below:" />
<details>
<summary class="wb-toggle" data-toggle='{"print":"on"}'>Image description: multiple contact us bands - small screen </summary>
<p>A single column with white shading contains a Contacts for [subject] heading followed by six links.</p>
<p>Following that column is a single column with grey shading contains a Contacts for [subject] heading followed by six links.</p>
</details>
</figure>
</div>
</section>
<section>
<h2 id="implement">How to implement</h2>
<p>Find working examples and code for implementing the contact us band pattern.</p>
<h3>GCweb (WET) theme implementation reference</h3>
<p>The implementation reference includes how to configure elements of the design system.</p>
<ul>
<li><a href="https://wet-boew.github.io/GCWeb/docs/implementing-en.html">Quick implementation guide - GCWeb theme</a></li>
</ul>
<h3>Implementations</h3>
<p>Determine what best suits the type of page you're creating.</p>
<div class="row">
<div class="col-md-8">
<div class="wb-tabs mrgn-tp-lg">
<div class="tabpanels">
<details id="004" open="open">
<summary><strong>GC-AEM</strong></summary>
<p class="mrgn-tp-lg">For the Government of Canada Adobe Experience Manager (AEM):</p>
<ul>
<li><a href="https://www.gcpedia.gc.ca/wiki/AEM_GC-specific_Documentation_6.5">AEM/Managed Web Service documentation (GCPedia link - only available on the Government of Canada network)</a></li>
</ul>
</details>
<details id="005">
<summary><strong>CDTS</strong></summary>
<p class="mrgn-tp-lg">For the Centrally Deployed Templates Solution (CDTS):</p>
<ul>
<li><a href="https://cenw-wscoe.github.io/sgdc-cdts/docs/index-en.html">CDTS documentation</a></li>
</ul>
</details>
<details id="006">
<summary><strong>Drupal WxT</strong></summary>
<p class="mrgn-tp-lg">For Drupal WxT:</p>
<ul>
<li><a href="https://drupalwxt.github.io/">Drupal WxT documentation</a></li>
</ul>
</details>
</div>
</div>
</div>
</div>
</section>
<section>
<h2 id="research">Research and rationale</h2>
<p>Consult research findings and policy rationale.</p>
<h3>Research findings</h3>
<p>
Canada Revenue Agency and the Digital Transformation Office developed contact bands as part of the optimization project for CRA contacts. We found contact bands to be useful for providing access to specific contact information for
different services.
</p>
<h3>Policy rationale</h3>
<p>The Contact us band is required in the following mandatory templates:</p>
<ul>
<li><a href="https://design.canada.ca/mandatory-templates/institutional-profile-pages.html">Institutional landing page</a></li>
</ul>
</section>
<section>
<h2 id="latest">Latest changes</h2>
<dl class="dl-horizontal">
<dt>
<time datetime="2024-04-03" class="link-muted">2024-04-03</time>
</dt>
<dd>Updated the guidance to include content and design specifications, visual examples and implementation guidance</dd>
</dl>
</section>
Binary file added images/contact-band-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/contact-band-multi-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/contact-band-multi-sm-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/contact-band-sm-en.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 13e604c

Please sign in to comment.