orbital-ui 0.1.1

Leptos component library and design system for focused, accessible product UIs
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Document shell helpers for first-paint CSS and bootstrap loading UI.

mod boot_loader;
mod head_assets;

pub use boot_loader::{hide_boot_loader, OrbitalBootLoaderHeadAssets, OrbitalBootOverlay};
pub(crate) use boot_loader::{OrbitalBootErrorContent, OrbitalBootLoadingPanel};
pub use head_assets::OrbitalFirstPaintHeadAssets;

/// Compile-time base path for static assets (`LEPTOS_BASE_PATH` at build time).
pub fn shell_site_base() -> &'static str {
    option_env!("LEPTOS_BASE_PATH").unwrap_or("")
}