add initial crates and apps
This commit is contained in:
parent
5c87ba3519
commit
1ca300098f
113 changed files with 28169 additions and 0 deletions
36
crates/chattyness-user-ui/src/lib.rs
Normal file
36
crates/chattyness-user-ui/src/lib.rs
Normal file
|
|
@ -0,0 +1,36 @@
|
|||
#![recursion_limit = "256"]
|
||||
//! User UI components for chattyness.
|
||||
//!
|
||||
//! This crate provides the public user-facing interface including:
|
||||
//! - Login and signup pages
|
||||
//! - Realm browsing and viewing
|
||||
//! - Scene editor for realm builders
|
||||
//!
|
||||
//! ## Usage
|
||||
//!
|
||||
//! For standalone use:
|
||||
//! ```ignore
|
||||
//! use chattyness_user_ui::App;
|
||||
//! // App includes its own Router
|
||||
//! ```
|
||||
//!
|
||||
//! For embedding in a combined app (e.g., chattyness-app):
|
||||
//! ```ignore
|
||||
//! use chattyness_user_ui::UserRoutes;
|
||||
//! // UserRoutes can be placed inside an existing Router
|
||||
//! ```
|
||||
|
||||
#[cfg(feature = "ssr")]
|
||||
pub mod api;
|
||||
pub mod app;
|
||||
#[cfg(feature = "ssr")]
|
||||
pub mod auth;
|
||||
pub mod components;
|
||||
pub mod pages;
|
||||
pub mod routes;
|
||||
|
||||
pub use app::{shell, App};
|
||||
pub use routes::UserRoutes;
|
||||
|
||||
#[cfg(feature = "ssr")]
|
||||
pub use app::AppState;
|
||||
Loading…
Add table
Add a link
Reference in a new issue