File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ const Header = () => {
5959 < Link
6060 key = { link . title }
6161 href = { link . href }
62- className = "hover:text-primary-500 dark:hover:text-primary-400 m-1 font-medium text-gray-900 dark:text-gray-100 flex items-center gap-1 "
62+ className = "flex items-center gap-1 m-1 font-medium text-gray-900 dark:text-gray-100 hover:text-primary-500 dark:hover:text-primary-400 "
6363 >
6464 { link . title }
6565 { link . external && (
Original file line number Diff line number Diff line change @@ -3,7 +3,11 @@ import Link from 'next/link'
33import type { LinkProps } from 'next/link'
44import { AnchorHTMLAttributes } from 'react'
55
6- const CustomLink = ( { href, external, ...rest } : LinkProps & AnchorHTMLAttributes < HTMLAnchorElement > & { external ?: boolean } ) => {
6+ const CustomLink = ( {
7+ href,
8+ external,
9+ ...rest
10+ } : LinkProps & AnchorHTMLAttributes < HTMLAnchorElement > & { external ?: boolean } ) => {
711 const isInternalLink = href && href . startsWith ( '/' )
812 const isAnchorLink = href && href . startsWith ( '#' )
913 const isExternalLink = external || ( href && ( href . startsWith ( 'http://' ) || href . startsWith ( 'https://' ) ) )
Original file line number Diff line number Diff line change @@ -77,7 +77,7 @@ const MobileNav = () => {
7777 < Link
7878 key = { link . title }
7979 href = { link . href }
80- className = "hover:text-primary-500 dark:hover:text-primary-400 mb-4 py-2 pr-4 text-2xl font-bold tracking-widest text-gray-900 outline outline-0 dark:text-gray-100 flex items-center gap-2 "
80+ className = "flex items-center gap-2 mb-4 py-2 pr-4 text-2xl font-bold tracking-widest text-gray-900 outline outline-0 dark:text-gray-100 hover:text-primary-500 dark:hover:text-primary-400 "
8181 onClick = { onToggleNav }
8282 >
8383 { link . title }
You can’t perform that action at this time.
0 commit comments