Skip to content

Commit

Permalink
Content - Borders- Created example pages
Browse files Browse the repository at this point in the history
Merge pull request #2180 from ouafaaetta/releases

Release v13.3.1
  • Loading branch information
duboisp authored and SebastianBurke committed Jul 20, 2023
2 parents 2d7d8f2 + 9649cf0 commit e928e5a
Show file tree
Hide file tree
Showing 8 changed files with 233 additions and 10 deletions.
35 changes: 35 additions & 0 deletions _data/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,39 @@
]
}
}
,{
"@context": {
"@version": 1.1,
"dct": "http://purl.org/dc/terms/",
"title": { "@id": "dct:title", "@container": "@language" },
"description": { "@id": "dct:description", "@container": "@language" },
"modified": "dct:modified"
},
"title": {
"en": "Tables",
"fr": "Les Tables"
},
"description": {
"en": "Tables with custom styles",
"fr": "Tableaux avec des styles personalisés."
},
"modified": "2023-02-28",
"componentName": "tables",
"processing": "baseline",
"status": "stable",
"pages": {
"examples": [
{
"title": "Tables",
"language": "en",
"path": "table-en.html"
},
{
"title": "Tables",
"language": "fr",
"path": "table-fr.html"
}
]
}
}
]
77 changes: 77 additions & 0 deletions common/borders/borders-en.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
{
"title": "Borders",
"language": "en",
"altLangPage": "borders-fr.html",
"breadcrumbs":
[
{
"title": "GCWeb home",
"link": "https://wet-boew.github.io/themes-dist/GCWeb/index-en.html"
}
],
"secondlevel": false,
"dateModified": "2023-06-20",
"share": "true"
}
---

<h3>CSS Class</h3>
<dl class="dl-horizontal">
<dt><code>.brdr-left</code></dt>
<dd>Set a border to the left of the element</dd>
<dt><code>.brdr-tp</code></dt>
<dd>Set a border on top of the element</dd>
<dt><code>.brdr-rght</code></dt>
<dd>Set a border to the right of the element</dd>
<dt><code>.brdr-bttm</code></dt>
<dd>Set a border below the element</dd>
<dt><code>.brdr-0</code></dt>
<dd>Remove borders</dd>
<dt><code>.brdr-rds</code></dt>
<dd>Remove border radius</dd>
</dl>
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<h3 class="mrgn-tp-0">Appearance</h3>
<p class="brdr-lft">
Example 1
</p>
<p class="brdr-tp">
Example 2
</p>
<p class="brdr-rght">
Example 3
</p>
<p class="brdr-bttm">
Example 4
</p>
<p class="brdr-0">
Example 5
</p>
<p class="brdr-rds-0">
Example 6
</p>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<h3 class="mrgn-tp-0">Code</h3>
<pre><code>// Example 1:
&lt;p <strong>class="brdr-lft"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Example 2:
&lt;p <strong>class="brdr-tp"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Example 3:
&lt;p <strong>class="brdr-rght"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Example 4:
&lt;p <strong>class="brdr-bttm"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Example 5:
&lt;p <strong>class="brdr-0"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Example 6:
&lt;p <strong>class="brdr-rds-0"</strong>&gt;...&lt;/p&gt;</code></pre>
</div>
</div>
</div>
</div>
77 changes: 77 additions & 0 deletions common/borders/borders-fr.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,77 @@
---
{
"title": "Bordures",
"language": "fr",
"altLangPage": "borders-en.html",
"breadcrumbs":
[
{
"title": "Accueil GCWeb",
"link": "https://wet-boew.github.io/themes-dist/GCWeb/index-fr.html"
}
],
"secondlevel": false,
"dateModified": "2023-06-20",
"share": "true"
}
---

