feat: add about page

This commit is contained in:
Kristofers Solo 2025-06-26 15:52:25 +03:00
parent 1f64283998
commit 1bc371e893
Signed by: kristoferssolo
GPG Key ID: 8687F2D3EEE6F0ED
3 changed files with 12 additions and 2 deletions

View File

@ -0,0 +1,10 @@
use leptos::prelude::*;
#[component]
pub fn hero() -> impl IntoView {
view! {
<section id="hero">
<h1 class="text-4xl font-bold">"Hi, I'm [Your Name]."</h1>
</section>
}
}

View File

@ -1,5 +1,4 @@
use leptos::prelude::*;
/// Renders the home page of your application.
#[component]
pub fn HomePage() -> impl IntoView {

View File

@ -1,4 +1,5 @@
pub mod app;
mod app;
mod hero;
mod home_page;
pub use app::App;