Skip to content

Commit d3b8d5b

Browse files
authored
Merge pull request #78 from Pranav-Marwaha-73/patch-1
fix: replace Next.js Link with native anchor tags for get started but…
2 parents 9e5c870 + 955ae03 commit d3b8d5b

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

components/sections/HeroSection.tsx

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

33
/* eslint-disable @next/next/no-img-element */
4-
import Link from "next/link";
54
import { motion } from "framer-motion";
65
import { TypeAnimation } from "react-type-animation";
76

@@ -48,12 +47,12 @@ export default function HeroSection(props: HeroSectionProps) {
4847
From multiple sources with just a{" "}
4948
<span className="text-[#00ADEF]">single API request.</span>
5049
</h2>
51-
<Link
52-
href="https://intelowlproject.github.io/docs/IntelOwl/installation"
50+
<a
51+
href="https://intelowlproject.github.io/docs/IntelOwl/installation/"
5352
className=" transform transition-transform duration-3 hover:scale-110 btn bg-[#00ADEE] hover:bg-blue-700 text-white py-2 mb-12 px-4 text-sm rounded w-32 h-10 mt-8 font-SpaceGrotesk text-center"
5453
>
5554
get started ➔
56-
</Link>
55+
</a>
5756
</div>
5857
<div className="bg-inherit w-full flex flex-col items-center justify-center px-10 ">
5958
<div className="flex flex-col relative items-center justify-center bg-[#0D0D0E] rounded-2xl border border-[#212123] w-[80%] ">
@@ -96,12 +95,12 @@ export default function HeroSection(props: HeroSectionProps) {
9695
<br /> API request.
9796
</span>
9897
</h2>
99-
<Link
100-
href="https://intelowlproject.github.io/docs/IntelOwl/installation"
98+
<a
99+
href="https://intelowlproject.github.io/docs/IntelOwl/installation/"
101100
className="transform transition-transform duration-3 hover:scale-110 btn bg-[#00ADEE] hover:bg-blue-700 text-white py-2 px-4 rounded w-36 h-10 mt-16 font-SpaceGrotesk text-center"
102101
>
103102
get started ➔
104-
</Link>
103+
</a>
105104
</div>
106105
<div className="bg-inherit h-screen w-2/6 flex flex-col items-center justify-center px-10">
107106
<div className="flex flex-col relative items-center justify-center bg-[#0D0D0E] rounded-2xl border border-[#212123] w-[80%] ">

0 commit comments

Comments
 (0)