-
Notifications
You must be signed in to change notification settings - Fork 130
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Minor - GC-intro-block: Added half-width image (#2382)
* GC-intro-block: Added half-width image * Moving back to design patterns --------- Co-authored-by: Marc-André Garneau <[email protected]>
- Loading branch information
1 parent
c8653f3
commit af9b4a2
Showing
20 changed files
with
339 additions
and
120 deletions.
There are no files selected for viewing
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
10 changes: 10 additions & 0 deletions
10
_includes/design-patterns/gc-intro/gc-intro-half-width-image.html
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
|
||
<div class="row"> | ||
<div class="col-md-6"> | ||
<h1 property="name" id="wb-cont">{% if page.language == "en" %}Introduction block with half-width image{% else %}Bloc d'introduction avec image demi-largeur{% endif %}</h1> | ||
<p>{% if page.language == "en" %}The introduction block pattern introduces the content of a landing page.{% else %}La configuration de conception du bloc d'introduction introduit le contenu d'une page de destination.{% endif %}</p> | ||
</div> | ||
<div class="col-md-6 hidden-sm hidden-xs"> | ||
<img src="https://dummyimage.com/520x200/000000/FFFFFF.png" alt="" class="img-responsive pull-right mrgn-tp-lg"> | ||
</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
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
21 changes: 21 additions & 0 deletions
21
design-patterns/gc-intro/gc-intro-full-width-image-en.html
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
{ | ||
"title": "Introduction block with full-width image", | ||
"language": "en", | ||
"altLangPage": "gc-intro-full-width-image-fr.html", | ||
"layout": "no-container", | ||
"dateModified": "2024-06-13", | ||
"breadcrumbs": [ | ||
{ "title": "Introduction block - documentation", "link": "design-patterns/gc-intro/gc-intro-doc-en.html" } | ||
], | ||
"layout": "no-container" | ||
} | ||
--- | ||
<div class="wb-prettify all-pre"></div> | ||
|
||
{% include_relative samples/gc-intro-full-width-image.html %} | ||
|
||
<div class="container"> | ||
<h2>Code sample</h2> | ||
{% highlight html %}{% include_relative samples/gc-intro-full-width-image.html %}{% endhighlight %} | ||
</div> |
21 changes: 21 additions & 0 deletions
21
design-patterns/gc-intro/gc-intro-full-width-image-fr.html
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
--- | ||
{ | ||
"title": "Bloc d'introduction avec image pleine largeur", | ||
"language": "fr", | ||
"altLangPage": "gc-intro-full-width-image-en.html", | ||
"layout": "no-container", | ||
"dateModified": "2024-06-11", | ||
"breadcrumbs": [ | ||
{ "title": "Bloc d'introduction - documentation", "link": "design-patterns/gc-intro/gc-intro-doc-fr.html" } | ||
], | ||
"layout": "no-container" | ||
} | ||
--- | ||
<div class="wb-prettify all-pre"></div> | ||
|
||
{% include_relative samples/gc-intro-full-width-image.html %} | ||
|
||
<div class="container"> | ||
<h2>Code</h2> | ||
{% highlight html %}{% include_relative samples/gc-intro-full-width-image.html %}{% endhighlight %} | ||
</div> |
18 changes: 18 additions & 0 deletions
18
design-patterns/gc-intro/gc-intro-half-width-image-en.html
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
{ | ||
"title": "Introduction block with half-width image", | ||
"language": "en", | ||
"altLangPage": "gc-intro-half-width-image-fr.html", | ||
"layout": "without-h1", | ||
"dateModified": "2024-06-13", | ||
"breadcrumbs": [ | ||
{ "title": "Introduction block - documentation", "link": "design-patterns/gc-intro/gc-intro-doc-en.html" } | ||
] | ||
} | ||
--- | ||
<div class="wb-prettify all-pre"></div> | ||
|
||
{% include_relative samples/gc-intro-half-width-image.html %} | ||
|
||
<h2>Code sample</h2> | ||
{% highlight html %}{% include_relative samples/gc-intro-half-width-image.html %}{% endhighlight %} |
18 changes: 18 additions & 0 deletions
18
design-patterns/gc-intro/gc-intro-half-width-image-fr.html
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 |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
{ | ||
"title": "Bloc d'introduction avec image demi largeur", | ||
"language": "fr", | ||
"altLangPage": "gc-intro-half-width-image-en.html", | ||
"layout": "without-h1", | ||
"dateModified": "2024-06-13", | ||
"breadcrumbs": [ | ||
{ "title": "Bloc d'introduction - documentation", "link": "design-patterns/gc-intro/gc-intro-doc-fr.html" } | ||
] | ||
} | ||
--- | ||
<div class="wb-prettify all-pre"></div> | ||
|
||
{% include_relative samples/gc-intro-half-width-image.html %} | ||
|
||
<h2>Code</h2> | ||
{% highlight html %}{% include_relative samples/gc-intro-half-width-image.html %}{% endhighlight %} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.