From 9abe2871d5d6d98514b2def27763dcc7bf2dbc07 Mon Sep 17 00:00:00 2001 From: Albert Wang Date: Tue, 2 Apr 2024 16:22:38 -0700 Subject: [PATCH] fix button links by removing redirects with next config --- next.config.js | 20 ++------------------ src/app/(main)/(home)/page.jsx | 9 ++++++--- 2 files changed, 8 insertions(+), 21 deletions(-) diff --git a/next.config.js b/next.config.js index 59cb287..df70a81 100644 --- a/next.config.js +++ b/next.config.js @@ -1,25 +1,9 @@ /** @type {import('next').NextConfig} */ const nextConfig = { - // output: "export", + output: "export", reactStrictMode: true, // rewrites: async () => ([]), - redirects: async () => [ - { - source: "/apply", - destination: "https://tally.so/r/wvyaW0", - permanent: true, - }, - { - source: "/mentor", - destination: "https://x03p1nm9c8s.typeform.com/to/tbReYJHH", - permanent: true, - }, - { - source: "/volunteer", - destination: "https://tally.so/r/w48aRA", - permanent: true, - }, - ], + // redirects: async () => [], }; module.exports = nextConfig; diff --git a/src/app/(main)/(home)/page.jsx b/src/app/(main)/(home)/page.jsx index 12a8261..015add0 100644 --- a/src/app/(main)/(home)/page.jsx +++ b/src/app/(main)/(home)/page.jsx @@ -37,9 +37,12 @@ const Home = () => {

UC Irvine's largest women-centric hackathon

Apps are now open!

- - - + + +