diff --git a/components/Footer.tsx b/components/Footer.tsx index 5619d7e..4eb2a6e 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,20 +1,10 @@ -import Link from 'next/link' -import React, {ReactNode} from 'react' +import React from 'react' import {OuterContainer, InnerContainer} from './Container' +import {NavLink} from '@/components/ui/Navigation' import {SpotifyPlayer} from './ui/SpotifyPlayer' import {SocialLink} from '@/components/ui/SocialLink' import {GitHubIcon, LinkedInIcon, TwitterIcon} from '@/components/icons/SocialIcons' -function NavLink({href, children}: { href: string, children: ReactNode }) { - return ( - - {children} - - ) -} export function Footer() { return ( @@ -24,7 +14,8 @@ export function Footer() {
-
+
About Dashboard Writing diff --git a/components/ui/Navigation.tsx b/components/ui/Navigation.tsx index cc2ee5e..a66e44e 100644 --- a/components/ui/Navigation.tsx +++ b/components/ui/Navigation.tsx @@ -1,4 +1,4 @@ -import {Fragment} from 'react' +import React, {Fragment, ReactNode} from 'react' import {usePathname} from 'next/navigation' import {Popover, Transition} from '@headlessui/react' import clsx from 'clsx' @@ -113,3 +113,14 @@ export function DesktopNavigation(props: Props) { ) } +export function NavLink({href, children}: { href: string, children: ReactNode }) { + return ( + + {children} + + ) +} +