Skip to content

Commit 29a89e7

Browse files
committed
Removing main menu
1 parent 32d2d86 commit 29a89e7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1848
-1375
lines changed

_data/sites.json

Lines changed: 578 additions & 6 deletions
Large diffs are not rendered by default.

_data/templates.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -289,6 +289,16 @@
289289
"title": "Accueil - Canada.ca",
290290
"language": "fr",
291291
"path": "home-fr.html"
292+
},
293+
{
294+
"title": "Home with contextual Sign in button - Canada.ca",
295+
"language": "en",
296+
"path": "home-auth-en.html"
297+
},
298+
{
299+
"title": "Accueil avec bouton contextuel « Se connecter » - Canada.ca",
300+
"language": "fr",
301+
"path": "home-auth-fr.html"
292302
}
293303
],
294304
"docs": [
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<nav id="wb-bc" property="breadcrumb">
2+
<h2>You are here:</h2>
3+
<div class="container">
4+
<ol class="breadcrumb" typeof="BreadcrumbList">
5+
<li property="itemListElement" typeof="ListItem">
6+
<a property="item" typeof="WebPage" href="https://www.canada.ca/en.html">
7+
<span property="name">Canada.ca</span>
8+
</a>
9+
<meta property="position" content="1">
10+
</li>
11+
<li property="itemListElement" typeof="ListItem">
12+
<a property="item" typeof="WebPage" href="https://wet-boew.github.io/GCWeb/index-en.html">
13+
<span property="name">GCWeb</span>
14+
</a>
15+
<meta property="position" content="2">
16+
</li>
17+
</ol>
18+
</div>
19+
</nav>
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<nav id="wb-bc" property="breadcrumb">
2+
<h2>Vous êtes ici :</h2>
3+
<div class="container">
4+
<ol class="breadcrumb" typeof="BreadcrumbList">
5+
<li property="itemListElement" typeof="ListItem">
6+
<a property="item" typeof="WebPage" href="https://www.canada.ca/fr.html">
7+
<span property="name">Canada.ca</span>
8+
</a>
9+
<meta property="position" content="1">
10+
</li>
11+
<li property="itemListElement" typeof="ListItem">
12+
<a property="item" typeof="WebPage" href="https://wet-boew.github.io/GCWeb/index-fr.html">
13+
<span property="name">GCWeb</span>
14+
</a>
15+
<meta property="position" content="2">
16+
</li>
17+
</ol>
18+
</div>
19+
</nav>

sites/authentication/_base.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
*/
44

55
#wb-so {
6+
flex: 0 0 auto;
67

78
.btn {
89
border-radius: 0px;
9-
margin-top: 5px;
1010
}
1111

1212
a.btn-primary:hover {

sites/authentication/contextual-signin-en.html

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -18,16 +18,14 @@
1818
<div class="wb-prettify all-pre hide"></div>
1919

2020
<h2>Expected output code</h2>
21-
<pre><code>&lt;div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"&gt;
22-
&lt;section id="wb-so"&gt;
23-
&lt;h2 class="wb-inv"&gt;Sign in&lt;/h2&gt;
24-
&lt;a class="btn btn-primary" href="https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html"&gt;Sign in&lt;/a&gt;
25-
&lt;/section&gt;
26-
&lt;/div&gt;</code></pre>
21+
<pre><code>&lt;section id="wb-so"&gt;
22+
&lt;h2 class="wb-inv"&gt;Sign in&lt;/h2&gt;
23+
&lt;a class="btn btn-primary" href="https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html"&gt;Sign in&lt;/a&gt;
24+
&lt;/section&gt;</code></pre>
2725

2826
<h2>GCWeb Jekyll - Front matter example</h2>
2927
<pre><code>"auth": {
30-
"type": "contextual",
31-
"link": "https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html",
32-
"label": "Sign in"
33-
}</code></pre>
28+
"type": "contextual",
29+
"link": "https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html",
30+
"label": "Sign in"
31+
}</code></pre>

sites/authentication/contextual-signin-fr.html

Lines changed: 9 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,17 +18,15 @@
1818
<div class="wb-prettify all-pre hide"></div>
1919

2020
<h2>Code source attendu</h2>
21-
<pre><code>&lt;div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"&gt;
22-
&lt;section id="wb-so"&gt;
23-
&lt;h2 class="wb-inv"&gt;Se connecter&lt;/h2&gt;
24-
&lt;a class="btn btn-primary" href="https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html"&gt;Se connecter
25-
&lt;/a&gt;
26-
&lt;/section&gt;
27-
&lt;/div&gt;</code></pre>
21+
<pre><code>&lt;section id="wb-so"&gt;
22+
&lt;h2 class="wb-inv"&gt;Se connecter&lt;/h2&gt;
23+
&lt;a class="btn btn-primary" href="https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html"&gt;Se connecter
24+
&lt;/a&gt;
25+
&lt;/section&gt;</code></pre>
2826

2927
<h2>Exemple de l'initialisation pour GCWeb Jekyll</h2>
3028
<pre><code>"auth": {
31-
"type": "contextual",
32-
"link": "https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html"
33-
"label": "Se connecter"
34-
}</code></pre>
29+
"type": "contextual",
30+
"link": "https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html"
31+
"label": "Se connecter"
32+
}</code></pre>

