Skip to content

## feat: add footer to the /app and Dashboard pages (closes #217)#227

Merged
Userunknown84 merged 2 commits into
Userunknown84:mainfrom
Rudra-clrscr:feature/217-app-footer
Jun 23, 2026
Merged

## feat: add footer to the /app and Dashboard pages (closes #217)#227
Userunknown84 merged 2 commits into
Userunknown84:mainfrom
Rudra-clrscr:feature/217-app-footer

Conversation

@Rudra-clrscr

Copy link
Copy Markdown
Contributor

Summary

Adds a shared Footer component and renders it on the main detector page (/app) and the analytics Dashboard, giving both pages a consistent footer with branding and the © notice.

Changes

  • frontend/src/components/Footer.jsx (new): reusable footer with product blurb and © 2026 Spam Detection System. All Rights Reserved.
  • frontend/src/pages/App.jsx: render <Footer />; switched wrapper to flex flex-col and wrapped the main card in flex-1 so the footer pins to the bottom without overlap.
  • frontend/src/pages/Dashboard.jsx: render <Footer /> at the end of the page.

Related

Closes #217.

Adds a Footer component matching the requested copy (logo, mission
statement, feature list, mission section, tagline, copyright) styled with
the active color theme's card/accent classes so it matches whichever theme
the user has selected, in both light and dark mode.

Restructures SpamDetector's outer layout from flex-center to flex-col so
the footer renders below the centered main card instead of competing with
it for centered space, without changing the existing card's appearance.
The "Dashboard" button on /app navigates to a separate route/component
(Dashboard.jsx), not a tab within SpamDetector, so it never picked up the
footer added there. Adding it here too for consistency since they're
reached via what looks like the same tab bar.

While testing this I found the 401 redirect in axiosInstance.js points to
/login, a route that doesn't exist in this app (only /, /register, /app,
/dashboard are defined) - causes a blank page on any expired/missing
token. Did not fix it here since it's unrelated to the footer; flagging
for a separate fix.
@vercel

vercel Bot commented Jun 23, 2026

Copy link
Copy Markdown

@Rudra-clrscr is attempting to deploy a commit to the Aditya Sharma's projects Team on Vercel.

A member of the Team first needs to authorize it.

@github-actions github-actions Bot added SSoC26 enhancement New feature or request Hard labels Jun 23, 2026
@Userunknown84 Userunknown84 merged commit 4e77884 into Userunknown84:main Jun 23, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Hard SSoC26

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add Footer on route"/app"

2 participants