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