Begin Migrate timeline

This commit is contained in:
Florian RICHER 2023-10-09 14:11:28 +02:00
parent baf94d226d
commit f1ae831b09
No known key found for this signature in database
GPG key ID: 6BF27BF8A1E71623

View file

@ -0,0 +1,14 @@
use leptos::*;
#[component]
pub fn Timeline(
children: Children
) -> impl IntoView {
view! {
<div class="w-full px-5">
<ul class="list-none py-5 px-0 relative w-full max-w-5xl mx-auto before:top-0 before:bottom-0 before:left-0 before:md:left-1/2 before:absolute before:content-[""] before:w-2 before:bg-primary/10 before:dark:bg-dark_primary/10 before:shadow-md before:shadow-primary/5 before:dark:shadow-dark_primary/5">
{ children() }
</ul>
</div>
}
}