From 97990e05a0f66a695e24374a0420db9129ce6668 Mon Sep 17 00:00:00 2001 From: Aman koli <2025.amana@isu.ac.in> Date: Sun, 29 Mar 2026 11:54:06 +0530 Subject: [PATCH] feat: #384 apply consistent PageBackground across all pages - Refactor PageBackground.tsx to be a full-page wrapper (min-h-screen gradient + SVG network lines) matching the homepage design - Refactor homepage (page.tsx) to use PageBackground instead of duplicated inline background markup - Fix Faq/page.tsx: use PageBackground as root container instead of wrapping it in an outer div - Fix login/page.tsx: replace solid bg-black with PageBackground - Fix signin/page.tsx: replace solid bg-black with PageBackground - Fix profilePage/page.tsx: replace bg-black with PageBackground --- frontend/src/app/Faq/page.tsx | 130 +++--- frontend/src/app/login/page.tsx | 217 +++++----- frontend/src/app/page.tsx | 75 +--- frontend/src/app/profilePage/page.tsx | 502 +++++++++++----------- frontend/src/app/signin/page.tsx | 237 +++++----- frontend/src/component/PageBackground.tsx | 94 ++-- 6 files changed, 607 insertions(+), 648 deletions(-) diff --git a/frontend/src/app/Faq/page.tsx b/frontend/src/app/Faq/page.tsx index 1c54fb01..94f9089e 100644 --- a/frontend/src/app/Faq/page.tsx +++ b/frontend/src/app/Faq/page.tsx @@ -52,80 +52,76 @@ export default function CryptoFAQ() { }; return ( -
- + +
-
-
+
+
+
+
+

+ Support +

+

+ Frequently Asked Questions +

+

+ Find quick answers about crypto basics, tournaments, and how + to get started on InsightArena. +

+
-
-
-
-
-

- Support -

-

- Frequently Asked Questions -

-

- Find quick answers about crypto basics, tournaments, and how - to get started on InsightArena. -

-
+ + + Back to home + +
- + {faqItems.map((item) => ( +
- - Back to home - -
- -
- {faqItems.map((item) => ( -
toggleFAQ(item.id)} > - +

+ {item.id}. {item.question} +

+ + {item.isOpen ? ( + + ) : ( + + )} + + - {item.isOpen && ( -
-

{item.answer}

-
- )} -
- ))} -
+ {item.isOpen && ( +
+

{item.answer}

+
+ )} +
+ ))} +
-
-

- Still need help? Explore the platform from the homepage and - keep an eye on upcoming guides and community resources. -

-
- - +
+

+ Still need help? Explore the platform from the homepage and + keep an eye on upcoming guides and community resources. +

+
+ + -
- +