From 5f900bbceb152dea357896ff55b17097dfd5f3d7 Mon Sep 17 00:00:00 2001 From: Maaz Date: Sun, 15 Jun 2025 15:04:37 -0500 Subject: [PATCH] refactor: remove unused props from section components for cleaner code --- src/App.tsx | 26 +++------------------- src/components/AboutSection.tsx | 9 +------- src/components/AcademicSection.tsx | 2 -- src/components/AthleticsSection.tsx | 4 ---- src/components/EntrepreneurshipSection.tsx | 2 -- src/components/Footer.tsx | 9 +------- src/components/HeroSection.tsx | 4 +--- src/components/LeadershipSection.tsx | 2 -- src/components/TechSection.tsx | 2 -- 9 files changed, 6 insertions(+), 54 deletions(-) diff --git a/src/App.tsx b/src/App.tsx index b2ad117..cbbb1d5 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -203,21 +203,14 @@ const App = () => { isDarkMode={isDarkMode} scrollToSection={scrollToSection} textClasses={textClasses} - cardClasses={cardClasses} /> {/* About Section */} - + {/* Academic Section */} @@ -225,7 +218,6 @@ const App = () => { {/* Tech Section */} @@ -233,23 +225,16 @@ const App = () => { {/* Leadership Section */} {/* Athletics Section */} - + {/* Entrepreneurship Section */} @@ -262,12 +247,7 @@ const App = () => { /> {/* Footer */} -