feat: modify invite page & 404 page (#1097)

This commit is contained in:
Qi
2023-02-17 17:44:48 +08:00
committed by GitHub
parent 5e6366ba44
commit 67fe1871da
26 changed files with 926 additions and 501 deletions

View File

@@ -1,21 +1,19 @@
import { styled } from '@affine/component';
import { displayFlex, styled } from '@affine/component';
export const PageContainer = styled('div')(({ theme }) => {
export const StyledContainer = styled.div(() => {
return {
width: '100%',
height: 'calc(100vh)',
backgroundColor: theme.colors.pageBackground,
};
});
export const NotFoundTitle = styled('h1')(({ theme }) => {
return {
position: 'relative',
top: 'calc(50% - 100px)',
height: '100px',
fontSize: '60px',
lineHeight: '100px',
color: theme.colors.textColor,
textAlign: 'center',
...displayFlex('center', 'center'),
flexDirection: 'column',
height: '100vh',
img: {
width: '360px',
height: '270px',
},
p: {
fontSize: '22px',
fontWeight: 600,
margin: '24px 0',
},
};
});