chore: add email to footer social config
This commit is contained in:
parent
02b5ee1727
commit
3136766a6d
@ -12,6 +12,7 @@ import { TikTokIcon } from '@/components/icons/tiktok';
|
||||
import { XTwitterIcon } from '@/components/icons/x';
|
||||
import { YouTubeIcon } from '@/components/icons/youtube';
|
||||
import type { MenuItem } from '@/types';
|
||||
import { MailIcon } from 'lucide-react';
|
||||
import { websiteConfig } from './website';
|
||||
|
||||
/**
|
||||
@ -115,5 +116,13 @@ export function getSocialLinks(): MenuItem[] {
|
||||
});
|
||||
}
|
||||
|
||||
if (websiteConfig.mail.supportEmail) {
|
||||
socialLinks.push({
|
||||
title: 'Email',
|
||||
href: `mailto:${websiteConfig.mail.supportEmail}`,
|
||||
icon: <MailIcon className="size-4 shrink-0" />,
|
||||
});
|
||||
}
|
||||
|
||||
return socialLinks;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user