Refactor title to nav
This commit is contained in:
parent
60a36f0eb8
commit
9cd4298764
14 changed files with 98 additions and 61 deletions
|
@ -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>
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue