added profile section to homepage

This commit is contained in:
2024-03-22 20:25:52 -04:00
parent a7368aec30
commit e211f476a7
15 changed files with 128 additions and 31 deletions

View File

@ -0,0 +1,25 @@
use leptos::leptos_dom::*;
use leptos::*;
use leptos_icons::*;
use leptos_icons::CgIcon::*;
#[component]
pub fn Personal() -> impl IntoView {
view! {
<div class=" personal-container">
<Profile />
</div>
}
}
#[component]
pub fn Profile() -> impl IntoView {
view! {
<div class="profile-container">
<div class="profile-icon">
<Icon icon=Icon::from(CgProfile) />
</div>
</div>
}
}