From 6b0d210c10a5a7b624ae81e14751590e3fdf6eac Mon Sep 17 00:00:00 2001 From: Philippe Loctaux Date: Thu, 26 Jun 2025 21:48:56 +0200 Subject: [PATCH] removed twitter and telegram, added youtube and matrix --- crates/plcom/src/common/icon.rs | 40 +++++++++++++++--------------- crates/plcom/src/pages/root/www.rs | 19 ++++++-------- 2 files changed, 28 insertions(+), 31 deletions(-) diff --git a/crates/plcom/src/common/icon.rs b/crates/plcom/src/common/icon.rs index 9a7578f..51c055f 100644 --- a/crates/plcom/src/common/icon.rs +++ b/crates/plcom/src/common/icon.rs @@ -7,9 +7,9 @@ pub enum Icon { Link, Calendar, Location, - Twitter, - Telegram, Mastodon, + Matrix, + YouTube, Github, Linkedin, Map, @@ -76,24 +76,6 @@ impl IntoAny for Icon { > }.into_any(), - Icon::Twitter => view! { - - - - }.into_any(), - Icon::Telegram => view! { - - - - }.into_any(), Icon::Mastodon => view! { }.into_any(), + Icon::Matrix => view! { + + + + }.into_any(), + Icon::YouTube => view! { + + + + }.into_any(), Icon::Github => view! { impl IntoAny { let www = [ Www { - link: Link::new( - uri!("https://twitter.com/philippeloctaux").into(), - "Twitter", - ), - icon: Icon::Twitter, - }, - Www { - link: Link::new(uri!("https://t.me/philippeloctaux").into(), "Telegram"), - icon: Icon::Telegram, + link: Link::new(uri!("https://github.com/deadbaed").into(), "GitHub"), + icon: Icon::Github, }, Www { link: Link::new(uri!("https://mastodon.social/@philt3r").into(), "Mastodon"), icon: Icon::Mastodon, }, Www { - link: Link::new(uri!("https://github.com/deadbaed").into(), "GitHub"), - icon: Icon::Github, + link: Link::new(uri!("https://matrix.to/#/@philt3r:mozilla.org").into(), "Matrix"), + icon: Icon::Matrix, + }, + Www { + link: Link::new(uri!("https://youtube.com/philippeloctaux").into(), "YouTube"), + icon: Icon::YouTube, }, Www { link: Link::new(