Mon parcours
Blog
diff --git a/src/app/components/social_link.rs b/src/app/components/social_link.rs
index b897dd1..203533d 100644
--- a/src/app/components/social_link.rs
+++ b/src/app/components/social_link.rs
@@ -1,5 +1,4 @@
use leptos::*;
-use leptos_icons::*;
#[component]
pub fn SocialLinkContainer(
@@ -17,11 +16,11 @@ pub fn SocialLink(
children: Children,
#[prop(optional)]
url: Option
,
- icon: Icon,
+ icon: icondata::Icon,
) -> impl IntoView {
view! {
-
+
{ children() }
}
diff --git a/src/app/components/timeline.rs b/src/app/components/timeline.rs
index 97d9166..c4d2a53 100644
--- a/src/app/components/timeline.rs
+++ b/src/app/components/timeline.rs
@@ -1,5 +1,4 @@
use leptos::*;
-use leptos_icons::FaIcon::FaCaretDownSolid;
use leptos_icons::*;
#[component]
@@ -113,7 +112,7 @@ impl IntoView for TimelineCard {
{ self.titles.collect_view() }
-
+
{ self.cards.collect_view() }
diff --git a/src/app/components/top_component.rs b/src/app/components/top_component.rs
index 45912f1..2e3d0c2 100644
--- a/src/app/components/top_component.rs
+++ b/src/app/components/top_component.rs
@@ -1,6 +1,4 @@
use leptos::*;
-use leptos_icons::FaIcon::{FaGithubBrands, FaLinkedinBrands, FaEnvelopeSolid};
-use leptos_icons::*;
use super::*;
@@ -28,9 +26,9 @@ pub fn TopComponent() -> impl IntoView {
Mon blog