Merge pull request #476 from toeverything/fix/add-block-suite-link
fix: add block suite link
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
/* eslint-disable @typescript-eslint/naming-convention */
|
/* eslint-disable @typescript-eslint/naming-convention */
|
||||||
import { useTranslation } from 'react-i18next';
|
import { useTranslation } from 'react-i18next';
|
||||||
|
|
||||||
import { Box, Button, Grid, Typography } from '@mui/joy';
|
import { Box, Button, Grid, styled, Typography } from '@mui/joy';
|
||||||
|
|
||||||
import GitHubIcon from '@mui/icons-material/GitHub';
|
import GitHubIcon from '@mui/icons-material/GitHub';
|
||||||
import RedditIcon from '@mui/icons-material/Reddit';
|
import RedditIcon from '@mui/icons-material/Reddit';
|
||||||
@@ -361,7 +361,14 @@ export const AFFiNEFooter = ({
|
|||||||
>
|
>
|
||||||
#OpenSource
|
#OpenSource
|
||||||
</span>
|
</span>
|
||||||
company
|
<span>software, built with </span>
|
||||||
|
<StyledLink
|
||||||
|
href="https://block-suite.com"
|
||||||
|
target="_blank"
|
||||||
|
rel="noreferrer"
|
||||||
|
>
|
||||||
|
BlockSuite
|
||||||
|
</StyledLink>
|
||||||
</Typography>
|
</Typography>
|
||||||
</Box>
|
</Box>
|
||||||
</Grid>
|
</Grid>
|
||||||
@@ -383,3 +390,13 @@ export const AFFiNEFooter = ({
|
|||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
const StyledLink = styled('a')({
|
||||||
|
fontWeight: '900',
|
||||||
|
color: '#000',
|
||||||
|
textDecoration: 'none',
|
||||||
|
|
||||||
|
'&:hover': {
|
||||||
|
textDecoration: 'underline',
|
||||||
|
},
|
||||||
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user