mirror of
https://github.com/eRgo35/website.git
synced 2026-02-04 13:36:10 +01:00
feat: homepage initialization, components, css, motion
This commit is contained in:
26
src/pages/home.rs
Normal file
26
src/pages/home.rs
Normal file
@@ -0,0 +1,26 @@
|
||||
use dioxus::prelude::*;
|
||||
|
||||
/// Home page
|
||||
#[component]
|
||||
pub fn Home() -> Element {
|
||||
rsx! {
|
||||
div { class: "home-card",
|
||||
div { class: "home-card-image", "Image" }
|
||||
div { class: "home-card-content",
|
||||
div { class: "home-card-hi", "Hi, I'm ..." }
|
||||
div { class: "home-card-name", "Michał Czyż" }
|
||||
div { class: "home-card-bio", "Information about me..." }
|
||||
div { class: "home-card-buttons",
|
||||
button { "Download CV" }
|
||||
button { "Contact" }
|
||||
}
|
||||
div { class: "home-card-social",
|
||||
button { "LinkedIn" }
|
||||
button { "GitHub" }
|
||||
button { "YouTube" }
|
||||
button { "Email me!" }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user