Skip to content

Commit

Permalink
chore: hide the deprecated typography from the sidebar (#451)
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisdevtailor authored Nov 18, 2022
1 parent d228ca2 commit 6700f3e
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions lib/moon_web/components/left_menu.ex
Original file line number Diff line number Diff line change
Expand Up @@ -168,20 +168,6 @@ defmodule MoonWeb.Components.LeftMenu do
<SidebarLink route={Pages.Components.ToastPage}>Toast</SidebarLink>
<SidebarLink route={Pages.Components.TooltipPage}>Tooltip</SidebarLink>
<SidebarLink route={Pages.Components.TypographyPage}>Typography</SidebarLink>
<Accordion
is_content_inside={false}
id="left-menu-components-typography"
open_by_default={active_page_contains(@active_page, Pages.Components.Typography)}
>
<:title>Typography (Deprecated)</:title>
<:content>
<div class="flex-grow flex flex-col gap-2 pl-8">
<SidebarLink route={Pages.Components.Typography.CaptionPage}>Caption</SidebarLink>
<SidebarLink route={Pages.Components.Typography.HeadingPage}>Heading</SidebarLink>
<SidebarLink route={Pages.Components.Typography.TextPage}>Text</SidebarLink>
</div>
</:content>
</Accordion>
</div>
</:content>
</Accordion>
Expand Down

0 comments on commit 6700f3e

Please sign in to comment.