use leptos::*;
use leptos_meta::*;
use leptos_router::*;
use crate::i18n::*;
use crate::error_template::{AppError, ErrorTemplate};
// use crate::services::contentful::get_rich_text_page;
// use crate::services::rich_text;
use crate::routes::gallery;
#[component]
pub fn App() -> impl IntoView {
// Provides context that manages stylesheets, titles, meta tags, etc.
provide_meta_context();
view! {
// id=leptos means cargo-leptos will hot-reload this stylesheet
}
.into_view()
}>
}>
//
//
}
}
#[component]
pub fn LanguageSwitcher() -> impl IntoView {
let i18n = use_i18n();
view! {
"I'm "Tanguy Gérôme, a 26 year old software developer, amateur photographer, and over all nerd living in Helsinki, Finland, originally from Cornimont, France.
On here you can find my personal photography portfolio, and (coming) a blog where I scribble about whatever comes to mind in relation to my hobbies and interests, including:
Linux
video games
knitting
hiking
scouting
language learning
photography (digital and film)
This website is still under construction, more content to come (hopefully) soon.