From 2b13a79013225bebaf745c60f1636e80424947aa Mon Sep 17 00:00:00 2001 From: ngn Date: Sun, 19 Jan 2025 23:18:56 +0300 Subject: [PATCH] update footer links Signed-off-by: ngn --- src/components/layout/Footer.tsx | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/src/components/layout/Footer.tsx b/src/components/layout/Footer.tsx index 872616f..5737e7c 100644 --- a/src/components/layout/Footer.tsx +++ b/src/components/layout/Footer.tsx @@ -1,27 +1,22 @@ import Link from 'next/link'; -import { useRouter } from 'next/router'; import styles from 'src/styles/modules/layout/footer.module.scss'; const links = [ - { path: '/about', text: 'About' }, - { path: '/find', text: 'Find' }, - { path: '/privacy', text: 'Privacy' }, - { path: '/contact', text: 'Contact' }, + { url: 'https://github.com/zyachel/libremdb', text: 'Source' }, + { url: 'https://git.ngn.tf/ngn/libremdb', text: 'Modified Source' }, ] as const; const Footer = () => { - const { pathname } = useRouter(); - return (