-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
41 changed files
with
1,321 additions
and
363 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,5 @@ | ||
<div class="brand"> | ||
<a {% if page.url === '/' %}aria-current="page"{% endif %} rel="home" href="/"> | ||
{% include 'svg/logo.svg' %} | ||
{% include 'svg/logotype.svg' %} | ||
<span class="screen-reader-only">We Count</span> | ||
</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,31 +1,33 @@ | ||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> | ||
<symbol id="menu-icon" viewBox="0 0 1536 1536"> | ||
{% include 'svg/menu.svg' %} | ||
</symbol> | ||
<symbol id="search" viewBox="0 0 21 22"> | ||
{% include 'svg/search.svg' %} | ||
</symbol> | ||
</svg> | ||
<div class="nav-container"> | ||
<svg xmlns="http://www.w3.org/2000/svg" style="display: none;"> | ||
<symbol id="menu-icon" viewBox="0 0 42 27"> | ||
{% include 'svg/menu.svg' %} | ||
</symbol> | ||
<symbol id="menu-close" viewBox="0 0 34 35"> | ||
{% include 'svg/close.svg' %} | ||
</symbol> | ||
<symbol id="search" viewBox="0 0 21 22"> | ||
{% include 'svg/search.svg' %} | ||
</symbol> | ||
</svg> | ||
|
||
{% set placeholderForSearch = "Search..." %} | ||
{% set ariaLabelForSearch = "Enter keywords for a site-wide search" %} | ||
|
||
<div class="nav-wideScreen"> | ||
{% include 'components/nav-menu.njk' %} | ||
<form method="get" action="/search/"> | ||
{% include 'components/search-container.njk' %} | ||
</form> | ||
</div> | ||
|
||
<div class="nav-smallScreen"> | ||
<nav class="starter-nav"> | ||
<button id="menuToggleButton" aria-expanded="false"> | ||
<svg><use xlink:href="#menu-icon" /></svg> <span>Menu</span><span class="screen-reader-only">Menu</span> | ||
</button> | ||
{% set placeholderForSearch = "Search..." %} | ||
{% set ariaLabelForSearch = "Enter keywords for a site-wide search" %} | ||
<div class="nav-mobile-layout-wrapped"> | ||
{% include 'components/brand.njk' %} | ||
<a class="header-recount" href="/recount">Join the conversation</a> | ||
</div> | ||
<div class="nav-mobile-layout-wrapped"> | ||
<div class="starter-nav"> | ||
<button id="menuToggleButton" aria-expanded="false" aria-describedby="navigation-menu"> | ||
<svg class="menu-open" aria-hidden="true"><use xlink:href="#menu-icon" /></svg> | ||
<svg class="menu-close" aria-hidden="true"><use xlink:href="#menu-close" /></svg> | ||
</button> | ||
<div id="navigation-menu">MENU</div> | ||
</div> | ||
<form method="get" action="/search/"> | ||
{% include 'components/search-container.njk' %} | ||
{% include 'components/search-container.njk' %} | ||
</form> | ||
</nav> | ||
|
||
{% include 'components/nav-menu.njk' %} | ||
</div> | ||
</div> | ||
{% include 'components/nav-menu.njk' %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
<div class="idrc-indicator-wrapper"> | ||
<div class="idrc-indicator"> | ||
<div class="idrc-indicator-element"> | ||
<span>An <a href="https://idrc.ocadu.ca/">Inclusive Design Research Centre</a> project</span> | ||
<span><em>We Count</em>: Artificial Intelligence Inclusion Projects from {% include "svg/idrc-logo.svg" %} <a href="https://idrc.ocadu.ca/">Inclusive Design Research Centre</a> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,15 @@ | ||
<nav class="primary-nav" aria-label="Primary Navigation"> | ||
{% set navItems = collections.pages | eleventyNavigation %} | ||
{%- for item in navItems %} | ||
{%- if (item.order > 0) %} | ||
<a {% if page.url === item.url %}aria-current="page" {% endif %}href="{{ item.url }}" {% if item.locale and item.locale !== "en-CA" %}hreflang="{{ item.locale }}" lang="{{ item.locale }}"{% endif %}>{{ item.key }}</a> | ||
{%- endif %} | ||
{%- endfor %} | ||
</nav> | ||
<div class="primary-nav"> | ||
<nav aria-label="Primary Navigation"> | ||
{% set navItems = collections.pages | eleventyNavigation %} | ||
{%- for item in navItems %} | ||
{%- if (item.order > 0) %} | ||
<a {% if page.url === item.url %}aria-current="page" {% endif %}href="{{ item.url }}" {% if item.locale and item.locale !== "en-CA" %}hreflang="{{ item.locale }}" lang="{{ item.locale }}"{% endif %}>{{ item.key }}</a> | ||
{%- endif %} | ||
{%- endfor %} | ||
</nav> | ||
<div> | ||
<form method="get" action="/search/"> | ||
{% include 'components/search-container.njk' %} | ||
</form> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
<div class="search-container"> | ||
<svg><use xlink:href="#search" /></svg> | ||
<input name="s" type="search" placeholder="{{ placeholderForSearch }}" aria-label="{{ ariaLabelForSearch }}"> | ||
<button class="search-button"> | ||
<svg aria-label="search" class="search-button-target" role="button" type="submit" tabindex="0"><use xlink:href="#search" /></svg> | ||
</button> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
<div class="subscribe"> | ||
<p class="subscribe-text">Subscribe now to stay up-to-date with We Count's activities and the latest news from the field.</p> | ||
<a class="subscribe-link" href="http://eepurl.com/hBMRev">Click to Subscribe</a> | ||
<hr/> | ||
<p class="subscribe-text">Get <em><b>We Count Recount newsletter</b></em> and stay up-to-date with our activities and news from the field — sent directly to your inbox.</p> | ||
<a class="subscribe-link" href="http://eepurl.com/hBMRev">Click to Subscribe</a> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.