Skip to content

Commit 38c7657

Browse files
committed
feat: implemented coming soon page with temporary redirect
1 parent dde1a9f commit 38c7657

2 files changed

Lines changed: 27 additions & 0 deletions

File tree

src/pages/cs.astro

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
---
2+
import BaseLayout from "../layouts/base.astro";
3+
---
4+
5+
<BaseLayout pageTitle="Dictionary">
6+
<main class="flex flex-col max-w-screen-lg p-5 justify-center mx-auto min-h-screen">
7+
<div class="m-auto text-center space-y-6">
8+
<h1 class="text-5xl md:text-9xl text font-black">
9+
jargons.dev
10+
</h1>
11+
<p class="text-xs md:text-sm">
12+
A community-driven dictionary that simplifies software, engineering and tech terms for all levels.
13+
</p>
14+
<hr class="border-gray-100">
15+
<div class="md:text-lg">
16+
We're putting the finishing touches on <strong>jargons.dev</strong>.
17+
<br>
18+
Want to join our test group? Write me a tweet <a href="https://x.com/babblebey">@babblebey</a>
19+
</div>
20+
</div>
21+
</main>
22+
</BaseLayout>

src/pages/index.astro

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ import Search from "../components/islands/search.jsx";
55
import RecentSearches from "../components/islands/recent-searches.jsx";
66
77
const dictionary = await getCollection("dictionary");
8+
9+
/**
10+
* Temporary Redirect to comming soon
11+
*/
12+
return Astro.redirect("/cs");
813
---
914

1015
<BaseLayout

0 commit comments

Comments
 (0)