chore: made requested changes - v2

Signed-off-by: Adithya Krishna <adikrish@redhat.com>
This commit is contained in:
Adithya Krishna
2023-08-28 12:53:51 +05:30
committed by Mythie
parent 5ca4a7e117
commit a7e43c5d77
3 changed files with 69 additions and 93 deletions

View File

@ -3,7 +3,7 @@ import { HTMLAttributes } from 'react';
import Image from 'next/image';
import Link from 'next/link';
import { Github, Slack, Twitter } from 'lucide-react';
import { Github, MessagesSquare, Twitter } from 'lucide-react';
import { cn } from '@documenso/ui/lib/utils';
@ -12,17 +12,17 @@ export type FooterProps = HTMLAttributes<HTMLDivElement>;
const SOCIAL_LINKS = [
{ href: 'https://twitter.com/documenso', icon: <Twitter className="h-6 w-6" /> },
{ href: 'https://github.com/documenso/documenso', icon: <Github className="h-6 w-6" /> },
{ href: 'https://documenso.slack.com', icon: <Slack className="h-6 w-6" /> },
{ href: 'https://documen.so/discord', icon: <MessagesSquare className="h-6 w-6" /> },
];
const FOOTER_LINKS = [
{ href: '/pricing', text: 'Pricing' },
{ href: 'https://status.documenso.com', text: 'Status', target: '_blank' },
{ href: 'mailto:support@documenso.com', text: 'Support' },
// { href: '/privacy', text: 'Privacy'}
];
export const Footer = ({ className, ...props }: FooterProps) => {
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 (
<div className={cn('border-t py-12', className)} {...props}>
<div className="mx-auto flex w-full max-w-screen-xl flex-wrap items-start justify-between gap-8 px-8">
@ -41,7 +41,7 @@ export const Footer = ({ className, ...props }: FooterProps) => {
</div>
<div className="flex flex-wrap items-center gap-x-4 gap-y-2.5">
{footerLinks.map((link, index) => (
{FOOTER_LINKS.map((link, index) => (
<Link
key={index}
href={link.href}