{/* Banner */}
-
- {/* Use component when the rendered component needs no props */}
- {/* Getting the routes from the defined route file in pages */}
-
);
};
-export default MainPage;
+export default infoSite;
\ No newline at end of file
diff --git a/src/pages/public/mainPage.tsx b/src/pages/public/mainPage.tsx
new file mode 100644
index 00000000..e7ee457e
--- /dev/null
+++ b/src/pages/public/mainPage.tsx
@@ -0,0 +1,200 @@
+import react from "react";
+import CountUp from "react-countup";
+import VisibilitySensor from 'react-visibility-sensor';
+import { Link } from "react-router-dom";
+
+import vektorForsidebilde from "/images/mainPage/vektor-forsidebilde.png";
+import Abelprisen from "/images/mainPage/sponsor/Abelprisen.png";
+import KSBergen from "/images/mainPage/sponsor/KSBergen.png";
+import SparebankstiftelsenDNB from "/images/mainPage/sponsor/SparebankstiftelsenDNB.png";
+import Tekna from "/images/mainPage/sponsor/Tekna.png";
+import UiB from "/images/mainPage/sponsor/UIB.png";
+import VisionTech from "/images/mainPage/sponsor/VisionTech.png";
+import NTNUIE from "/images/mainPage/sponsor/NTNUIE.png";
+import NTNUIV from "/images/mainPage/sponsor/NTNUIV.png";
+import Samarbeidsforum from "/images/mainPage/sponsor/SamarbeidsForum.png";
+import Matematikksenteret from "/images/mainPage/sponsor/Matematikksenteret.png";
+
+
+interface MainPageProps {
+ // Props
+ number: number;
+ title: string;
+ text: string;
+ route: {
+ pathname: string;
+ text: string;
+ };
+}
+
+const cards: MainPageProps[] = [
+ {
+ number: 2218,
+ title: "Assistenter",
+ text: "Over 2218 studenter har hatt et verv som vektorassistent i Vektorprogrammet",
+ route: {
+ pathname: "/assistenter",
+ text: "Les mer om assistenter",
+ },
+ },
+ {
+ number: 608,
+ title: "I team",
+ text: "Over 608 studenter har hatt et verv i et av Vektorprogrammets mange team",
+ route: {
+ pathname: "/team",
+ text: "Les mer om verv i team",
+ },
+ },
+];
+
+const mainPage = (): JSX.Element => {
+ return (
+
+ {/* Use component when the rendered component needs no props */}
+ {/* Getting the routes from the defined route file in pages */}
+
+ {" "}
+ {/*Upper start*/}
+
+
+ Vektorprogrammet
+
+
+
+
+
+ Vektorprogrammet
+
+
+
+ - sender studenter til ungdomsskoler for å hjelpe til som
+ lærerens assistent i matematikkundervisningen
+