//! Server-side App component for SSR //! //! Renders only the shell and nav during SSR //! Page content is loaded client-side after hydration use leptos::prelude::*; use rustelo_web::rustelo_components_leptos::navigation::NavMenu; use rustelo_web::rustelo_components_leptos::theme::ThemeProvider; /// Main App component for server-side rendering /// Takes the request path (for context) but renders placeholder for pages #[component] pub fn AppComponent(#[prop(default = String::new())] path: String) -> impl IntoView { view! {
// SSR placeholder - actual content loads on client
"Loading..."
} }