first steps, creating nav bar + inital work on layouts

This commit is contained in:
2026-01-14 19:03:23 -05:00
parent ee5c4f4638
commit 2d2f4c8b89
29 changed files with 6615 additions and 258 deletions

View File

@@ -1,18 +1,7 @@
//! The views module contains the components for all Layouts and Routes for our app. Each layout and route in our [`Route`]
//! enum will render one of these components.
//!
//!
//! The [`Home`] and [`Blog`] components will be rendered when the current route is [`Route::Home`] or [`Route::Blog`] respectively.
//!
//!
//! The [`Navbar`] component will be rendered on all pages of our app since every page is under the layout. The layout defines
//! a common wrapper around all child routes.
mod home;
pub use home::Home;
mod blog;
pub use blog::Blog;
pub use home::*;
mod navbar;
pub use navbar::Navbar;
pub use navbar::*;
mod settings;
pub use settings::*;