<h3>Classe CSS</h3>
<dl class="dl-horizontal">
<dt><code>.brdr-left</code></dt>
<dd>Établir une bordure à gauche de l'élément</dd>
<dt><code>.brdr-tp</code></dt>
<dd>Établir une bordure en haut de l'élément</dd>
<dt><code>.brdr-rght</code></dt>
<dd>Établir une bordure à droite de l'élément</dd>
<dt><code>.brdr-bttm</code></dt>
<dd>Établir une bordure en bas de l'élément</dd>
<dt><code>.brdr-0</code></dt>
<dd>Supprimer les bordures</dd>
<dt><code>.brdr-rds</code></dt>
<dd>Supprimer le rayon de la bordure</dd>
</dl>
<div class="row">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-body">
<h3 class="mrgn-tp-0">Apparence</h3>
<p class="brdr-lft">
Exemple 1
</p>
<p class="brdr-tp">
Exemple 2
</p>
<p class="brdr-rght">
Exemple 3
</p>
<p class="brdr-bttm">
Exemple 4
</p>
<p class="brdr-0">
Exemple 5
</p>
<p class="brdr-rds-0">
Exemple 6
</p>
</div>
</div>
<div class="panel panel-default">
<div class="panel-body">
<h3 class="mrgn-tp-0">Code</h3>
<pre><code>// Exemple 1 :
&lt;p <strong>class="brdr-lft"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Exemple 2 :
&lt;p <strong>class="brdr-tp"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Exemple 3 :
&lt;p <strong>class="brdr-rght"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Exemple 4 :
&lt;p <strong>class="brdr-bttm"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Exemple 5 :
&lt;p <strong>class="brdr-0"</strong>&gt;...&lt;/p&gt;</code></pre>
<pre><code>// Exemple 6 :
&lt;p <strong>class="brdr-rds-0"</strong>&gt;...&lt;/p&gt;</code></pre>
</div>
</div>
</div>
</div>
34 changes: 34 additions & 0 deletions common/borders/index.json-ld
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
{
"@context": {
"@version": 1.1,
"dct": "http://purl.org/dc/terms/",
"title": { "@id": "dct:title", "@container": "@language" },
"description": { "@id": "dct:description", "@container": "@language" },
"modified": "dct:modified"
},
"title": {
"en": "Borders",
"fr": "Bordures"
},
"description": {
"en": "Borders to seperate components",
"fr": "Ajout de bordure sur des éléments"
},
"modified": "2023-07-06",
"componentName": "borders",
"status": "stable",
"pages": {
"docs": [
{
"title": "Borders",
"language": "en",
"path": "borders-en.html"
},
{
"title": "Bordures",
"language": "fr",
"path": "borders-fr.html"
}
]
}
}
6 changes: 3 additions & 3 deletions index-en.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GCWeb, the WET-BOEW Canada.ca theme
altLangPage: index-fr.html
dateModified: 2023-05-30
dateModified: 2023-06-29
description: "Home page describing all the components of the Canada.ca theme, named GCWeb."
layout: no-container
language: en
Expand All @@ -18,7 +18,7 @@ css:
<p>The page templates and design patterns below comprise a reference implementation of the <a href="https://design.canada.ca">Canada.ca design system</a>, including the mandatory requirement of the Content and Information Architecture (C&amp;IA) Specification. Government of Canada departments and agencies can contribute additional patterns and templates via <a href="https://github.com/wet-boew/GCWeb">GCWeb github repository</a>.</p>
</div>
<div class="col-xs-12 col-md-auto pull-right">
<p><a href="https://github.com/wet-boew/GCWeb/archive/v13.3.0.zip" class="btn btn-primary">Download GCWeb theme <strong>v13.3.0</strong></a><br />
<p><a href="https://github.com/wet-boew/GCWeb/archive/v13.3.1.zip" class="btn btn-primary">Download GCWeb theme <strong>v13.3.1</strong></a><br />
<small>(<time>{{ page.dateModified | date: '%F' }}</time> - <a href="https://github.com/wet-boew/gcweb/releases/latest">Release notes</a>)</small></p>
</div>
</div>
Expand Down Expand Up @@ -454,7 +454,7 @@ css:
{% assign examples = pgGroup[1] %}
{% for example in examples %}
{% if example.path %}
<li><a href="commun/
<li><a href="common/
{%- if item.componentName -%}
{{ item.componentName }}/
{%- endif -%}
Expand Down
4 changes: 2 additions & 2 deletions index-fr.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: GCWeb, le thème WET-BOEW de Canada.ca
altLangPage: index-en.html
dateModified: 2023-05-30
dateModified: 2023-06-29
description: "Page d'accueil décrivant l'ensemble des composants du thème de Canada.ca, nommé GCWeb."
layout: no-container
language: fr
Expand All @@ -18,7 +18,7 @@ css:
<p>Les gabarits et les conceptions communes si dessous sont une référence d'implémentation du <a href="https://conception.canada.ca">Système de conception de Canada.ca</a>, incluant les exigences obligatoire de la spécifications du contenu et de l’architecture de l'information (C&amp;AI) pour Canada.ca. Les ministères et organisme du gouvernement du Canada peuvent y contribuer en publiant leur modèle et leur conception commune via le <a href="https://github.com/wet-boew/GCWeb">dépôt github de GCWeb</a>.</p>
</div>
<div class="col-xs-12 col-md-auto pull-right">
<p><a href="https://github.com/wet-boew/GCWeb/archive/v13.3.0.zip" class="btn btn-primary">Télécharger le thème <strong>GCWeb v13.3.0</strong></a><br />
<p><a href="https://github.com/wet-boew/GCWeb/archive/v13.3.1.zip" class="btn btn-primary">Télécharger le thème <strong>GCWeb v13.3.1</strong></a><br />
<small>(<time>{{ page.dateModified | date: '%F' }}</time> - <a href="https://github.com/wet-boew/gcweb/releases/latest">Note de version</a>)</small></p>
</div>
</div>
Expand Down
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "GCWeb",
"version": "13.3.0",
"version": "13.3.1",
"description": "Web Experience Toolkit (WET): Canada.ca Theme Reorg",
"main": "index.html",
"scripts": {
Expand All @@ -13,7 +13,7 @@
"license": "MIT",
"dependencies": {
"bootstrap-sass": "3.4.1",
"wet-boew": "github:wet-boew/wet-boew#v4.0.63"
"wet-boew": "github:wet-boew/wet-boew#v4.0.63.1"
},
"browserslist": [
"last 2 versions",
Expand Down

0 comments on commit e928e5a

Please sign in to comment.