Crate frontend

Crate frontend 

Source

Modulesยง

auth ๐Ÿ”’
darkmode ๐Ÿ”’
pages ๐Ÿ”’
This module aggregates and re-exports all individual page components of the application.

Structsยง

AdminCheckWrapper ๐Ÿ”’
Wrapper component that checks if an admin exists before rendering children.
AdminCheckWrapperProps
Props for the AdminCheckWrapper component.
App
The root component of the Yew application.
SidebarShell ๐Ÿ”’
A shell component that provides a consistent layout with a sidebar and a main content area.
SidebarShellProps
Properties for the SidebarShell component.

Enumsยง

Route ๐Ÿ”’
Defines the applicationโ€™s various routes and their corresponding paths.

Functionsยง

switch ๐Ÿ”’
The main routing logic for the application.