Skip to content

Commit 2e8569b

Browse files
committed
Replace remote with local state
1 parent 4790643 commit 2e8569b

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

src/components/home/HeroSection.tsx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
"use client";
22

33
import dynamic from "next/dynamic";
4+
import Link from "next/link";
45
import { ArrowDown } from "lucide-react";
56
import { useMediaQuery } from "@/hooks/useMediaQuery";
67
import { useMounted } from "@/hooks/useMounted";
@@ -59,18 +60,18 @@ export function HeroSection({
5960
</p>
6061

6162
<div className="mt-8 flex flex-col sm:flex-row gap-4 justify-center">
62-
<a
63+
<Link
6364
href={`/${lang}/research-topics`}
6465
className="inline-flex items-center justify-center px-6 py-3 rounded-lg bg-primary text-primary-foreground font-medium hover:bg-primary-light transition-colors"
6566
>
6667
{dict.home.exploreMultiscale}
67-
</a>
68-
<a
68+
</Link>
69+
<Link
6970
href={`/${lang}/contact`}
7071
className="inline-flex items-center justify-center px-6 py-3 rounded-lg border border-border text-foreground font-medium hover:bg-muted transition-colors"
7172
>
7273
{dict.home.joinLab}
73-
</a>
74+
</Link>
7475
</div>
7576
</div>
7677

0 commit comments

Comments
 (0)