Skip to content

feat: #384 [Frontend] Background Consistency Across All Pages#473

Merged
Olowodarey merged 1 commit intoArena1X:mainfrom
amankoli09:feat/issue-384-background-consistency
Mar 29, 2026
Merged

feat: #384 [Frontend] Background Consistency Across All Pages#473
Olowodarey merged 1 commit intoArena1X:mainfrom
amankoli09:feat/issue-384-background-consistency

Conversation

@amankoli09
Copy link
Copy Markdown
Contributor

Summary

Closes #384

Implements a reusable PageBackground component and applies it consistently across all pages to replace inconsistent solid black backgrounds.

Changes

🆕 Refactored

  • frontend/src/component/PageBackground.tsx — Upgraded from an inner-background helper to a full-page wrapper component (min-h-screen gradient + SVG network lines), exactly matching the homepage design pattern.

Updated Pages

Page Before After
app/page.tsx (Homepage) Inline duplicate background markup Uses <PageBackground>
app/Faq/page.tsx Nested inside outer div, inconsistent structure PageBackground as root container
app/login/page.tsx Solid bg-black Uses <PageBackground>
app/signin/page.tsx Solid bg-black Uses <PageBackground>
app/profilePage/page.tsx Solid bg-black Uses <PageBackground>

How It Works

PageBackground is now the single source of truth for the app background. Any page just wraps its content:

<PageBackground>
  <Header />
  {/* page content */}
  <Footer />
</PageBackground>

- 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
@vercel
Copy link
Copy Markdown

vercel bot commented Mar 29, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
insight-arena-4rll Ready Ready Preview, Comment Mar 29, 2026 6:31am

@drips-wave
Copy link
Copy Markdown

drips-wave bot commented Mar 29, 2026

@amankoli09 Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@Olowodarey Olowodarey merged commit 1372838 into Arena1X:main Mar 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Frontend] Background Consistency Across All Pages

2 participants