From dccffd6900b2658f8218895053851c056eba6e62 Mon Sep 17 00:00:00 2001 From: Neeru <161798182+neeru24@users.noreply.github.com> Date: Mon, 14 Oct 2024 22:21:42 +0530 Subject: [PATCH] Update Landing.jsx --- frontend/src/components/ui/Landing.jsx | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) diff --git a/frontend/src/components/ui/Landing.jsx b/frontend/src/components/ui/Landing.jsx index 0ecefc1a..c5a1263f 100644 --- a/frontend/src/components/ui/Landing.jsx +++ b/frontend/src/components/ui/Landing.jsx @@ -39,7 +39,27 @@ function Landing() {
{/* Text Content */}
-

+

{ + e.currentTarget.style.transform = 'scale(1.05)'; /* Slight zoom effect */ + e.currentTarget.style.color = '#4e2c0a'; /* Brown text color */ + e.currentTarget.style.textShadow = '0 0 5px rgba(78, 44, 10, 0.6), 0 0 10px rgba(78, 44, 10, 0.4)'; + }} + onMouseOut={(e) => { + e.currentTarget.style.transform = 'scale(1)'; /* Reset scale */ + e.currentTarget.style.color = '#333'; /* Reset text color */ + e.currentTarget.style.textShadow = 'none'; /* Remove glow */ + }} + > A unique café experience awaits you