Skip to content

Commit

Permalink
fix ui
Browse files Browse the repository at this point in the history
  • Loading branch information
ejf89 committed Feb 1, 2024
1 parent 038ae1b commit 397f435
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions js/hubs/components/NavBar.js
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const NavBar = ({ hubPubkey }) => {
</LogoLinkWrapper>
</a>
</Link>
<Typography style={{ display: 'flex', cursor: 'default' }}>
<Redirect style={{ display: 'flex', cursor: 'default' }}>
{' '}
This subdomain will soon be deprecated. Please visit{' '}
<BlueTypography style={{ margin: '0 4px' }}>
Expand All @@ -182,7 +182,7 @@ const NavBar = ({ hubPubkey }) => {
</Link>
</BlueTypography>
to access or create hubs{' '}
</Typography>
</Redirect>
<CtaWrapper>
{!mobileView && canAddContent && getMenuButtons(hubData?.handle)}
{!wallet?.connected && (
Expand Down Expand Up @@ -376,6 +376,17 @@ const CtaWrapper = styled(Box)(({ theme }) => ({
alignItems: 'center',
}))

const Redirect = styled(Typography)(({ theme }) => ({
display: 'flex',
alignItems: 'center',
[theme.breakpoints.down('md')]: {
width: '80vw',
margin: '140px auto',
display: 'flex',
flexDirection: 'column',
},
}))

const StyledAppBar = styled(AppBar)(({ theme }) => ({
backgroundColor: theme.palette.background.default,
color: 'black',
Expand Down

0 comments on commit 397f435

Please sign in to comment.