From 9864d5ed7262678c3de22aa19e82b9e16180e6c9 Mon Sep 17 00:00:00 2001 From: Jonathan Gao Date: Fri, 17 Feb 2023 00:24:56 +0800 Subject: [PATCH] fix: Optimize menu. --- .../templates/layout/app.html.heex | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/apps/phx_wc_storybook_web/lib/phx_wc_storybook_web/templates/layout/app.html.heex b/apps/phx_wc_storybook_web/lib/phx_wc_storybook_web/templates/layout/app.html.heex index 495b4cac..d66e11f0 100644 --- a/apps/phx_wc_storybook_web/lib/phx_wc_storybook_web/templates/layout/app.html.heex +++ b/apps/phx_wc_storybook_web/lib/phx_wc_storybook_web/templates/layout/app.html.heex @@ -33,12 +33,13 @@ <:menu> <.wc_left_menu_group active={assigns[:active_menu]}> <:title>Components - <:menu id="table" to="/storybook/components/actionbar">Actionbar - <:menu id="card" to="/storybook/components/card">Card - <:menu id="left_menu" to="/storybook/components/left_menu">Left Menu - <:menu id="markdown" to="/storybook/components/markdown">Markdown - <:menu id="pagination" to="/storybook/components/pagination">Pagination - <:menu id="table" to="/storybook/components/table">Table + <:menu id="table" to="/storybook/components/actionbar"><.wc_bsi name={"tools"} class="w-4 h-4" />Actionbar + <:menu id="card" to="/storybook/components/card"><.wc_mdi name={"card"} class="w-4 h-4" />Card + <:menu id="left_menu" to="/storybook/components/left_menu"><.wc_bsi name={"layout-sidebar"} class="w-4 h-4" />Left Menu + <:menu id="markdown" to="/storybook/components/markdown"><.wc_bsi name={"markdown"} class="w-4 h-4" />Markdown + <:menu id="modal" to="/storybook/components/modal"><.wc_bsi name={"chat-square"} class="w-4 h-4" />Modal + <:menu id="pagination" to="/storybook/components/pagination"><.wc_mdi name={"book-open-page-variant-outline"} class="w-4 h-4" />Pagination + <:menu id="table" to="/storybook/components/table"><.wc_mdi name={"table"} class="w-4 h-4" />Table