diff --git a/apps/web/i18n b/apps/web/i18n index 09348e98..f4e34f23 160000 --- a/apps/web/i18n +++ b/apps/web/i18n @@ -1 +1 @@ -Subproject commit 09348e98c400f2cad23c06fdfc20da2495d42125 +Subproject commit f4e34f23010045297e3cfe58851e6f3eb771f92a diff --git a/apps/web/public/images/home/WeChatQRCode.jpg b/apps/web/public/images/home/WeChatQRCode.jpg new file mode 100644 index 00000000..41693235 Binary files /dev/null and b/apps/web/public/images/home/WeChatQRCode.jpg differ diff --git a/apps/web/public/images/logos/WeChatAccount.svg b/apps/web/public/images/logos/WeChatAccount.svg new file mode 100644 index 00000000..dcb65099 --- /dev/null +++ b/apps/web/public/images/logos/WeChatAccount.svg @@ -0,0 +1,16 @@ + + \ No newline at end of file diff --git a/apps/web/public/images/logos/twitter.svg b/apps/web/public/images/logos/twitter.svg new file mode 100644 index 00000000..fa3a63b0 --- /dev/null +++ b/apps/web/public/images/logos/twitter.svg @@ -0,0 +1,16 @@ + + \ No newline at end of file diff --git a/apps/web/src/common/components/Copyright.tsx b/apps/web/src/common/components/Copyright.tsx index 8442eeba..865ac631 100644 --- a/apps/web/src/common/components/Copyright.tsx +++ b/apps/web/src/common/components/Copyright.tsx @@ -1,13 +1,33 @@ import React from 'react'; import Link from 'next/link'; import { Center } from '@common/components/Layout'; -import { AiFillGithub } from 'react-icons/ai'; -import { SiGitee } from 'react-icons/si'; +import Twitter from '@public/images/logos/twitter.svg'; +import WeChatAccount from '@public/images/logos/WeChatAccount.svg'; +import Tooltip from '@mui/material/Tooltip'; +import Image from 'next/image'; +import { createTheme, ThemeProvider } from '@mui/material/styles'; +import { useTranslation } from 'next-i18next'; interface CopyrightProps { dark?: boolean; } +const theme = createTheme({ + components: { + MuiTooltip: { + styleOverrides: { + tooltip: { + backgroundColor: '#ffffff', + }, + arrow: { + color: '#ffffff', + }, + }, + }, + }, +}); const Copyright = ({ dark = false }: CopyrightProps) => { + const { t } = useTranslation(); + return (