From ddf503bf59cb3e1f4f1285b809464bf1f13aed25 Mon Sep 17 00:00:00 2001 From: bobinstein Date: Sun, 12 Jan 2025 19:12:20 -0500 Subject: [PATCH] chore: Updated light hover color, wrapped html table in {} --- src/app/learn/arns/page.mdx | 2 ++ src/components/Navigation.tsx | 12 ++++++------ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/src/app/learn/arns/page.mdx b/src/app/learn/arns/page.mdx index 654071cf..fb8c5a97 100644 --- a/src/app/learn/arns/page.mdx +++ b/src/app/learn/arns/page.mdx @@ -121,6 +121,7 @@ Such markets, if any, would be created by third parties unrelated to and outside The table below indicates some of the possible interactions with the ArNS registry, corresponding ANTs, and who can perform them: +{
@@ -212,6 +213,7 @@ The table below indicates some of the possible interactions with the ArNS regist
+}
ANT Interactions
diff --git a/src/components/Navigation.tsx b/src/components/Navigation.tsx index 438d7ca4..895ee546 100644 --- a/src/components/Navigation.tsx +++ b/src/components/Navigation.tsx @@ -53,7 +53,7 @@ function TopLevelNavItem({ {children} @@ -86,9 +86,9 @@ function NavLink({ isAnchorLink ? 'pl-9' : 'pl-4', active ? //active item - 'font-bold text-zinc-900 underline dark:text-white' + 'font-bold text-zinc-900 hover:text-emerald-600 underline dark:text-white dark:hover:text-emerald-600' : // non-active items - 'text-zinc-600 hover:text-zinc-900 dark:text-zinc-400 dark:hover:text-emerald-600 ', + 'text-zinc-600 hover:text-emerald-600 dark:text-zinc-400 dark:hover:text-emerald-600 ', )} > {children} @@ -362,7 +362,7 @@ function NavigationGroup({ 'cursor-pointer pl-4 text-sm', isPathActive(link, pathname) ? 'font-bold text-zinc-900 dark:text-white' // Active state - : 'text-zinc-900 dark:text-zinc-400 group-hover:text-zinc-900 dark:hover:text-emerald-600', // Inactive state + : 'text-zinc-900 dark:text-zinc-400 hover:text-emerald-600 group-hover:text-emerald-600 dark:hover:text-emerald-600', // Inactive state )} > {link.title} @@ -486,8 +486,8 @@ export function Navigation(props: React.ComponentPropsWithoutRef<'nav'>) { return (