From 36951686bce1645523b1d52f3dada2c648522a80 Mon Sep 17 00:00:00 2001 From: keraliss Date: Fri, 5 Jan 2024 13:16:55 +0530 Subject: [PATCH] fixes #112 : redirect to cohorts page and changed 3rd jan to soon --- astro.config.mjs | 3 +++ src/components/home/LinkCohort.astro | 2 +- src/pages/apply.astro | 1 + 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 src/pages/apply.astro diff --git a/astro.config.mjs b/astro.config.mjs index a6e4338..a303062 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -8,4 +8,7 @@ export default defineConfig({ site: "https://www.bitshala.org", base: "/", integrations: [tailwind(), react()], + redirects: { + "/apply": "/cohorts", + }, }); diff --git a/src/components/home/LinkCohort.astro b/src/components/home/LinkCohort.astro index 9b756e6..ae78d81 100644 --- a/src/components/home/LinkCohort.astro +++ b/src/components/home/LinkCohort.astro @@ -19,7 +19,7 @@ class="p-2 text-center text-sm md:text-xl lg:my-1 lg:p-0 xl:text-3xl" href="/cohorts" > - Next cohort begins 3rd Jan + Next cohort begins soon
diff --git a/src/pages/apply.astro b/src/pages/apply.astro new file mode 100644 index 0000000..0a46c8b --- /dev/null +++ b/src/pages/apply.astro @@ -0,0 +1 @@ +

redirect to cohorts