From e7a45dc46c93c94b8dd2a52a656ff0cb3d5539d2 Mon Sep 17 00:00:00 2001
From: Romulus21
Date: Wed, 18 Jun 2025 22:50:40 +0200
Subject: [PATCH] change links size
---
README.md | 2 +-
src/app.rs | 12 +++++++++++-
src/routes/link.rs | 11 ++++++-----
3 files changed, 18 insertions(+), 7 deletions(-)
diff --git a/README.md b/README.md
index 2e8ca33..644d56d 100644
--- a/README.md
+++ b/README.md
@@ -33,7 +33,7 @@ WantedBy=multi-user.target
[ ] value gestion des erreurs
[x] deploy
[x] hydratation
-[ ] liens icones
+[x] liens icones
[ ] liens position
[ ] liens edition
diff --git a/src/app.rs b/src/app.rs
index 117e883..e09a42d 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -26,7 +26,17 @@ pub fn App() -> impl IntoView {
// }/>
-
+
}
diff --git a/src/routes/link.rs b/src/routes/link.rs
index 09c2bb3..bd20148 100644
--- a/src/routes/link.rs
+++ b/src/routes/link.rs
@@ -80,7 +80,7 @@ pub fn Links() -> impl IntoView {
view! {
-
+
"Loading Comments from the article"
}>
"Something went wrong."}
@@ -131,13 +131,14 @@ fn Link(
links: Resource,
) -> impl IntoView {
view! {
-
-
+
-
+

+ alt={move || link.with(|x| x.name.to_string())}
+ class="block size-32 lg:size-54 object-cover overflow-hidden" />
{move || link.with(|x| x.name.to_string())}