From cf799e63ca57c15bc12e61f7f3749192e89f0769 Mon Sep 17 00:00:00 2001 From: Adithya Krishna Date: Sat, 26 Aug 2023 13:19:47 +0530 Subject: [PATCH] chore: updated footer component Signed-off-by: Adithya Krishna --- .../web/src/components/(marketing)/footer.tsx | 79 +++++++------------ 1 file changed, 28 insertions(+), 51 deletions(-) diff --git a/apps/web/src/components/(marketing)/footer.tsx b/apps/web/src/components/(marketing)/footer.tsx index 823ece92e..df47b05da 100644 --- a/apps/web/src/components/(marketing)/footer.tsx +++ b/apps/web/src/components/(marketing)/footer.tsx @@ -10,6 +10,19 @@ import { cn } from '@documenso/ui/lib/utils'; export type FooterProps = HTMLAttributes; export const Footer = ({ className, ...props }: FooterProps) => { + const socialLinks = [ + { href: 'https://twitter.com/documenso', icon: }, + { href: 'https://github.com/documenso/documenso', icon: }, + { href: 'https://documenso.slack.com', icon: }, + ]; + + const footerLinks = [ + { href: '/pricing', text: 'Pricing' }, + { href: 'https://status.documenso.com', text: 'Status', target: '_blank' }, + { href: 'mailto:support@documenso.com', text: 'Support' }, + // { href: '/privacy', text: 'Privacy'} + ]; + return (
@@ -19,61 +32,25 @@ export const Footer = ({ className, ...props }: FooterProps) => {
- - - - - - - - - - - + {socialLinks.map((link, index) => ( + + {link.icon} + + ))}
- - Pricing - - - - Status - - - - Support - - - {/* - Privacy - */} + {footerLinks.map((link, index) => ( + + {link.text} + + ))}