From 57fd988d77e7905f6760167a150a297c839587ca Mon Sep 17 00:00:00 2001 From: Alaguraj0361 Date: Tue, 28 Oct 2025 10:44:31 +0530 Subject: [PATCH] banner first slider h1 tag others change to h3 tag --- components/sections/home2/Banner.js | 31 ++++++++++++++++++++--------- 1 file changed, 22 insertions(+), 9 deletions(-) diff --git a/components/sections/home2/Banner.js b/components/sections/home2/Banner.js index 3d39233..df1a97e 100644 --- a/components/sections/home2/Banner.js +++ b/components/sections/home2/Banner.js @@ -142,15 +142,28 @@ export default function Banner() { }} > {s.upper} -

- {s.title} -

+ {/* ✅ Use

for first slide only */} + {s.id === 0 ? ( +

+ {s.title} +

+ ) : ( +

+ {s.title} +

+ )}

{s.desc}