Skip to content

Commit 541a993

Browse files
Revert "Migrate the link component."
This reverts commit 209711e.
1 parent 209711e commit 541a993

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

src/components/SideNav.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,13 @@ import { MdChevronRight } from "react-icons/md"
55

66
import { ChildOnlyProp } from "@/lib/types"
77
import { DeveloperDocsLink } from "@/lib/interfaces"
8-
import { BaseLink, LinkProps } from "./ui/Link"
9-
import { HStack } from "./ui/flex"
8+
9+
import { BaseLink, LinkProps } from "@/components/Link"
1010

1111
import docLinks from "../data/developer-docs-links.yaml"
1212

13+
import { HStack } from "./ui/flex"
14+
1315
export const dropdownIconContainerVariant = {
1416
open: {
1517
rotate: 90,
@@ -42,7 +44,12 @@ const LinkContainer = ({ children }: ChildOnlyProp) => {
4244
const SideNavLink = ({ children, ...props }: LinkProps) => {
4345
return (
4446
<BaseLink
45-
className="w-full font-normal text-body no-underline hover:text-primary"
47+
w="full"
48+
textDecoration="none"
49+
color="text"
50+
fontWeight="normal"
51+
_hover={{ textDecoration: "none", color: "primary.base" }}
52+
_active={{ color: "primary.base" }}
4653
{...props}
4754
>
4855
{children}

0 commit comments

Comments
 (0)