diff --git a/src/components/common/Footer/index.tsx b/src/components/common/Footer/index.tsx index 039577c92a..2f9e179b7a 100644 --- a/src/components/common/Footer/index.tsx +++ b/src/components/common/Footer/index.tsx @@ -18,6 +18,7 @@ const footerPages = [ AppRoutes.terms, AppRoutes.licenses, ] + const FooterLink = ({ children, href }: { children: ReactNode; href: string }): ReactElement => { return href ? ( @@ -27,12 +28,14 @@ const FooterLink = ({ children, href }: { children: ReactNode; href: string }): {children} ) } + const Footer = (): ReactElement | null => { const router = useRouter() if (!footerPages.some((path) => router.pathname.startsWith(path))) { return null } + const getHref = (path: string): string => { return router.pathname === path ? '' : path } @@ -49,12 +52,24 @@ const Footer = (): ReactElement | null => {
  • Preferences
  • -
  • Help
  • + {/* Additional links */} +
  • + X +
  • +
  • + Website +
  • +
  • + Discord +
  • +
  • + Docs +
  • Supported by{' '} diff --git a/src/components/sidebar/QrCodeButton/QrModal.tsx b/src/components/sidebar/QrCodeButton/QrModal.tsx index b7357fe073..c8e6e851d2 100644 --- a/src/components/sidebar/QrCodeButton/QrModal.tsx +++ b/src/components/sidebar/QrCodeButton/QrModal.tsx @@ -77,8 +77,15 @@ const QrModal = ({ onClose }: { onClose: () => void }): ReactElement => { />