use crate::section::Section; use leptos::{component, view, Children, For, IntoView}; #[component] #[must_use] pub fn WorkExperience(children: Children) -> impl IntoView { view! {
{children()}
} } #[component] #[must_use] pub fn Job( company: &'static str, title: &'static str, time_period: &'static str, achievements: Vec<&'static str>, ) -> impl IntoView { view! {

{company} {" - "} {title}

{time_period}

} }