Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: set default layout for projects in cms #75

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/assets/styles/components/_card.css
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
display: flex;
flex-direction: column;
gap: 0.93rem;
height: 100%;
padding: 1.875rem;
}

Expand Down
5 changes: 5 additions & 0 deletions src/assets/styles/components/_project-panel.css
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@ div:has(.project-panel) {
position: relative;
max-width: 75rem;
margin-inline: auto;
margin-block-end: 2rem;
}

.project-panel:last-of-type {
margin-block-end: unset;
}

.project-panel a {
Expand Down
1 change: 0 additions & 1 deletion src/collections/projects/en/all-standards-with-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: All Standards With Us
metaExcerpt: This project makes standards development accessible to people with disabilities and Deaf individuals, ensuring goods and services are inclusive. We focus on removing barriers in Standards Development Organizations (SDOs) to support full participation.
projectColor: yellow
desc: This project makes standards development accessible to people with disabilities and Deaf individuals, ensuring goods and services are inclusive. We focus on removing barriers in Standards Development Organizations (SDOs) to support full participation.
layout: layouts/project
---
## About this project

Expand Down
13 changes: 13 additions & 0 deletions src/collections/projects/en/review-of-the-review.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Review of the Review
metaExcerpt: Review of the Review (RotR) is assisting Accessibility Standards Canada in developing standards development processes and activities that are accessible and inclusively designed.
projectColor: ''
desc: Review of the Review (RotR) is assisting Accessibility Standards Canada in developing standards development processes and activities that are accessible and inclusively designed.
---
## About

Review of the Review (RotR) is assisting Accessibility Standards Canada in developing standards development processes and activities that are accessible and inclusively designed.

The goal of the project was to review the approach to standards development from the preliminary stages through to public review and provide advice, guidance, and recommendations to improve inclusion and accessibility as well as foster co-development of the standards with communities most impacted by them.

You can download the final report from [IDRC website](https://idrc.ocadu.ca/projects/rotr/).
1 change: 0 additions & 1 deletion src/collections/projects/fr/all-standards-with-us.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ title: All Standards With Us FR
metaExcerpt: This project makes standards development accessible to people with disabilities and Deaf individuals, ensuring goods and services are inclusive. We focus on removing barriers in Standards Development Organizations (SDOs) to support full participation.
projectColor: yellow
desc: This project makes standards development accessible to people with disabilities and Deaf individuals, ensuring goods and services are inclusive. We focus on removing barriers in Standards Development Organizations (SDOs) to support full participation.
layout: layouts/project
---
## About this project

Expand Down
13 changes: 13 additions & 0 deletions src/collections/projects/fr/review-of-the-review.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
---
title: Review of the Review
metaExcerpt: Review of the Review (RotR) is assisting Accessibility Standards Canada in developing standards development processes and activities that are accessible and inclusively designed.
projectColor: ''
desc: Review of the Review (RotR) is assisting Accessibility Standards Canada in developing standards development processes and activities that are accessible and inclusively designed.
---
## About

Review of the Review (RotR) is assisting Accessibility Standards Canada in developing standards development processes and activities that are accessible and inclusively designed.

The goal of the project was to review the approach to standards development from the preliminary stages through to public review and provide advice, guidance, and recommendations to improve inclusion and accessibility as well as foster co-development of the standards with communities most impacted by them.

You can download the [final report ](https://idrc.ocadu.ca/media/a-review-of-the-standards-development-process-final.docx)at IDRC website.
1 change: 1 addition & 0 deletions src/collections/projects/projects.11tydata.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { __, generatePermalink } from "eleventy-plugin-fluid";

export default {
eleventyComputed: {
layout: "layouts/project",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This actually doesn't need to be computed so it can be moved outside the eleventyComputed block. See here: https://www.11ty.dev/docs/data-js/

permalink: (data) => {
if (data.link) {
return null;
Expand Down
Loading