(
"../pages/en/academy/*/*.mdx"
@@ -27,14 +28,15 @@ const editDate = new Date(statsMtime);
const parentPage = getParentPage(rawAcademyContent, url);
const localeFromUrl =
- Astro?.url?.pathname.replace(baseUrl, "").split("/").filter(Boolean)[0] || "en";
+ Astro?.url?.pathname.replace(baseUrl, "").split("/").filter(Boolean)[0] ||
+ "en";
---
- Back to Academy Overview
+
+ Back to Academy Overview
+
-
- Schools, universities, NGOs, Startups and other organizations can reach
- out to us to request the Tolocars for projects, workshops and trainings.
- We are looking for Makers, FabLabs, Hackerspaces, Makerspaces and other
- Communities who wants to partner with us in the Ukraine and
- internationally over the internet.
-
+
diff --git a/src/layouts/AcademyIndex.astro b/src/layouts/AcademyIndex.astro
index e18247af..99947a7b 100644
--- a/src/layouts/AcademyIndex.astro
+++ b/src/layouts/AcademyIndex.astro
@@ -1,31 +1,21 @@
---
+import FooterCards from "@components/FooterCards.astro";
import BaseLayout from "./BaseLayout.astro";
-import { ContentSection, Card, CardContainer } from "@components";
+import { ContentSection } from "@components";
+import CommonUtils from "@util/CommonUtils";
const { frontmatter } = Astro.props;
+
+const baseUrl = CommonUtils.getBaseUrl(false);
+
+const localeFromUrl =
+ Astro?.url?.pathname.replace(baseUrl, "").split("/").filter(Boolean)[0] ||
+ "en";
---
-
- Schools, universities, NGOs, Startups and other organizations can reach
- out to us to request the Tolocars for projects, workshops and trainings.
- We are looking for Makers, FabLabs, Hackerspaces, Makerspaces and other
- Communities who wants to partner with us in the Ukraine and
- internationally over the internet.
-
+
diff --git a/src/pages/en/_menu.mdx b/src/pages/en/_menu.mdx
index 68603cff..2fc12e76 100644
--- a/src/pages/en/_menu.mdx
+++ b/src/pages/en/_menu.mdx
@@ -1,7 +1,7 @@
---
menu:
- title: Home
- target: "/en/#top"
+ target: "en/#top"
hideInFooter: true
- title: What is a Tolocar?
diff --git a/src/pages/ua/_menu.mdx b/src/pages/ua/_menu.mdx
index d98cf49a..2dab8b0e 100644
--- a/src/pages/ua/_menu.mdx
+++ b/src/pages/ua/_menu.mdx
@@ -1,20 +1,20 @@
---
menu:
- title: Головна
- target: "/ua/#top"
+ target: "ua/#top"
hideInFooter: true
- title: Мотивація
- target: "/ua/#motivation"
+ target: "ua/#motivation"
- title: Що таке толокар?
- target: "/ua/#what-is-a-tolocar"
+ target: "ua/#what-is-a-tolocar"
- title: Проєкти та спільнота
- target: "/ua/#projects-community"
+ target: "ua/#projects-community"
- title: Makerspace Academy
- target: "/en/academy"
+ target: "ua/academy"
- title: Контакти
target: "mailto:info@tolocar.org"
diff --git a/src/pages/ua/academy/index.mdx b/src/pages/ua/academy/index.mdx
index 6fda1e28..9e161c2f 100644
--- a/src/pages/ua/academy/index.mdx
+++ b/src/pages/ua/academy/index.mdx
@@ -6,7 +6,7 @@ title: Maker Academy
import { HeaderLogo, Footer, WideCard, Course } from "@components";
import AcademyIndexLoader from "@components/AcademyIndexLoader.astro";
-
+