stealthier skeleton
This commit is contained in:
parent
c77086f912
commit
eefebcde29
1 changed files with 4 additions and 16 deletions
|
@ -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>
|
|
||||||
// }
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue