From a0ac416930c5f02890bccb838d9bcb50c565f30d Mon Sep 17 00:00:00 2001 From: IshanBaidya <165746811+VaidyaIshan@users.noreply.github.com> Date: Sat, 11 Apr 2026 21:00:11 +0545 Subject: [PATCH] fix: Stat Page and Main Hero Page Div --- frontend/src/app/sections/home/Hero.tsx | 77 ++++++++----------------- frontend/tsconfig.json | 2 +- 2 files changed, 26 insertions(+), 53 deletions(-) diff --git a/frontend/src/app/sections/home/Hero.tsx b/frontend/src/app/sections/home/Hero.tsx index e1223ef..a8b8500 100644 --- a/frontend/src/app/sections/home/Hero.tsx +++ b/frontend/src/app/sections/home/Hero.tsx @@ -10,77 +10,50 @@ import Flicker from "@/app/components/Flicker/flicker"; import { useState, useCallback } from "react"; - const Hero = () => { const [isGlowing, setIsGlowing] = useState(true); -const handleGlowChange = useCallback((allGlowing: boolean) => { - setIsGlowing(allGlowing); -}, []); + const handleGlowChange = useCallback((allGlowing: boolean) => { + setIsGlowing(allGlowing); + }, []); + return (
- {/*Original div -->
*/} -
- -

- 12th - 14th June +

+ + +

+ 12th - 14th June

+ - {/*
*/} - - {/*
- -

- Explore With Devfolio -

-
*/} - {/*
-

- Pre-Register Now -

-
*/} - - - + -
+
-

+

Join Our Discord!

- -
+
- +
); }; export default Hero; diff --git a/frontend/tsconfig.json b/frontend/tsconfig.json index d7bea84..e0fabc3 100644 --- a/frontend/tsconfig.json +++ b/frontend/tsconfig.json @@ -14,7 +14,7 @@ "moduleResolution": "bundler", "resolveJsonModule": true, "isolatedModules": true, - "jsx": "react-jsx", + "jsx": "preserve", "incremental": true, "plugins": [ {