Create floating sidebar navigation component #28
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
Create a new sidebar component that provides icon-based navigation for the portfolio app. The sidebar will be a fixed-position, vertically-centered pill-shaped container on the left side of the screen.
Files to Create
portfolio_app/components/sidebar.pyComponent Specification
Layout Structure
Technical Requirements
Container:
dmc.Paperwith:className="floating-sidebar"Brand:
dmc.Textwith "LM" initialsclassName="sidebar-brand"Navigation Icons: Use
dmc.ActionIconwrapped indcc.Linktabler:homeicontabler:map-2icondmc.Tooltipwith labelTheme Toggle:
dmc.ActionIconwith:id="theme-toggle-btn"tabler:moon(for dark mode)External Links:
dmc.ActionIconwrapped indmc.Anchortabler:brand-github, href="https://github.com/leomiranda"tabler:brand-linkedin, href="https://linkedin.com/in/leobmiranda"Dividers:
dmc.Dividerwithmy="xs",className="sidebar-divider"Active Page Indicator: Add
className="nav-icon-active"conditionally based on current pathFunction Signature
Dependencies
dash-iconifyfor iconsdash-mantine-componentsfor UI componentsdash.dccfor Link and Store componentsAcceptance Criteria
components/__init__.pyReferences
Part of Sprint 7 (#27)