feat: make Nav and Profile menu dynamic

This commit is contained in:
2024-08-05 00:15:28 +02:00
committed by florian_briand
parent aba6c101cb
commit 78bf81c301
13 changed files with 226 additions and 240 deletions

View File

@ -1,8 +1,12 @@
use axum::Router;
mod hello;
mod nav;
mod profile;
pub fn get_routes() -> Router {
Router::new()
.nest("/hello", hello::get_routes())
.nest("/nav", nav::get_routes())
.nest("/profile", profile::get_routes())
}