Skip to content

Commit ca1c8a2

Browse files
committed
Fixes
1 parent e525cad commit ca1c8a2

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

src/app/(home)/page.tsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { redirect } from "next/navigation";
2+
3+
export default function Home() {
4+
redirect("/en");
5+
};

src/app/[lang]/(home)/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ export default function HomePage() {
7474
</a>
7575
<ul className="nav-links">
7676
<li><Link href="/ru">EN/RU</Link></li>
77-
<li><Link href="/docs">Documentation</Link></li>
77+
<li><Link href="/en/docs/getting-started">Documentation</Link></li>
7878
<li><a href="#features">Features</a></li>
7979
<li><a href="https://github.com/CatCoreV" target="_blank">GitHub</a></li>
8080
</ul>
@@ -87,7 +87,7 @@ export default function HomePage() {
8787
<h1>CatCore</h1>
8888
<p>It&apos;s easy to make your own OS with CatCore kernel</p>
8989
<div className="btn-group">
90-
<a href="/docs/get-started" target="_blank" className="btn btn-primary">
90+
<a href="/en/docs/getting-started" target="_blank" className="btn btn-primary">
9191
Get Started
9292
</a>
9393
<a href="#features" className="btn btn-secondary">
@@ -166,7 +166,7 @@ export default function HomePage() {
166166
<code>git clone https://github.com/CatCoreV/os-compiler.git</code>
167167
</div>
168168
<div className="btn-group">
169-
<a href="/docs/get-started" target="_blank" className="btn btn-primary">
169+
<a href="/en/docs/getting-started" target="_blank" className="btn btn-primary">
170170
Get Started
171171
</a>
172172
<a href="https://github.com/CatCoreV/os-compiler" target="_blank" className="btn btn-secondary">

0 commit comments

Comments
 (0)