Skip to content

Commit

Permalink
use nav for semantics
Browse files Browse the repository at this point in the history
  • Loading branch information
pettinarip committed Oct 16, 2024
1 parent 410df97 commit 26f2e05
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/components/DocsNav.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import { trackCustomEvent } from "@/lib/utils/matomo"

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

import { Flex, Stack } from "./ui/flex"
import { Stack } from "./ui/flex"
import { LinkBox, LinkOverlay } from "./ui/link-box"

import { useRtlFlip } from "@/hooks/useRtlFlip"
Expand Down Expand Up @@ -125,9 +125,9 @@ const DocsNav = ({ contentNotTranslated }: DocsNavProps) => {
currentIndex + 1 < docsArray.length ? docsArray[currentIndex + 1] : null

return (
<Flex
<nav
className={cn(
"flex-col-reverse md:flex-row lg:flex-col-reverse xl:flex-row",
"flex flex-col-reverse md:flex-row lg:flex-col-reverse xl:flex-row",
"mt-8 justify-between gap-4",
"items-center md:items-start"
)}
Expand All @@ -150,7 +150,7 @@ const DocsNav = ({ contentNotTranslated }: DocsNavProps) => {
) : (
<div className="hidden flex-grow xl:block"></div>
)}
</Flex>
</nav>
)
}

Expand Down

0 comments on commit 26f2e05

Please sign in to comment.