stealthier skeleton

This commit is contained in:
Adam 2024-07-16 03:53:15 -04:00
parent c77086f912
commit eefebcde29

View file

@ -5,23 +5,11 @@ use leptos::*;
pub fn Skeleton() -> impl IntoView { pub fn Skeleton() -> impl IntoView {
view! { view! {
<div class="flex animate-pulse"> <div class="flex animate-pulse">
<div class="place-items-center mx-auto"> <Container>
<p>Loading...</p> <div class="place-items-center mx-auto h-64">
// <code class="my-auto">"███████▒▒▒ 69%"</code>
</div> </div>
</Container>
</div> </div>
} }
} }
// #[component]
// pub fn Skeleton() -> impl IntoView {
// view! {
// <Container>
// <div class="flex animate-pulse">
// <div class="place-items-center mx-auto">
// <code class="my-auto">"███████▒▒▒ 69%"</code>
// </div>
// </div>
// </Container>
// }
// }
//