From 804bb6c9acb7f4eedd547eba7516e91e4a218d86 Mon Sep 17 00:00:00 2001 From: enes Date: Fri, 26 Jul 2024 16:03:45 +0200 Subject: [PATCH] fix: composition for links and buttons --- src/components/Footer/Footer.tsx | 68 ++++++++++++++------------------ src/layouts/modal/index.tsx | 25 ++++++------ 2 files changed, 43 insertions(+), 50 deletions(-) diff --git a/src/components/Footer/Footer.tsx b/src/components/Footer/Footer.tsx index e9d3296..857520d 100644 --- a/src/components/Footer/Footer.tsx +++ b/src/components/Footer/Footer.tsx @@ -1,5 +1,5 @@ -import { Box, Button, Container, Link } from '@mui/material' -import { Link as RouterLink } from 'react-router-dom' +import { Box, Button, Container, Link as LinkMui } from '@mui/material' +import { Link } from 'react-router-dom' import styles from './style.module.scss' export const Footer = () => ( @@ -24,19 +24,19 @@ export const Footer = () => ( }} gap={'50px'} > - Logo - + ( component={'nav'} className={styles.nav} > - - - - - - - - - + + + ( } }} > - - - + nostr logo +
Built by  - + Nostr Dev - {' '} + {' '} 2024.
diff --git a/src/layouts/modal/index.tsx b/src/layouts/modal/index.tsx index 0feec3b..cf9d45c 100644 --- a/src/layouts/modal/index.tsx +++ b/src/layouts/modal/index.tsx @@ -45,23 +45,24 @@ export const Modal = () => { > - Login + {tabs.find((t) => activeTab === t.to)?.title} {tabs.map((t) => { return ( - - - + ) })}