distribution-calc/src/components/common.rs
Felipe Contreras Salinas 5947ac60d5
feat: add binomial distribution calc (#1)
Also, renames the project

Reviewed-on: #1
Co-authored-by: Felipe Contreras Salinas <felipe@bstr.cl>
Co-committed-by: Felipe Contreras Salinas <felipe@bstr.cl>
2025-12-08 15:54:09 -03:00

18 lines
421 B
Rust

use leptos::html::ElementChild;
use leptos::{IntoView, component, view};
use leptos_router::nested_router::Outlet;
use crate::components::localization::{I18n, LanguageSelector};
#[component]
pub fn Common() -> impl IntoView {
view! {
<I18n>
<header>
<a href="/">"🏡"</a>
<LanguageSelector />
</header>
<Outlet />
</I18n>
}
}