Commit 5495ea8
committed
Repo: Port draft retirement life event thematic
Port of wet-boew/GCWeb#2691 (Thematic: Retirement life event):
* Extremely preliminary
* Barely a thematic at this point (more like sloppy custom CSS than a thematic atm)
* Checklist has custom JS that hasn't made its way into this PR yet
* Needs way more work
Changes to adapt it to this repo:
* Adapt to the repo's folder structure:
* Migrate pages/metadata to the "pages" folder
* Migrate supporting images to a new "assets" folder (currently orphaned):
* GCWeb already uses "assets" for its images
* Jekyll's documentation states that it uses "assets" as a common convention (according to https://jekyllrb.com/docs/step-by-step/07-assets/)
* Migrate CSS/JS into the repo's life-events.css/js files (with "Retirement Hub theme" comment headers)
* ESLint config:
* Add a global "wb" variable to resolve the following error in the "eslint:target" task:
* 'wb' is not defined (no-undef)
* More info: https://eslint.org/docs/latest/rules/no-undef
* Pages:
* Repo index page:
* Add link to thematic page
* Theme page:
* Frontmatter:
* Change YAML to JSON
* Adjust thematic CSS/JS file references
* Revise note paragraph:
* Change "méli-mélo/th-vitality/vitality.html" reference into a GitHub Pages link (relative path doesn't make sense outside of the GCWeb repo)
* Remove note about wrong CSS file references (it's correctly referring to its own CSS now)
* Use tab indents consistently (was previously a mix of 4 spaces and tabs)
* Metadata:
* Rename componentName variable's value to "th-retirement-hub" (to make metadata retrievable by the theme page's Liquid logic)
* Rename leftover "empathy" references to "retirement"/"retirement-hub"1 parent 5bd9fc8 commit 5495ea8
File tree
14 files changed
+946
-3
lines changed- assets/th-retirement-hub
- landing
- stories
- pages/th-retirement-hub
- src
14 files changed
+946
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
Loading
Loading
Loading
Loading
Loading
Loading
Loading
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
0 commit comments