ScalesCmsWeb.Components.MenuItems (scales_cms v0.2.0)

Copy Markdown

The renderer and config for the menu items.

When the sidebar is open, shows icon + title in the normal layout. When the sidebar is closed, shows only the icon justified to the end (right side) so it remains visible in the collapsed sidebar strip.

Summary

Functions

active_class(current_uri, menu_item)

configured_menu_items()

render(assigns)

Callback implementation for Phoenix.LiveComponent.render/1.