MCPcopy Create free account
hub / github.com/codingforentrepreneurs/full-stack-python / sidebar_items

Function sidebar_items

full_stack_python/ui/sidebar.py:130–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

128
129
130def sidebar_items() -> rx.Component:
131 return rx.vstack(
132 sidebar_item("Dashboard", "layout-dashboard", navigation.routes.HOME_ROUTE),
133 sidebar_item("Articles", "globe", navigation.routes.ARTICLE_LIST_ROUTE),
134 sidebar_item("Blog", "newspaper", navigation.routes.BLOG_POSTS_ROUTE),
135 sidebar_item("Create post", "notebook-pen", navigation.routes.BLOG_POST_ADD_ROUTE),
136 sidebar_item("Contact", "mail", navigation.routes.CONTACT_US_ROUTE),
137 sidebar_item("Contact History", "mailbox", navigation.routes.CONTACT_ENTRIES_ROUTE),
138 spacing="1",
139 width="100%",
140 )
141
142
143def sidebar() -> rx.Component:

Callers 1

sidebarFunction · 0.85

Calls 1

sidebar_itemFunction · 0.85

Tested by

no test coverage detected