From c35ee1297e2167b0bbb4a480ad29a18ca279f31e Mon Sep 17 00:00:00 2001 From: Ishaaq Ziyan Date: Sat, 29 Jun 2024 15:52:21 +0530 Subject: [PATCH] Updated code --- frontend/src/page/login.rs | 4 ++-- frontend/src/page/register.rs | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/frontend/src/page/login.rs b/frontend/src/page/login.rs index 5811807..ad48217 100644 --- a/frontend/src/page/login.rs +++ b/frontend/src/page/login.rs @@ -170,9 +170,9 @@ pub fn Login(cx: Scope) -> Element { }, img { - src: "/static/icons/uchat.jpg", // Adjust the path to your logo file + src: "/static/icons/uchat.jpg", alt: "Logo", - class: "mx-auto mb-4", // Center the logo and add bottom margin + class: "mx-auto mb-4", }, UsernameInput { diff --git a/frontend/src/page/register.rs b/frontend/src/page/register.rs index 423d991..72abe5a 100644 --- a/frontend/src/page/register.rs +++ b/frontend/src/page/register.rs @@ -162,9 +162,9 @@ pub fn Register(cx: Scope) -> Element { onsubmit: form_onsubmit, img { - src: "/static/icons/uchat.jpg", // Adjust the path to your logo file + src: "/static/icons/uchat.jpg", alt: "Logo", - class: "mx-auto mb-4", // Center the logo and add bottom margin + class: "mx-auto mb-4", }, UsernameInput {