+
Meet the
{team.CommitteeYear} Team
-
-
-
+ >
);
}
diff --git a/next/app/page.tsx b/next/app/page.tsx
index 1f91579..c709ce0 100644
--- a/next/app/page.tsx
+++ b/next/app/page.tsx
@@ -14,12 +14,10 @@ export default async function Home() {
const data = await fetchStrapi("home-page", homePageSchema);
return (
-
+ <>
- {/* @ts-ignore */}
-
-
-
+
+
A Youth Board
For The Future
@@ -59,7 +57,6 @@ export default async function Home() {
-
-
+ >
);
}
diff --git a/next/app/projects/[slug]/page.tsx b/next/app/projects/[slug]/page.tsx
index b95f17e..160c43d 100644
--- a/next/app/projects/[slug]/page.tsx
+++ b/next/app/projects/[slug]/page.tsx
@@ -1,6 +1,4 @@
-import styles from "@/app/page.module.css";
import ContentBlock from "@/components/blocks/ContentBlock";
-import Header from "@/components/header/header";
import { projectSchema } from "@/schemas/collection/Project";
import fetchStrapi from "@/util/strapi";
import { notFound } from "next/navigation";
@@ -18,13 +16,5 @@ export default async function ProjectPage({
const project = projects[0];
if (!project) notFound();
- return (
-
- {/* @ts-ignore */}
-
-
- {project.blocks.map((block: any) => ContentBlock({ props: block }))}
-
-
- );
+ return project.blocks.map((block: any) => ContentBlock({ props: block }));
}
diff --git a/next/app/projects/page.tsx b/next/app/projects/page.tsx
index 8b8c793..27dbe5c 100644
--- a/next/app/projects/page.tsx
+++ b/next/app/projects/page.tsx
@@ -1,4 +1,3 @@
-import styles from "@/app/page.module.css";
import Header from "@/components/header/header";
import { projectSchema } from "@/schemas/collection/Project";
import { projectsPageSchema } from "@/schemas/single/ProjectsPage";
@@ -13,12 +12,8 @@ export default async function ProjectsPage() {
const projects = await fetchStrapi("project-pages", z.array(projectSchema));
return (
-
-
- {/* @ts-ignore */}
-
-
-
+ <>
+
-
+
Projects
{projectsPage.Subtitle}
@@ -71,6 +66,6 @@ export default async function ProjectsPage() {
))}