Skip to content

Commit

Permalink
docs(): Remove theme selector from navbar story.
Browse files Browse the repository at this point in the history
  • Loading branch information
aidanCQ committed Dec 18, 2023
1 parent 8532a61 commit 859bba0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions stories/molecules/navbar.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import {
NavigationMenuTrigger,
navigationMenuTriggerStyle,
} from "src/atoms/navigation-menu";
import { ThemeSelector, useTheme } from "src/molecules/theme-selector";

const components: { title: string; href: string; description: string }[] = [
{
Expand Down Expand Up @@ -53,15 +52,13 @@ const components: { title: string; href: string; description: string }[] = [
];

function NavigationDemo() {
const { theme, setMode } = useTheme();
return (
<NavigationMenu className="w-full">
<NavigationMenuList>
<NavigationMenuItem>
<NavigationMenuTrigger>Getting started</NavigationMenuTrigger>

<NavigationMenuContent>
<ThemeSelector theme={theme} setMode={setMode}></ThemeSelector>
<ul className="grid gap-3 p-4 md:w-[400px] lg:w-[500px] lg:grid-cols-[.75fr_1fr]">
<li className="row-span-3">
<NavigationMenuLink asChild>
Expand Down

0 comments on commit 859bba0

Please sign in to comment.