From 70d17058d77246679f7599074a7da7c2e014ca81 Mon Sep 17 00:00:00 2001 From: SutuSebastian Date: Wed, 24 Jan 2024 09:32:16 +0200 Subject: [PATCH] fix: homepage - use Link for internal links --- components/homepage/components-section.tsx | 2 +- components/homepage/hero-section/hero-section.tsx | 8 +++++++- components/homepage/react-section.tsx | 5 +++-- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/components/homepage/components-section.tsx b/components/homepage/components-section.tsx index aaa2d4f4e..2897a8ac4 100644 --- a/components/homepage/components-section.tsx +++ b/components/homepage/components-section.tsx @@ -25,7 +25,7 @@ export const ComponentsSection: FC = () => { ))}
-
diff --git a/components/homepage/hero-section/hero-section.tsx b/components/homepage/hero-section/hero-section.tsx index e57f34746..b8c235bd0 100644 --- a/components/homepage/hero-section/hero-section.tsx +++ b/components/homepage/hero-section/hero-section.tsx @@ -3,6 +3,7 @@ import type { FC } from 'react'; import { HiOutlineArrowRight } from 'react-icons/hi'; import { Button } from '~/src'; import { CopyPackageInput } from './copy-package-input'; +import Link from 'next/link'; export const HeroSection: FC = () => { return ( @@ -23,7 +24,12 @@ export const HeroSection: FC = () => {
-
diff --git a/components/homepage/react-section.tsx b/components/homepage/react-section.tsx index 12da07e71..74db61616 100644 --- a/components/homepage/react-section.tsx +++ b/components/homepage/react-section.tsx @@ -1,4 +1,5 @@ import Image from 'next/image'; +import Link from 'next/link'; import type { FC } from 'react'; import { HiOutlineArrowRight } from 'react-icons/hi'; import { Button } from '~/src'; @@ -75,10 +76,10 @@ export const ReactSection: FC = () => { ))}
- -