use leptos::prelude::*;

#[component]
pub fn App() -> impl IntoView {
    #[allow(unused_mut)]
    let mut views: Vec<AnyView> = vec![];

    #[cfg(feature = "icons")]
    {
        use crate::icons::Icons;
        views.push(view! { <Icons /> }.into_any());
    }

    view! { <div class="w-full h-full flex justify-center items-start">{views.into_view()}</div> }
}