sites/authentication/contextual-signin-label-extended-en.html

Lines changed: 11 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -19,19 +19,17 @@
1919
<div class="wb-prettify all-pre hide"></div>
2020

2121
<h2>Expected output code</h2>
22-
<pre><code>&lt;div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"&gt;
23-
&lt;section id="wb-so"&gt;
24-
&lt;h2 class="wb-inv"&gt;Sign in&lt;/h2&gt;
25-
&lt;a class="btn btn-primary" href="https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html"&gt;&lt;span class="visible-xs"&gt;Sign in&lt;/span&gt;
26-
&lt;span class="hidden-xs"&gt;Sign in to [account name]&lt;/span&gt;
27-
&lt;/a&gt;
28-
&lt;/section&gt;
29-
&lt;/div&gt;</code></pre>
22+
<pre><code>&lt;section id="wb-so"&gt;
23+
&lt;h2 class="wb-inv"&gt;Sign in&lt;/h2&gt;
24+
&lt;a class="btn btn-primary" href="https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html"&gt;&lt;span class="visible-xs"&gt;Sign in&lt;/span&gt;
25+
&lt;span class="hidden-xs"&gt;Sign in to [account name]&lt;/span&gt;
26+
&lt;/a&gt;
27+
&lt;/section&gt;</code></pre>
3028

3129
<h2>GCWeb Jekyll - Front matter example</h2>
3230
<pre><code>"auth": {
33-
"type": "contextual",
34-
"link": "https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html",
35-
"label": "Sign in",
36-
"labelExtended": "Sign in to [account name]"
37-
}</code></pre>
31+
"type": "contextual",
32+
"link": "https://www.canada.ca/en/revenue-agency/services/e-services/e-services-individuals/account-individuals.html",
33+
"label": "Sign in",
34+
"labelExtended": "Sign in to [account name]"
35+
}</code></pre>

sites/authentication/contextual-signin-label-extended-fr.html

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,18 +19,16 @@
1919
<div class="wb-prettify all-pre hide"></div>
2020

2121
<h2>Code source attendu</h2>
22-
<pre><code>&lt;div class="col-xs-5 col-xs-offset-7 col-md-offset-0 col-md-4"&gt;
23-
&lt;section id="wb-so"&gt;
24-
&lt;h2 class="wb-inv"&gt;Se connecter&lt;/h2&gt;
25-
&lt;a class="btn btn-primary" href="https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html"&gt;&lt;span class="visible-xs"&gt;Se connecter&lt;/span&gt;
26-
&lt;span class="hidden-xs"&gt;Se connecter à [compte]&lt;/span&gt;&lt;/a&gt;
27-
&lt;/section&gt;
28-
&lt;/div&gt;</code></pre>
22+
<pre><code>&lt;section id="wb-so"&gt;
23+
&lt;h2 class="wb-inv"&gt;Se connecter&lt;/h2&gt;
24+
&lt;a class="btn btn-primary" href="https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html"&gt;&lt;span class="visible-xs"&gt;Se connecter&lt;/span&gt;
25+
&lt;span class="hidden-xs"&gt;Se connecter à [compte]&lt;/span&gt;&lt;/a&gt;
26+
&lt;/section&gt;</code></pre>
2927

3028
<h2>Exemple de l'initialisation pour GCWeb Jekyll</h2>
3129
<pre><code>"auth": {
32-
"type": "contextual",
33-
"link": "https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html",
34-
"label": "Se connecter",
35-
"labelExtended": "Se connecter à [compte]"
36-
}</code></pre>
30+
"type": "contextual",
31+
"link": "https://www.canada.ca/fr/agence-revenu/services/services-electroniques/services-electroniques-particuliers/dossier-particuliers.html",
32+
"label": "Se connecter",
33+
"labelExtended": "Se connecter à [compte]"
34+
}</code></pre>

0 commit comments

Comments
 (0)