From 603d83ba1bd5234e311d6a4874a7179177f7e1bf Mon Sep 17 00:00:00 2001 From: Mo Tarbin Date: Tue, 2 Sep 2025 22:40:28 -0400 Subject: [PATCH] Revamp Footer component with enhanced layout, social links, and updated styling --- src/views/Landing/Footer.jsx | 473 +++++++++++++++++++++++++---------- 1 file changed, 342 insertions(+), 131 deletions(-) diff --git a/src/views/Landing/Footer.jsx b/src/views/Landing/Footer.jsx index 3bb5b7d..c174345 100644 --- a/src/views/Landing/Footer.jsx +++ b/src/views/Landing/Footer.jsx @@ -1,144 +1,355 @@ import LogoSVG from '@/assets/logo.svg' -import { Card, Grid } from '@mui/joy' -import Box from '@mui/joy/Box' -import Link from '@mui/joy/Link' -import Typography from '@mui/joy/Typography' -import * as React from 'react' +import { Email, GitHub } from '@mui/icons-material' +import { + Box, + Container, + Divider, + Grid, + IconButton, + Link, + Typography, +} from '@mui/joy' import { version } from '../../../package.json' +import DiscordIcon from '../../components/icons/DiscordIcon' +import RedditIcon from '../../components/icons/RedditIcon' + +const Footer = () => { + const currentYear = new Date().getFullYear() + + const footerLinks = { + product: [ + { label: 'Features', href: '#features' }, + { label: 'Demo', href: '#demo' }, + { label: 'Getting Started', href: '#getting-started' }, + { label: 'Pricing', href: '/pricing' }, + ], + resources: [ + { label: 'Documentation', href: 'https://docs.donetick.com/' }, + { label: 'API Reference', href: 'https://docs.donetick.com/api' }, + { + label: 'Discussions', + href: 'https://github.com/donetick/donetick/discussions', + }, + { label: 'Roadmap', href: 'https://github.com/orgs/donetick/projects/3' }, + ], + downloads: [ + { + label: 'GitHub Release', + href: 'https://github.com/donetick/donetick/releases', + }, + { + label: 'Docker Hub', + href: 'https://hub.docker.com/r/donetick/donetick', + }, + { + label: 'Home Assistant', + href: 'https://github.com/donetick/hassio-addons', + }, + { label: 'Source Code', href: 'https://github.com/donetick/donetick' }, + ], + legal: [ + { label: 'Privacy Policy', href: '/privacy' }, + { label: 'Terms of Service', href: '/terms' }, + { + label: 'License', + href: 'https://github.com/donetick/donetick/blob/main/LICENSE', + }, + { + label: 'Changelog', + href: 'https://github.com/donetick/donetick/releases', + }, + ], + } + + const socialLinks = [ + { + icon: , + href: 'https://github.com/donetick/donetick', + label: 'GitHub', + }, + { + icon: , + href: 'https://discord.gg/6hSH6F33q7', + label: 'Discord', + }, + { + icon: , + href: 'https://reddit.com/r/donetick', + label: 'Reddit', + }, + { icon: , href: 'mailto:support@donetick.com', label: 'Email' }, + ] -function Footer() { return ( - - - -
- logo -
- - - Done - + {/* Main Footer Content */} + + {/* Brand Section */} + + + + Donetick Logo + + Donetick + + + - tick✓ - + Open-source task management made simple. Organize your life, + collaborate with your team, and stay on top of everything that + matters. + + + {/* Social Links */} + + {socialLinks.map((social, index) => ( + + {social.icon} + + ))} + + +
+ + {/* Footer Links */} + + + + + Product + + + {footerLinks.product.map((link, index) => ( + + {link.label} + + ))} + + + + + + Resources + + + {footerLinks.resources.map((link, index) => ( + + {link.label} + + ))} + + + + + + Downloads + + + {footerLinks.downloads.map((link, index) => ( + + {link.label} + + ))} + + + + + + Legal + + + {footerLinks.legal.map((link, index) => ( + + {link.label} + + ))} + + + + + + + + + {/* Bottom Section */} + + + © {currentYear} Donetick. All rights reserved. + + + + + Version {version} + + + 100% Open Source - - - Github - - - Donetick - - - Frontend - - - Home Assistant Addon - - - Docker Images - - - Releases - - - - - Links - - - Discussions - - - Roadmap - - - Documentation - - - Changelog - - - V{version} - - - {/* - - Others - - - Telegram Integration - - - Slash Commands - - */} - -
+ + ) }