diff --git a/assets/scss/_components.scss b/assets/scss/_components.scss index b9a44df655..d84463d073 100644 --- a/assets/scss/_components.scss +++ b/assets/scss/_components.scss @@ -33,3 +33,4 @@ @import "components/platforms"; @import "components/woa"; @import "components/volunteer"; +@import "components/article-question"; diff --git a/assets/scss/components/_article-question.scss b/assets/scss/components/_article-question.scss new file mode 100644 index 0000000000..ccd06c08f0 --- /dev/null +++ b/assets/scss/components/_article-question.scss @@ -0,0 +1,99 @@ +.article-question { + &__page { + background: #faf9f8; + min-height: 90vh; + height: fit-content; + padding-bottom: 5rem; + } + + &__content { + max-width: 65rem; + margin: 0 auto; + height: fit-content; + padding: 2.5rem; + } + + &__title { + font-size: 2.5rem; + font-weight: 700; + margin-bottom: 2rem; + } + + &__contributors { + margin-bottom: 1rem; + } + + &__questions { + a { + text-decoration: none; + + h3 { + color: #000; + font-weight: 700; + } + + p { + margin-top: 0.75rem; + } + } + } + + &__summary { + font-size: 1.5rem; + margin-bottom: 2rem; + } + + &__last-updated { + color: #c40729; + margin-bottom: 1.5rem; + } + + &__body { + font-size: 1.15rem; + margin: 3rem 0; + } + + &__sources { + margin-bottom: 2.5rem; + a { + color: #c40729; + } + + a:hover { + color: #ff1f48; + } + + a:visited { + color: #c40729; + } + } + + @media (max-width: 768px) { + &__title { + font-size: 1.5rem; + line-height: 1.2; + } + + &__summary { + font-size: 1.1rem; + line-height: 1.4; + } + &__contributors { + font-size: 1rem; + } + &__body { + font-size: 1rem; + line-height: 1.4; + } + &__sources { + font-size: 1rem; + } + &__last-updated { + font-size: 1rem; + } + } +} + +.end-line { + margin-bottom: 2.5rem; +} diff --git a/assets/scss/components/_faq-question.scss b/assets/scss/components/_faq-question.scss index 16b104bcc8..3b1320be88 100644 --- a/assets/scss/components/_faq-question.scss +++ b/assets/scss/components/_faq-question.scss @@ -14,24 +14,34 @@ } &__title { - font-size: 2.7rem; + font-size: 2.5rem; font-weight: 700; - margin-bottom: 1.5rem; + margin-bottom: 2rem; + } + + &__contributors { + margin-bottom: 1rem; } &__summary { font-size: 1.5rem; - margin-top: 2rem; - margin-bottom: 3.4rem; + margin-bottom: 2rem; + } + + &__last-updated { + color: #c40729; + margin-bottom: 1.5rem; } &__body { font-size: 1.15rem; - margin-bottom: 4rem; + margin: 3rem 0; } &__sources { - margin-bottom: 2.5rem; + cursor: pointer; + margin-bottom: 1.5rem; + a { color: #c40729; } @@ -43,5 +53,50 @@ a:visited { color: #c40729; } + + summary { + font-size: 1.15rem; + margin-bottom: 0.5rem; + list-style: none; + &::-webkit-details-marker { + display: none; + } + } + + summary::after { + content: " ▼"; + margin-left: 0.5rem; + font-size: 0.85rem; + } + + &[open] summary::after { + content: " ▲"; + font-size: 0.85rem; + } + } + + @media (max-width: 768px) { + &__title { + font-size: 1.5rem; + line-height: 1.2; + } + + &__summary { + font-size: 1.1rem; + line-height: 1.4; + } + &__contributors { + font-size: 1rem; + } + &__body { + font-size: 1rem; + line-height: 1.4; + } + &__sources { + font-size: 1rem; + } + &__last-updated { + font-size: 1rem; + } } } diff --git a/assets/scss/components/_faq-topic.scss b/assets/scss/components/_faq-topic.scss index aaa152a1c6..21af173ea7 100644 --- a/assets/scss/components/_faq-topic.scss +++ b/assets/scss/components/_faq-topic.scss @@ -1,4 +1,13 @@ -.faq-topic { +#resources-heading { + margin-bottom: 2rem; +} + +#faqs-heading { + margin: 3rem 0 2rem 0; + scroll-margin-top: 7rem; +} + +.resources-topic { &__page { background: #faf9f8; height: fit-content; @@ -23,35 +32,163 @@ } } - &__questions { + &__articles { display: grid; - grid-template-columns: 1fr 1fr; + grid-template-columns: repeat(auto-fit, minmax(225px, 1fr)); + + @media (max-width: 600px) { + grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); + } + + // grid-template-columns: 1fr 1fr 1fr 1fr; + + // @media (max-width: 1100px) { + // grid-template-columns: 1fr 1fr 1fr; + // } + + // @media (max-width: 900px) { + // grid-template-columns: 1fr 1fr; + // } + + // @media (max-width: 600px) { + // grid-template-columns: 1fr; + // } + gap: 2.5rem; + align-items: stretch; } - &__question { + &__article { + background-color: #fff; + box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1); + border-radius: 1rem; + padding: 2rem; + display: flex; + flex-direction: column; + justify-content: space-between; + transition: all 0.2s ease-in-out; + + .card_text { + flex-grow: 1; + } + + h4 { + min-height: 4rem; + + @media (max-width: 600px) { + min-height: 2.5rem; + } + + font-weight: 700; + margin: 0 0 1.5rem 0; + font-size: 1.15rem; + } + p { - color: #8d8d8d; + color: #5f5f5f; margin-bottom: 1.5rem; + font-weight: 500; + font-size: 0.9rem; } a { - color: #c40729; + margin-top: 1.5rem; + align-self: flex-start; } - a:hover { - color: #ff1f48; + &:hover { + box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1); + transform: translateY(-4px); + } + } + + &__questions { + a { + text-decoration: none; + + h3 { + color: #000; + font-weight: 700; + font-size: 1.15rem; + } + + p { + margin-top: 0.75rem; + font-size: 0.9rem; + } } + } + + &__question { + background-color: #fff; + max-height: 12rem; + border-radius: 1rem; + padding: 1.5rem; + margin-bottom: 1.5rem; + box-shadow: 0 0px 4px 0 rgba(0, 0, 0, 0.1), 0 6px 20px 0 rgba(0, 0, 0, 0.1); + transition: all 0.3s ease; + display: flex; + justify-content: space-between; + align-items: center; - a:visited { + .faq-arrow { color: #c40729; + margin-left: 0.75rem; + } + + h3 { + font-weight: 700; + font-size: 1.15rem; + margin: 0; + } + + p { + color: #5f5f5f; + margin: 0; + font-weight: 500; + font-size: 1rem; + transition: all 0.3s ease; + display: -webkit-box; + -webkit-line-clamp: 1; // number of lines before ellipsis + line-clamp: 1; // standard property for compatibility + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; + } + + &:hover { + box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1); + transform: translateY(-4px); } } @media (max-width: 768px) { - &__questions { - grid-template-columns: 1fr; - gap: 2.5rem; + h3 { + font-size: 1.25rem; + line-height: 1.35; + } + + p { + font-size: 1rem; + line-height: 1.4; + } + } + + &__question { + h3 { + font-size: 1rem; + line-height: 1.35; + } + + p { + font-size: 0.875rem; + line-height: 1.4; + display: -webkit-box; + -webkit-line-clamp: 2; // number of lines before ellipsis + line-clamp: 2; // standard property for compatibility + -webkit-box-orient: vertical; + overflow: hidden; + text-overflow: ellipsis; } } } diff --git a/content/resources/articles/first-year-course-selection-guide.md b/content/resources/articles/first-year-course-selection-guide.md new file mode 100644 index 0000000000..18ff0a63c0 --- /dev/null +++ b/content/resources/articles/first-year-course-selection-guide.md @@ -0,0 +1,21 @@ +--- +title: "First-Year Course Selection Guide: Student Edition" +date: 2025-06-02T00:00:00Z +last_updated: 2025-06-02T00:00:00Z +draft: false +layout: article-question +summary: "An overview of recommended first-year COMP, MATH, and elective courses, along with common scheduling options to help you plan your timetable effectively." +contributors: +- "test" +sources: + - name: Test Name + link: https://ccss.carleton.ca/ +related: +- first-year-course-selection +- making-your-perfect-schedule +--- +Lorem ipsum dolor sit amet, consectetur adipiscing elit. Integer laoreet fringilla elit, vel volutpat mi cursus eu. Maecenas id lacinia nisi. Vestibulum tincidunt orci in turpis commodo, eu sollicitudin mi imperdiet. Nullam in est quis mi malesuada iaculis. Mauris pellentesque quam est, vitae porta ante mattis ac. Nam porta sapien vel facilisis scelerisque. Integer arcu purus, molestie a massa sed, ultricies dictum libero. In aliquet ex nisi, condimentum sollicitudin sapien condimentum ut. Aliquam erat volutpat. Fusce volutpat risus odio. + +Sed tempus massa quis eros fermentum finibus. Cras maximus eu lorem eu sodales. Pellentesque venenatis sed ex ut bibendum. Duis laoreet mauris nulla, ac iaculis ex hendrerit sed. Aliquam euismod felis enim, et ultrices felis volutpat eu. Maecenas ante enim, interdum dapibus erat quis, semper pharetra nulla. Nullam luctus nisl eu imperdiet placerat. Pellentesque et felis sit amet enim elementum porta. Mauris elementum ex non auctor dictum. In volutpat justo a purus vulputate interdum. Aliquam molestie massa ullamcorper, facilisis mauris sit amet, condimentum orci. Vestibulum eu consectetur risus. Nulla pulvinar mi et tellus imperdiet, eu gravida risus molestie. Sed sed consequat neque, non pharetra mauris. Vivamus ut lacus a odio auctor rhoncus vel consequat orci. Duis sed turpis cursus, pharetra velit lacinia, sodales orci. + +Curabitur risus sapien, maximus quis enim at, ornare tincidunt ex. Integer luctus vel odio quis sodales. Nullam at ornare turpis. Integer consectetur odio sed mattis finibus. Pellentesque nulla nulla, tincidunt non pharetra sed, tempor vitae enim. Pellentesque est dui, bibendum non leo eget, vehicula mollis ipsum. In rhoncus metus diam, et eleifend velit tristique vitae. Aliquam leo libero, consequat in pellentesque quis, pellentesque vitae felis. Praesent libero felis, varius ac auctor quis, vehicula eget dolor. Fusce fermentum vel risus eget pulvinar. \ No newline at end of file diff --git a/content/resources/articles/should-you-take-z-section-2000-level-comp.md b/content/resources/articles/should-you-take-z-section-2000-level-comp.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/articles/should-you-take-z-section-2000-level-comp.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/articles/things-to-consider-while-making-schedule.md b/content/resources/articles/things-to-consider-while-making-schedule.md new file mode 100644 index 0000000000..e7c5cea822 --- /dev/null +++ b/content/resources/articles/things-to-consider-while-making-schedule.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/articles/useful-carleton-webpages.md b/content/resources/articles/useful-carleton-webpages.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/articles/useful-carleton-webpages.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/articles/what-are-some-useful-minors.md b/content/resources/articles/what-are-some-useful-minors.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/articles/what-are-some-useful-minors.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/articles/which-electives-should-I-take.md b/content/resources/articles/which-electives-should-I-take.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/articles/which-electives-should-I-take.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/contribution-guides/contributing-faqs.md b/content/resources/contribution-guides/contributing-faqs.md deleted file mode 100644 index 4b4798396f..0000000000 --- a/content/resources/contribution-guides/contributing-faqs.md +++ /dev/null @@ -1,66 +0,0 @@ -# Contributing FAQs - -FAQs can be be viewed here - [ccss.carleton.ca/faq/course-registration/](https://ccss.carleton.ca/faq/course-registration/) - -FAQ Topic Page: - - -Sample FAQ: - - -
- -## 0.1 Setup the CCSS website project locally - -Follow the instructions in the **README** - -## 0.2 Look at the example for a written FAQ - -The markdown file for a completed FAQ can be found here: `content/resources/faq/questions/free-vs-breadth-electives.md` -Sample completed FAQ page - [What is a Breadth elective vs a Free elective](https://ccss.carleton.ca/resources/faq/questions/free-vs-breadth-electives/) - -## 1. Pick an unwritten FAQ from the project board - -[Resources Contributions Project Board](https://github.com/orgs/CarletonComputerScienceSociety/projects/22) - -Leave a comment under the FAQ ticket indicating that you're working on it. - -## 2. Locate the empty markdown file - -You can find the FAQ markdown files here: `content/resources/faq/questions` - -## 3. Complete the front matter attributes - -- `title` - The title of the FAQ that will show up on the webpage -- `date` - The date on which an FAQ was initially published. Format - `YYYY-MM-DDT00:00:00Z` -- `last_updated` - If an FAQ is updated, the date of the edit. Otherwise, same as the `date` attribute. Format - `YYYY-MM-DDT00:00:00Z` -- `draft` - Value should be set to "true" -- `layout` - Value should be set to "faq-question"" -- `summary` - Summary text that will show up on the topic page with the full list of FAQs (see first image) -- `contributors` - Names of the people that contributed to writing and editing the FAQ -- `sources`: Any links or sources that have been referenced in the answer. Format: -```diff - - name1: Title of the webpage - link1: Link - - name2: Title of the webpage - link2: Link - ... -``` - -## 4. Write the answer - -- FAQs are intended to summarise relevant information as concisely as possible. Try to stick to **100-200 words**. -- Don't rewrite things that have already been explained by the School of Computer Science or Carleton University webpages. You can include a short summary or quote and then link to their webpages. -- The ticket on the project board corresponding to your FAQ will highlight some information that should be covered by your answer. You can add any other information you think is useful but anything highlighted there must be included. -- The ticket on the project board corresponding to your FAQ will highlight some information that should be covered by your answer. - -## 5. Format your answer with markdown - -If you are not familiar with markdown, check out [Github's guide for markdown syntax](https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax) - -You can refer to a completed FAQ file to get an idea of how to include links - -## 6. Make a Pull Request with the completed FAQ file - -If you are not familiar with using Git/Github, check out this guide - [Intro to Git and Github](https://product.hubspot.com/blog/git-and-github-tutorial-for-beginners) - diff --git a/content/resources/faq/questions/1005-and-1006-vs-1405-and-1406.md b/content/resources/faq/questions/1005-and-1006-vs-1405-and-1406.md deleted file mode 100644 index 86f007456a..0000000000 --- a/content/resources/faq/questions/1005-and-1006-vs-1405-and-1406.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "What is the difference between COMP 1005/1006 and COMP 1405/1406?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/add-a-minor.md b/content/resources/faq/questions/add-a-minor.md deleted file mode 100644 index 03a8607987..0000000000 --- a/content/resources/faq/questions/add-a-minor.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Should I add a minor to my degree?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/change-courses-after-registering.md b/content/resources/faq/questions/change-courses-after-registering.md deleted file mode 100644 index a4b79ca2e6..0000000000 --- a/content/resources/faq/questions/change-courses-after-registering.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Can I change my courses after registering?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/comp1405-t-section.md b/content/resources/faq/questions/comp1405-t-section.md deleted file mode 100644 index 9f6a3cad5f..0000000000 --- a/content/resources/faq/questions/comp1405-t-section.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "What is the COMP 1405 T Section?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/how-many-courses-per-semester.md b/content/resources/faq/questions/how-many-courses-per-semester.md deleted file mode 100644 index bf6b88dba0..0000000000 --- a/content/resources/faq/questions/how-many-courses-per-semester.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "How many courses should I take in a semester?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/override-request.md b/content/resources/faq/questions/override-request.md deleted file mode 100644 index bfe4b36cf4..0000000000 --- a/content/resources/faq/questions/override-request.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "What is an override request?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/programming-experience-before-first-year.md b/content/resources/faq/questions/programming-experience-before-first-year.md deleted file mode 100644 index b5e3fe5c85..0000000000 --- a/content/resources/faq/questions/programming-experience-before-first-year.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Do I need programming experience before starting my first year?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/register-for-winter-courses-with-fall-courses.md b/content/resources/faq/questions/register-for-winter-courses-with-fall-courses.md deleted file mode 100644 index 016d8d9f63..0000000000 --- a/content/resources/faq/questions/register-for-winter-courses-with-fall-courses.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Should I register for winter courses with my fall courses?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/second-year-courses-in-first-year.md b/content/resources/faq/questions/second-year-courses-in-first-year.md deleted file mode 100644 index 62d3c44e43..0000000000 --- a/content/resources/faq/questions/second-year-courses-in-first-year.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Can I take second year courses in my first year?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/which-breadth-electives.md b/content/resources/faq/questions/which-breadth-electives.md deleted file mode 100644 index d04fefc590..0000000000 --- a/content/resources/faq/questions/which-breadth-electives.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "What breadth electives should I take?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/which-courses-in-first-year.md b/content/resources/faq/questions/which-courses-in-first-year.md deleted file mode 100644 index f5852470f9..0000000000 --- a/content/resources/faq/questions/which-courses-in-first-year.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Which courses should I take in my first year?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/which-programming-languages-in-courses.md b/content/resources/faq/questions/which-programming-languages-in-courses.md deleted file mode 100644 index 0fd0fb3063..0000000000 --- a/content/resources/faq/questions/which-programming-languages-in-courses.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Which programming languages are used in Computer Science courses?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/questions/which-stream.md b/content/resources/faq/questions/which-stream.md deleted file mode 100644 index f420769e6a..0000000000 --- a/content/resources/faq/questions/which-stream.md +++ /dev/null @@ -1,10 +0,0 @@ ---- -title: "Which stream should I choose?" -date: 2024-10-06T00:00:00Z -last_updated: 2024-10-06T00:00:00Z -draft: true -layout: faq-question -summary: "" -contributors: -sources: ---- \ No newline at end of file diff --git a/content/resources/faq/topics/course-registration.md b/content/resources/faq/topics/course-registration.md deleted file mode 100644 index 8cb335ac76..0000000000 --- a/content/resources/faq/topics/course-registration.md +++ /dev/null @@ -1,25 +0,0 @@ ---- -title: "Course Registration" -description: "Find the answers to all your questions about course registration." -date: 2024-05-31T00:00:00Z -draft: false -url: "/faq/course-registration" -layout: faq-topic -header_image_url: images/general/game_lab.jpg -questions: -- free-vs-breadth-electives -- comp1405-z-section -- comp1405-t-section -- 1005-and-1006-vs-1405-and-1406 -- add-a-minor -- change-courses-after-registering -- how-many-courses-per-semester -- override-request -- programming-experience-before-first-year -- register-for-winter-courses-with-fall-courses -- second-year-courses-in-first-year -- which-breadth-electives -- which-courses-in-first-year -- which-programming-languagues-in-courses -- which-stream ---- diff --git a/content/resources/faqs/are-all-sections-the-same.md b/content/resources/faqs/are-all-sections-the-same.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/are-all-sections-the-same.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/can-I-take-2000-level-courses-in-first-year.md b/content/resources/faqs/can-I-take-2000-level-courses-in-first-year.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/can-I-take-2000-level-courses-in-first-year.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/comp-1005-1006-vs-1405-1406.md b/content/resources/faqs/comp-1005-1006-vs-1405-1406.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/comp-1005-1006-vs-1405-1406.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faq/questions/comp1405-z-section.md b/content/resources/faqs/comp1405-z-section.md similarity index 97% rename from content/resources/faq/questions/comp1405-z-section.md rename to content/resources/faqs/comp1405-z-section.md index 17df67bf04..485660615a 100644 --- a/content/resources/faq/questions/comp1405-z-section.md +++ b/content/resources/faqs/comp1405-z-section.md @@ -12,6 +12,8 @@ sources: link: https://devdegree.ca/ - name: Override Requests link: https://carleton.ca/registrar/registration/override-requests/ +related: +- first-year-course-selection --- The Z section is an **accelerated version of COMP 1405 and COMP 1406**, which allows you to complete both of them in the fall semester. COMP 1405 Z runs during the first half of the semester and COMP 1406 Z runs during the second half of the semester. It is important to note that the Z section is **not a separate course**, it is just a different section of both COMP 1405 and COMP 1406. diff --git a/content/resources/faqs/contact-for-registration-help.md b/content/resources/faqs/contact-for-registration-help.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/contact-for-registration-help.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/course-does-not-have-instructor.md b/content/resources/faqs/course-does-not-have-instructor.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/course-does-not-have-instructor.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faq/questions/free-vs-breadth-electives.md b/content/resources/faqs/free-vs-breadth-electives.md similarity index 99% rename from content/resources/faq/questions/free-vs-breadth-electives.md rename to content/resources/faqs/free-vs-breadth-electives.md index 3ebef6c0d1..a82e4a2737 100644 --- a/content/resources/faq/questions/free-vs-breadth-electives.md +++ b/content/resources/faqs/free-vs-breadth-electives.md @@ -9,7 +9,7 @@ contributors: - Matthew MacRae-Bovell sources: - name: School of Computer Science - Electives and Prohibited Courses - link: https://carleton.ca/scs/current-students/undergraduate-students/help-selecting-courses/electives-and-prohibited-courses-2/ + link: https://carleton.ca/scs/current-students/undergraduate-students/help-selecting-courses/electives-and-prohibited-courses/ --- Breadth Electives **cannot** be under **COMP, MATH, or STAT**. After you fulfill your breadth elective requirement, courses that would have counted towards your breadth requirement begin to count as free electives. diff --git a/content/resources/faqs/how-do-I-register-for-courses.md b/content/resources/faqs/how-do-I-register-for-courses.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/how-do-I-register-for-courses.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/how-many-courses-in-a-semester.md b/content/resources/faqs/how-many-courses-in-a-semester.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/how-many-courses-in-a-semester.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/lectures-vs-tutorials.md b/content/resources/faqs/lectures-vs-tutorials.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/lectures-vs-tutorials.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/override-request.md b/content/resources/faqs/override-request.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/override-request.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/scheduled-vs-unscheduled-courses.md b/content/resources/faqs/scheduled-vs-unscheduled-courses.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/scheduled-vs-unscheduled-courses.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/should-I-register-for-both-terms.md b/content/resources/faqs/should-I-register-for-both-terms.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/should-I-register-for-both-terms.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/stat-2507-in-first-year.md b/content/resources/faqs/stat-2507-in-first-year.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/stat-2507-in-first-year.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/switch-courses-after-registering.md b/content/resources/faqs/switch-courses-after-registering.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/switch-courses-after-registering.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/what-are-time-tickets.md b/content/resources/faqs/what-are-time-tickets.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/what-are-time-tickets.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/which-courses-can-I-take-as-electives.md b/content/resources/faqs/which-courses-can-I-take-as-electives.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/which-courses-can-I-take-as-electives.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/faqs/which-courses-in-first-year.md b/content/resources/faqs/which-courses-in-first-year.md new file mode 100644 index 0000000000..e55ca5b78f --- /dev/null +++ b/content/resources/faqs/which-courses-in-first-year.md @@ -0,0 +1,15 @@ +--- +title: "" +date: 2025-06-16T00:00:00Z +last_updated: 2025-06-16T00:00:00Z +draft: false +layout: article-question +summary: "" +contributors: +- +sources: + - name: + link: +related: +- +--- \ No newline at end of file diff --git a/content/resources/topics/course-registration.md b/content/resources/topics/course-registration.md new file mode 100644 index 0000000000..6ee51cf4a1 --- /dev/null +++ b/content/resources/topics/course-registration.md @@ -0,0 +1,14 @@ +--- +title: "Course Registration" +description: "Find the answers to all your questions about course registration." +date: 2024-05-31T00:00:00Z +draft: false +url: "/resources/course-registration" +layout: resource-topic +header_image_url: images/general/game_lab.jpg +articles: +- +faqs: +- comp1405-z-section +- free-vs-breadth-electives +--- diff --git a/layouts/_default/article-question.html b/layouts/_default/article-question.html new file mode 100644 index 0000000000..49274a1216 --- /dev/null +++ b/layouts/_default/article-question.html @@ -0,0 +1,39 @@ +{{ define "main" }} + {{- partial "navbar_temp.html" . -}} +
+
+

{{ .Title }}

+
+ {{ .Params.summary }} +
+ {{ with .Params.contributors }} +
+ Written by: {{ delimit . ", " }} +
+ {{ end }} +
+ Last Updated: + {{ .Params.last_updated | time | dateFormat "January 2, 2006" }} +
+
+
+ {{ .Content }} +
+
+ {{ with .Params.sources }} +
+ View Links and Sources + {{ range $index, $source := . }} +

+ ({{ add $index 1 }}) + {{ $source.name }} +

+ {{ end }} +
+ {{ end }} +
+ {{ partial "resources-related-content.html" . }} +
+
+
+{{ end }} diff --git a/layouts/_default/faq-question.html b/layouts/_default/faq-question.html index 75f92c80ea..cfdc60200c 100644 --- a/layouts/_default/faq-question.html +++ b/layouts/_default/faq-question.html @@ -6,25 +6,33 @@

{{ .Title }}

Summary: {{ .Params.summary }}

+ {{ with .Params.contributors }} +

+ Contributors: {{ delimit . ", " }} +

+ {{ end }} +
+ Last Updated: + {{ .Params.last_updated | time | dateFormat "January 2, 2006" }} +
+
{{ .Content }}
-
- {{ with .Params.sources }} -

Links and Sources:

+
+ {{ with .Params.sources }} +
+ View Links and Sources {{ range $index, $source := . }}

({{ add $index 1 }}) {{ $source.name }}

{{ end }} - {{ end }} -
-
-

Contributors:

- {{ range .Params.contributors }} -

{{ . }}

- {{ end }} + + {{ end }} +
diff --git a/layouts/_default/faq-topic.html b/layouts/_default/faq-topic.html deleted file mode 100644 index 50ffa6f5a8..0000000000 --- a/layouts/_default/faq-topic.html +++ /dev/null @@ -1,36 +0,0 @@ -{{ define "main" }} - {{- partial "navbar_temp.html" . -}} -
-
-
-
-
-
{{ .Title }}
-
- {{ .Description }} -
- {{- partial "button.html" (dict "label" "View All FAQ") -}} -
-
-
-
-
- {{ range .Params.questions }} - {{ $page := printf "resources/faq/questions/%s" . }} - {{ with $.Site.GetPage $page }} -
-

{{ .Title }}

-

{{ .Params.summary }}

- {{- partial "read-more.html" (dict "label" "Read More " "link" .RelPermalink) -}} -
- {{ end }} - {{ end }} -
-
-
-{{ end }} diff --git a/layouts/_default/resource-topic.html b/layouts/_default/resource-topic.html new file mode 100644 index 0000000000..859bd50915 --- /dev/null +++ b/layouts/_default/resource-topic.html @@ -0,0 +1,42 @@ +{{ define "main" }} + {{- partial "navbar_temp.html" . -}} +
+
+
+
+
+
{{ .Title }}
+
+ {{ .Description }} +
+ {{- partial "button.html" (dict "label" "FAQ") -}} +
+
+
+
+

Resources

+
+ {{ range .Params.articles }} + {{ $page := printf "resources/articles/%s" . }} + {{ with $.Site.GetPage $page }} + {{ partial "article-card.html" . }} + {{ end }} + {{ end }} +
+

Frequently Asked Questions

+
+ {{ range .Params.faqs }} + {{ $page := printf "resources/faqs/%s" . }} + {{ with $.Site.GetPage $page }} + {{ partial "faq-card.html" . }} + {{ end }} + {{ end }} +
+
+
+{{ end }} diff --git a/layouts/partials/article-card.html b/layouts/partials/article-card.html new file mode 100644 index 0000000000..da605dbfdf --- /dev/null +++ b/layouts/partials/article-card.html @@ -0,0 +1,9 @@ +
+
+

{{ .Title }}

+

{{ .Params.summary }}

+
+ + {{- partial "button.html" (dict "label" "Read More") -}} + +
diff --git a/layouts/partials/faq-card.html b/layouts/partials/faq-card.html new file mode 100644 index 0000000000..51b22f035e --- /dev/null +++ b/layouts/partials/faq-card.html @@ -0,0 +1,7 @@ + +
+

{{ .Title }}

+

{{ .Params.summary }}

+
+ +
diff --git a/layouts/partials/resources-related-content.html b/layouts/partials/resources-related-content.html new file mode 100644 index 0000000000..e6e298f5d1 --- /dev/null +++ b/layouts/partials/resources-related-content.html @@ -0,0 +1,20 @@ +{{ $relatedPages := slice }} + +{{ range .Params.related }} + {{ $article := $.Site.GetPage (printf "resources/articles/%s" .) }} + {{ $faq := $.Site.GetPage (printf "resources/faqs/%s" .) }} + {{ if $article }} + {{ $relatedPages = $relatedPages | append $article }} + {{ else if $faq }} + {{ $relatedPages = $relatedPages | append $faq }} + {{ end }} +{{ end }} + +{{ if gt (len $relatedPages) 0 }} +

Related Content:

+
+ {{ range $relatedPages }} + {{ partial "faq-card.html" . }} + {{ end }} +
+{{ end }}