Skip to content

Commit

Permalink
Hide packages from sidebar and navbar
Browse files Browse the repository at this point in the history
  • Loading branch information
ghivert committed Oct 16, 2024
1 parent e28cef7 commit ec0d115
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion apps/frontend/src/frontend/view/body/body.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ fn sidebar(model: Model) {
h.div([a.class("sidebar-spacer"), disabled], []),
h.div([a.class("sidebar-links")], [
sidebar_link(href: "/analytics", icon: icons.trends(), title: "Analytics"),
sidebar_link(href: "/packages", icon: icons.gift(), title: "Packages"),
// sidebar_link(href: "/packages", icon: icons.gift(), title: "Packages"),
// s.sidebar_link_wrapper([], [
// s.sidebar_icon([], [icons.shortcuts()]),
// s.sidebar_link([], [el.text("Shortcuts")]),
Expand Down
2 changes: 1 addition & 1 deletion apps/frontend/src/frontend/view/navbar/navbar.gleam
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import lustre/element/html as h

fn navbar_links() {
s.nav_links([], [
s.nav_link([a.href("/packages")], [h.text("Packages")]),
// s.nav_link([a.href("/packages")], [h.text("Packages")]),
s.nav_link([a.href("/analytics")], [h.text("Analytics")]),
])
}
Expand Down

0 comments on commit ec0d115

Please sign in to comment.