## feat: add footer to the /app and Dashboard pages (closes #217)#227
Merged
Userunknown84 merged 2 commits intoJun 23, 2026
Merged
Conversation
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.
|
@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. |
Userunknown84
approved these changes
Jun 23, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds a shared
Footercomponent 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 toflex flex-coland wrapped the main card inflex-1so the footer pins to the bottom without overlap.frontend/src/pages/Dashboard.jsx: render<Footer />at the end of the page.Related
Closes #217.