-
-
Notifications
You must be signed in to change notification settings - Fork 625
UI: add informative footer to landing page #816
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Closed
singhabhimanyu9838
wants to merge
1
commit into
AOSSIE-Org:main
from
singhabhimanyu9838:feat/add-footer-landing-page
Closed
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -1,38 +1,102 @@ | ||||||
| import type React from "react" | ||||||
| import { FaDiscord } from 'react-icons/fa' // Import Discord icon from React Icons | ||||||
| import { Link } from "react-router-dom"; | ||||||
| import { FaDiscord, FaGithub, FaBook, FaHandsHelping } from "react-icons/fa"; | ||||||
|
|
||||||
| const Footer: React.FC = () => { | ||||||
| const Footer = () => { | ||||||
| return ( | ||||||
| <footer className="relative bg-black text-white py-8 overflow-hidden"> | ||||||
| <div className="relative container mx-auto px-6"> | ||||||
| <div className="flex justify-between items-center"> | ||||||
| {/* Left-aligned PictoPy text */} | ||||||
| <div className="flex items-center space-x-2"> | ||||||
| <p className="text-xl font-medium text-transparent bg-clip-text bg-gradient-to-r from-yellow-400 to-green-400 hover:scale-105 transition-all duration-300 ease-in-out"> | ||||||
| PictoPy | ||||||
| <footer | ||||||
| className="bg-black text-white border-t border-white/10" | ||||||
| aria-label="Footer" | ||||||
| > | ||||||
| <div className="container mx-auto px-6 py-10"> | ||||||
| {/* Main Footer Content */} | ||||||
| <div className="flex flex-col md:flex-row justify-between gap-8"> | ||||||
|
|
||||||
| {/* Project Info */} | ||||||
| <div className="space-y-2 max-w-sm"> | ||||||
| <Link | ||||||
| to="/" | ||||||
| className="text-2xl font-bold | ||||||
| bg-gradient-to-r from-yellow-500 to-green-500 | ||||||
| bg-clip-text text-transparent | ||||||
| hover:from-green-600 hover:to-yellow-600 | ||||||
| transition-colors duration-300" | ||||||
| > | ||||||
| PictoPy | ||||||
| </Link> | ||||||
| <p className="text-sm text-gray-400"> | ||||||
| AI-powered, privacy-first photo management application with smart | ||||||
| tagging and local-first processing. | ||||||
| </p> | ||||||
| </div> | ||||||
|
|
||||||
| {/* Right-aligned Discord Icon and "Made with love" text */} | ||||||
| <div className="flex items-center space-x-2"> | ||||||
| <a | ||||||
| href="https://discord.com/channels/1022871757289422898/1311271974630330388" | ||||||
| target="_blank" | ||||||
| rel="noopener noreferrer" | ||||||
| className="text-sm font-medium text-transparent bg-clip-text bg-gradient-to-r from-yellow-400 to-green-400 hover:bg-gradient-to-r hover:from-yellow-500 hover:to-green-500 transition duration-300 ease-in-out" | ||||||
| {/* Resources */} | ||||||
| <div className="space-y-2"> | ||||||
| <p className="text-sm font-semibold text-gray-300">Resources</p> | ||||||
| <ul className="space-y-1 text-sm text-gray-400"> | ||||||
| <li> | ||||||
| <a | ||||||
| href="https://github.com/AOSSIE-Org/PictoPy" | ||||||
| target="_blank" | ||||||
| rel="noopener noreferrer" | ||||||
| className="flex items-center gap-2 hover:text-green-400 transition" | ||||||
| > | ||||||
| <FaGithub /> | ||||||
| GitHub | ||||||
| </a> | ||||||
| </li> | ||||||
| <li> | ||||||
| <a | ||||||
| href="https://aossie-org.github.io/PictoPy/" | ||||||
| target="_blank" | ||||||
| rel="noopener noreferrer" | ||||||
| className="flex items-center gap-2 hover:text-green-400 transition" | ||||||
| > | ||||||
| <FaBook /> | ||||||
| Documentation | ||||||
| </a> | ||||||
| </li> | ||||||
| <li> | ||||||
| <a | ||||||
| href="https://github.com/AOSSIE-Org/PictoPy/blob/main/CONTRIBUTING.md" | ||||||
| target="_blank" | ||||||
| rel="noopener noreferrer" | ||||||
| className="flex items-center gap-2 hover:text-green-400 transition" | ||||||
| > | ||||||
| <FaHandsHelping /> | ||||||
| Contribute | ||||||
| </a> | ||||||
| </li> | ||||||
| </ul> | ||||||
| </div> | ||||||
|
|
||||||
| {/* Community */} | ||||||
| <div className="space-y-2"> | ||||||
| <p className="text-sm font-semibold text-gray-300">Community</p> | ||||||
| <a | ||||||
| href="https://discord.com/channels/1022871757289422898/1311271974630330388" | ||||||
|
singhabhimanyu9838 marked this conversation as resolved.
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
Even though the channel URL points directly to PictoPy, (discord.com/channels/... )only works for existing members. For a public footer link, we should use a Discord invite link so new users can actually join the server, then navigate to the PictoPy channel. |
||||||
| target="_blank" | ||||||
| rel="noopener noreferrer" | ||||||
| aria-label="Join PictoPy Discord community" | ||||||
| className="flex items-center gap-2 text-sm text-gray-400 hover:text-green-400 transition" | ||||||
| > | ||||||
| <FaDiscord className="inline-block mr-2 text-yellow-400 hover:text-green-400 transition duration-300 ease-in-out transform scale-150" /> {/* Scale it to 1.5x */} | ||||||
| <span>Made with love by AOSSIE team</span> | ||||||
| <FaDiscord className="text-lg" /> | ||||||
| Join our Discord | ||||||
| </a> | ||||||
| </div> | ||||||
| </div> | ||||||
|
|
||||||
| <div className="mt-4 text-center border-t border-white pt-2"> | ||||||
| {/* You can add any content here if needed */} | ||||||
| {/* Bottom Bar */} | ||||||
| <div className="mt-8 pt-4 border-t border-white/10 flex flex-col sm:flex-row justify-between items-center gap-2 text-xs text-gray-500"> | ||||||
| <span> | ||||||
| © {new Date().getFullYear()} PictoPy · An open-source project by AOSSIE | ||||||
| </span> | ||||||
| <span className="flex items-center gap-1"> | ||||||
| Made with <span className="text-red-500">❤️</span> by AOSSIE team | ||||||
| </span> | ||||||
| </div> | ||||||
| </div> | ||||||
| </footer> | ||||||
| ) | ||||||
| } | ||||||
| ); | ||||||
| }; | ||||||
|
|
||||||
| export default Footer | ||||||
| export default Footer; | ||||||
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The description “AI-powered” feels a bit vague and potentially misleading. Since PictoPy explicitly uses YOLO, FaceNet, and offline ML pipelines and nothing including AI components and features
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Suggested change can be something like this:
Privacy-first photo management with offline object detection, face recognition, and smart tagging.