Skip to content

Commit 1494020

Browse files
authored
Merge pull request #574 from sebastian-meier/main
Fix of Educational Site
2 parents 36c7cf2 + e3ab95f commit 1494020

File tree

6 files changed

+32
-3
lines changed

6 files changed

+32
-3
lines changed

parametric-fhp-de.jpg

165 KB
Loading

parametric-fhp-en.jpg

162 KB
Loading

src/content/pages/en/education-resources.mdx

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,22 @@ Thank you to Tuan Huang, Yu Lee, and Janis Sepúlveda for initiating the educati
363363
<Fragment slot="materials">
364364
[Website](https://natureofcode.com/)
365365
</Fragment>
366+
</EducationResource>
367+
368+
<EducationResource
369+
name="Parametric Design"
370+
featuredImage={await import("../images/education-resources/parametric-fhp-en.jpg")}
371+
featuredImageAlt="Screenshot of the Parametric Design Website"
372+
>
373+
<Fragment slot="author">
374+
Sebastian Meier, Jolanta Paliszewska
375+
</Fragment>
376+
<Fragment slot="description">
377+
Introductory video-based course for learning the basics of JavaScript and p5js focussing on beginners. The course explores coding as a means for creating output web, print and fabrication.
378+
</Fragment>
379+
<Fragment slot="materials">
380+
[Website](https://parametric-design.fh-potsdam.de/en/)
381+
</Fragment>
366382
</EducationResource>
367383

368384
</ul>
@@ -590,4 +606,20 @@ Thank you to Tuan Huang, Yu Lee, and Janis Sepúlveda for initiating the educati
590606
</Fragment>
591607
</EducationResource>
592608

609+
<EducationResource
610+
name="Parametric Design"
611+
featuredImage={await import("../images/education-resources/parametric-fhp-de.jpg")}
612+
featuredImageAlt="Screenshot der Parametric Design Webseite"
613+
>
614+
<Fragment slot="author">
615+
Sebastian Meier, Jolanta Paliszewska
616+
</Fragment>
617+
<Fragment slot="description">
618+
Video-Seminar auf Deutsch/Englisch und Deutscher Gebärdensprache als Einführung in JavaScript-Basics und p5js. Der Kurs nutzt Coding um Output für Web, Print und Rapid Prototyping (3D-Druck, Lasercutter, etc.) zu produzieren.
619+
</Fragment>
620+
<Fragment slot="materials">
621+
[Website](https://parametric-design.fh-potsdam.de/en/)
622+
</Fragment>
623+
</EducationResource>
624+
593625
</ul>
166 KB
Loading
167 KB
Loading

src/pages/education-resources/index.astro

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,6 @@ import { removeLocalePrefix } from "@i18n/utils";
1111
const pages = await getCollectionInDefaultLocale("pages");
1212
const page = pages.find((page) => removeLocalePrefix(page.slug).slice(1) === 'education-resources')!
1313
14-
const { Content } = await page.render();
15-
1614
const currentLocale = getCurrentLocale(Astro.url.pathname);
1715
const t = await getUiTranslator(currentLocale);
1816
const pageJumpToLinks = categories.map((category) => ({
@@ -40,5 +38,4 @@ setJumpToState({
4038
variant="item"
4139
topic="tutorials"
4240
>
43-
<Content />
4441
</BaseLayout>

0 commit comments

Comments
 (0)