{"id":28236559,"url":"https://github.com/s3ak/fed-astro","last_synced_at":"2026-04-11T07:43:36.997Z","repository":{"id":89866568,"uuid":"553158710","full_name":"S3ak/fed-astro","owner":"S3ak","description":"FED vocational course built with Astro. Educational Material teaching aid toolkit. ","archived":false,"fork":false,"pushed_at":"2024-05-28T08:00:47.000Z","size":79599,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2026-04-11T07:43:06.516Z","etag":null,"topics":["development","devops","engineering","front-end","jamstack","pedagogy","react","typescript","web"],"latest_commit_sha":null,"homepage":"https://fed-vocational-astro-course.vercel.app/","language":"MDX","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/S3ak.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2022-10-17T20:09:30.000Z","updated_at":"2026-01-10T14:32:35.000Z","dependencies_parsed_at":"2023-10-16T23:30:21.535Z","dependency_job_id":"c563ced7-025b-498d-850e-0160d7e4417f","html_url":"https://github.com/S3ak/fed-astro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/S3ak/fed-astro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S3ak%2Ffed-astro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S3ak%2Ffed-astro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S3ak%2Ffed-astro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S3ak%2Ffed-astro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/S3ak","download_url":"https://codeload.github.com/S3ak/fed-astro/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/S3ak%2Ffed-astro/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31673067,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-10T17:19:37.612Z","status":"online","status_checked_at":"2026-04-11T02:00:05.776Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["development","devops","engineering","front-end","jamstack","pedagogy","react","typescript","web"],"created_at":"2025-05-19T00:15:21.801Z","updated_at":"2026-04-11T07:43:36.992Z","avatar_url":"https://github.com/S3ak.png","language":"MDX","funding_links":[],"categories":[],"sub_categories":[],"readme":"# FED Class lesson teaching material\n\n- [Production Website](https://fed-vocational-astro-course.vercel.app/en/introduction)\n- [Staging Website](https://fed-vocational-astro-course.vercel.app/en/introduction)\n- [Deployment pipeline](https://vercel.com/seak/fed-vocational-astro-course/deployments)\n- [Moodle](https://lms.noroff.no/course/view.php?id=722)\n- [Teams](https://teams.microsoft.com/l/team/19%3adY1Rc-2kHaeAMsJoAM5F_QR4v__ZAXruYEhmnC3inEk1%40thread.tacv2/conversations?groupId=34ed33bc-4016-498e-aa6e-822186045b08\u0026tenantId=849aef27-5aa9-4c40-a7ad-38cf10c2f3fb)\n\nThis project is a teaching Toolkit for teaching in vocational in person lessons using the didactic model and teaching principles. I've tailor made this teaching aid for my pedagogical practice. This project contains lesson material with examples, lesson tasks \u0026 course assignments.\n\nMy framework will facilitate a higher quality of education while remaining constant throughout the semesters. The main aim is to develop a sense of self directed learning in my students as that is the fundamental skill needed in out profession (front-end development).\n\n\u003c!-- ![moseak_A_robotic_human_searching_the_web_in_a_cyberpunk_theme](/iamges/moseak_A_robotic_human_searching_the_web_in_a_cyberpunk_theme._fb3669f4-cb6f-4743-b703-b4925c1f45af.png) --\u003e\n\n## Why\n\nAlthough I’ve produce graduates that can find employment I’m concerned about the quality of their education and how proficient they are once they leave. I would like to improve the quality of my education and understand how to adapt the lesson structure to better suit the individual needs of my students. I believe that knowledge retention is very low. I’ve witness this when students have to complete course assignments and semester projects where they are required to execute on all their previous learnings, my students struggle and require too much assistance from me when they should be working alone.\n\nA secondary reason is that, from my experience students find it difficult to study asynchronously after the lesson on their own. My **Toolkit** needs to address this challenge which the current course material does not effectively solve.\n\n## Features\n\n- ✅ **Full Markdown support**\n- ✅ **Responsive mobile-friendly design**\n- ✅ **Sidebar navigation**\n- ✅ **Multi-language i18n**\n- ✅ **Automatic table of contents**\n- ✅ **Automatic list of contributors**\n- ✅ (and, best of all) **dark mode**\n\n## Commands Cheatsheet\n\nAll commands are run from the root of the project, from a terminal:\n\n| Command                | Action                                           |\n| :--------------------- | :----------------------------------------------- |\n| `npm install`          | Installs dependencies                            |\n| `npm run dev`          | Starts local dev server at `localhost:3000`      |\n| `npm run build`        | Build your production site to `./dist/`          |\n| `npm run preview`      | Preview your build locally, before deploying     |\n| `npm run astro ...`    | Run CLI commands like `astro add`, `astro check` |\n| `npm run astro --help` | Get help using the Astro CLI                     |\n\nTo deploy your site to production, check out our [Deploy an Astro Website](https://docs.astro.build/guides/deploy) guide.\n\n## New to Astro?\n\nWelcome! Check out [our documentation](https://docs.astro.build) or jump into our [Discord server](https://astro.build/chat).\n\n## Customize This Theme\n\n### Site metadata\n\n`src/config.ts` contains several data objects that describe metadata about your site like title, description, default language, and Open Graph details. You can customize these to match your project.\n\n### CSS styling\n\nThe theme's look and feel is controlled by a few key variables that you can customize yourself. You'll find them in the `src/styles/theme.css` CSS file.\n\nIf you've never worked with CSS variables before, give [MDN's guide on CSS variables](https://developer.mozilla.org/en-US/docs/Web/CSS/Using_CSS_custom_properties) a quick read.\n\nThis theme uses a \"cool blue\" accent color by default. To customize this for your project, change the `--theme-accent` variable to whatever color you'd like:\n\n```diff\n/* src/styles/theme.css */\n:root {\n  color-scheme: light;\n-  --theme-accent: hsla(var(--color-blue), 1);\n+  --theme-accent: hsla(var(--color-red), 1);   /* or: hsla(#FF0000, 1); */\n```\n\n## Page metadata\n\nAstro uses frontmatter in Markdown pages to choose layouts and pass properties to those layouts. If you are using the default layout, you can customize the page in many different ways to optimize SEO and other things. For example, you can use the `title` and `description` properties to set the document title, meta title, meta description, and Open Graph description.\n\n```markdown\n---\ntitle: Example title\ndescription: Really cool docs example that uses Astro\nlayout: ../../layouts/MainLayout.astro\n---\n\n# Page content...\n```\n\nFor more SEO related properties, look at `src/components/HeadSEO.astro`\n\n### Sidebar navigation\n\nThe sidebar navigation is controlled by the `SIDEBAR` variable in your `src/config.ts` file. You can customize the sidebar by modifying this object. A default, starter navigation has already been created for you.\n\n```ts\nexport const SIDEBAR = {\n  en: [\n    { text: \"Section Header\", header: true },\n    { text: \"Introduction\", link: \"en/introduction\" },\n    { text: \"Page 2\", link: \"en/page-2\" },\n    { text: \"Page 3\", link: \"en/page-3\" },\n\n    { text: \"Another Section\", header: true },\n    { text: \"Page 4\", link: \"en/page-4\" },\n  ],\n};\n```\n\nNote the top-level `en` key: This is needed for multi-language support. You can change it to whatever language you'd like, or add new languages as you go. More details on this below.\n\n### Multiple Languages support\n\nThe Astro docs template supports multiple langauges out of the box. The default theme only shows `en` documentation, but you can enable multi-language support features by adding a second language to your project.\n\nTo add a new language to your project, you'll want to extend the current `src/pages/[lang]/...` layout:\n\n```diff\n 📂 src/pages\n ┣ 📂 en\n ┃ ┣ 📜 page-1.md\n ┃ ┣ 📜 page-2.md\n ┃ ┣ 📜 page-3.astro\n+ ┣ 📂 es\n+ ┃ ┣ 📜 page-1.md\n+ ┃ ┣ 📜 page-2.md\n+ ┃ ┣ 📜 page-3.astro\n```\n\nYou'll also need to add the new language name to the `KNOWN_LANGUAGES` map in your `src/config.ts` file. This will enable your new language switcher in the site header.\n\n```diff\n// src/config.ts\nexport const KNOWN_LANGUAGES = {\n  English: 'en',\n+  Spanish: 'es',\n};\n```\n\nLast step: you'll need to add a new entry to your sidebar, to create the table of contents for that language. While duplicating every page might not sound ideal to everyone, this extra control allows you to create entirely custom content for every language.\n\n\u003e Make sure the sidebar `link` value points to the correct language!\n\n```diff\n// src/config.ts\nexport const SIDEBAR = {\n  en: [\n    { text: 'Section Header', header: true, },\n    { text: 'Introduction', link: 'en/introduction' },\n    // ...\n  ],\n+  es: [\n+    { text: 'Encabezado de sección', header: true, },\n+    { text: 'Introducción', link: 'es/introduction' },\n+    // ...\n+  ],\n};\n\n// ...\n```\n\nIf you plan to use Spanish as the the default language, you just need to modify the redirect path in `src/pages/index.astro`:\n\n```diff\n\u003cscript\u003e\n- window.location.pathname = `/en/introduction`;\n+ window.location.pathname = `/es/introduction`;\n\u003c/script\u003e\n```\n\nYou can also remove the above script and write a landing page in Spanish instead.\n\n### What if I don't plan to support multiple languages?\n\nThat's totally fine! Not all projects need (or can support) multiple languages. You can continue to use this theme without ever adding a second language.\n\nIf that single language is not English, you can just replace `en` in directory layouts and configurations with the preferred language.\n\n### Search (Powered by Algolia)\n\n[Algolia](https://www.algolia.com/) offers a free service to qualified open source projects called [DocSearch](https://docsearch.algolia.com/). If you are accepted to the DocSearch program, provide your API Key \u0026 index name in `src/config.ts` and a search box will automatically appear in your site header.\n\nNote that Aglolia and Astro are not affiliated. We have no say over acceptance to the DocSearch program.\n\nIf you'd prefer to remove Algolia's search and replace it with your own, check out the `src/components/Header.astro` component to see where the component is added.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs3ak%2Ffed-astro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fs3ak%2Ffed-astro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fs3ak%2Ffed-astro/lists"}