diff --git a/src/assets/fabius-profile.png b/public/contributors/fabius-profile.png similarity index 100% rename from src/assets/fabius-profile.png rename to public/contributors/fabius-profile.png diff --git a/src/assets/jakob-profile.png b/public/contributors/jakob-profile.png similarity index 100% rename from src/assets/jakob-profile.png rename to public/contributors/jakob-profile.png diff --git a/src/app/(auth)/sign-in/page.tsx b/src/app/(auth)/sign-in/page.tsx index b11a5eb5..4377409c 100644 --- a/src/app/(auth)/sign-in/page.tsx +++ b/src/app/(auth)/sign-in/page.tsx @@ -3,6 +3,8 @@ import icon from "~/assets/chatio.png"; import Image from "next/image"; import Link from "next/link"; +export const dynamic = "force-static"; + const SignInPage = () => { return (
diff --git a/src/app/(auth)/sign-up/page.tsx b/src/app/(auth)/sign-up/page.tsx index 0e157f6e..f449a940 100644 --- a/src/app/(auth)/sign-up/page.tsx +++ b/src/app/(auth)/sign-up/page.tsx @@ -3,6 +3,8 @@ import icon from "~/assets/chatio.png"; import Image from "next/image"; import Link from "next/link"; +export const dynamic = "force-static"; + const SignInPage = () => { return (
diff --git a/src/app/contributors/page.tsx b/src/app/contributors/page.tsx index 74adf4bf..37f7c371 100644 --- a/src/app/contributors/page.tsx +++ b/src/app/contributors/page.tsx @@ -1,7 +1,5 @@ "use client"; -import fabiusProfile from "/src/assets/fabius-profile.png"; -import jakobProfile from "/src/assets/jakob-profile.png"; import Footer from "~/components/footer"; import { cn } from "~/lib/utils"; import { @@ -10,17 +8,19 @@ import { Link as LinkChain, UsersRound, } from "lucide-react"; -import Image, { type StaticImageData } from "next/image"; +import Image from "next/image"; import Link from "next/link"; import { useRouter } from "next/navigation"; import React, { useState } from "react"; import { FaLinkedin } from "react-icons/fa"; import { SiGithub } from "react-icons/si"; +export const dynamic = "force-static"; + interface ContributorsProps { name: string; job: string; - image: StaticImageData; + image: string; github?: string; website?: string; linkedin?: string; @@ -30,7 +30,7 @@ const contributorList: ContributorsProps[] = [ { name: "Fabius Schurig", job: "Engineer & Designer", - image: fabiusProfile, + image: "/contributors/fabius-profile.png", github: "https://github.com/Gamius00", website: "https://schurig.tech", linkedin: "https://www.linkedin.com/in/fabius-schurig-80713b284/", @@ -38,7 +38,7 @@ const contributorList: ContributorsProps[] = [ { name: "Jakob Rössner", job: "Engineer", - image: jakobProfile, + image: "/contributors/jakob-profile.png", github: "https://github.com/FleetAdmiralJakob", website: "https://roessner.tech", linkedin: "https://www.linkedin.com/in/jakobroessner/", diff --git a/src/app/home/page.tsx b/src/app/home/page.tsx index e5317ad9..e058a157 100644 --- a/src/app/home/page.tsx +++ b/src/app/home/page.tsx @@ -1,5 +1,7 @@ import PublicHomepage from "~/app/public-homepage"; +export const dynamic = "force-static"; + export default function Homepage() { return ; } diff --git a/src/app/legal/page.tsx b/src/app/legal/page.tsx index 943952fc..8ba48c38 100644 --- a/src/app/legal/page.tsx +++ b/src/app/legal/page.tsx @@ -1,3 +1,5 @@ +export const dynamic = "force-static"; + const Legal = () => { return
Legal
; };