Started working on home page

This commit is contained in:
Jean-Gabriel Gill-Couture 2023-06-02 10:35:20 -04:00
parent f3b1a624eb
commit fe877d6d09
2 changed files with 13 additions and 8 deletions

View File

@ -4,13 +4,18 @@ use leptos_meta::*;
/// Renders the home page of your application.
#[component]
pub fn HomePage(cx: Scope) -> impl IntoView {
// Creates a reactive value to update the button
let (count, set_count) = create_signal(cx, 0);
let on_click = move |_| set_count.update(|count| *count += 1);
view! { cx,
<Title text="NationTech"/>
<h1 class="text-9xl">"Welcome to Nationtech.io! Through proper import paths"</h1>
<button on:click=on_click>"Click Me: " {count}</button>
<Title text="NationTech - Unconventional team for extraordinary challenges"/>
<div class="text-white bg-indigo-950 min-h-screen">
<div class="flex space-y-4 flex-col max-w-3xl container mx-auto">
<h1 class="text-6xl text-orange-400 font-extrabold pt-12">"NationTech"</h1>
<h2 class="text-3xl">"Unconventional team for extraordinary challenges"</h2>
<p class="text-xl">"We love working with small teams to tackle hard tasks. We are passionate about maximizing the value we bring to the company and project, while taking care of the people we work with."</p>
<p class="text-xl">"We are experienced in a wide array of technologies, projects and companies."</p>
<p class="text-xl">"We are eternal learners that feel a visceral need to deeply understand a problem or subject once it is on their plate."</p>
<p class="text-xl">"We don't cheap out, we always give our all, we always try to balance all the factors to find the best possible solution to any situation."</p>
<p class="text-xl">"The status quo does not exist, we always improve, automate, look for exponential gains across the stack."</p>
</div>
</div>
}
}

View File

@ -4,7 +4,7 @@ module.exports = {
theme: {
extend: {
fontFamily: {
'sans': ['Nunito', 'ui-sans-serif', 'system-ui'],
// 'sans': ['Nunito', 'ui-sans-serif', 'system-ui'],
},
},
},