From a22c7494029a0e6c2e41f776c62e42a081d48e22 Mon Sep 17 00:00:00 2001 From: trisha <82386753+tdanielles@users.noreply.github.com> Date: Thu, 2 Oct 2025 21:11:34 -0700 Subject: [PATCH 1/3] swap --- src/app/page.tsx | 2 ++ src/sections/sponsor-footer.tsx | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/app/page.tsx b/src/app/page.tsx index 4c99bb93..b42b1a71 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -43,3 +43,5 @@ export default function Home() { ); } + +export const dynamic = "force-dynamic"; diff --git a/src/sections/sponsor-footer.tsx b/src/sections/sponsor-footer.tsx index d3fc307b..deaa30b1 100644 --- a/src/sections/sponsor-footer.tsx +++ b/src/sections/sponsor-footer.tsx @@ -132,4 +132,3 @@ const SponsorFooter = async () => { }; export default SponsorFooter; -export const dynamic = "force-dynamic"; From 991150343de9cf47ebad41f85c66ca15245aad44 Mon Sep 17 00:00:00 2001 From: trisha <82386753+tdanielles@users.noreply.github.com> Date: Thu, 2 Oct 2025 21:16:36 -0700 Subject: [PATCH 2/3] try --- next.config.ts | 1 - 1 file changed, 1 deletion(-) diff --git a/next.config.ts b/next.config.ts index e685c446..78dce272 100644 --- a/next.config.ts +++ b/next.config.ts @@ -13,7 +13,6 @@ const nextConfig: NextConfig = { }, ], }, - output: "export", }; export default nextConfig; From 3a2e51c1763d3b43a4e4985b8e12b8575e5f9b61 Mon Sep 17 00:00:00 2001 From: trisha <82386753+tdanielles@users.noreply.github.com> Date: Thu, 2 Oct 2025 21:27:19 -0700 Subject: [PATCH 3/3] ? --- firebase.json | 30 ++++++++++++++++++++++++------ next.config.ts | 2 -- 2 files changed, 24 insertions(+), 8 deletions(-) diff --git a/firebase.json b/firebase.json index 2ff4adfe..7fbadd90 100644 --- a/firebase.json +++ b/firebase.json @@ -2,18 +2,36 @@ "hosting": [ { "target": "root", - "public": "out", - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] + "public": ".next/out", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] }, { "target": "hackcamp2025_dev", - "public": "out", - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] + "public": ".next/out", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] }, { "target": "hackcamp2025_main", - "public": "out", - "ignore": ["firebase.json", "**/.*", "**/node_modules/**"] + "public": ".next/out", + "ignore": ["firebase.json", "**/.*", "**/node_modules/**"], + "rewrites": [ + { + "source": "**", + "destination": "/index.html" + } + ] } ] } diff --git a/next.config.ts b/next.config.ts index 78dce272..09374566 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,8 +2,6 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { images: { - // Must disable for output: "export" - unoptimized: true, remotePatterns: [ { protocol: "https",