Refactor title to nav

This commit is contained in:
Florian RICHER 2024-01-07 23:00:54 +01:00
parent 60a36f0eb8
commit 9cd4298764
14 changed files with 98 additions and 61 deletions

View file

@ -1,10 +1,10 @@
use leptos::*;
use super::super::components::{Title, MonParcours};
use super::super::components::{Nav, MonParcours};
#[component]
pub fn Experience() -> impl IntoView {
view! {
<Nav/>
<main class="m-0 p-0 bg-surface dark:bg-dark_surface text-on_surface dark:text-dark_on_surface">
<Title href="/".to_string() title="Mon parcours".to_string()/>
<MonParcours/>
</main>
}