feat: change contact modal background

This commit is contained in:
QiShaoXuan
2022-10-19 15:53:26 +08:00
parent b5f0e5b045
commit 2647453e16
3 changed files with 3 additions and 30 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 307 KiB

View File

@@ -11,8 +11,6 @@ import logo from './affine-text-logo.png';
import {
StyledModalContainer,
StyledModalWrapper,
StyledYellowBall,
StyledBlueBall,
StyledBigLink,
StyledSmallLink,
StyledSubTitle,
@@ -78,9 +76,6 @@ export const ContactModal = ({ open, onClose }: TransitionsModalProps) => {
<StyledModalContainer>
<StyledBackdrop onClick={onClose} />
<StyledModalWrapper>
<StyledYellowBall />
<StyledBlueBall />
<StyledModalHeader>
<StyledModalHeaderLeft>
<StyledLogo src={logo.src} alt="" />

View File

@@ -1,5 +1,5 @@
import { styled } from '@/styles';
import bg from './bg.png';
export const StyledModalContainer = styled('div')(({ theme }) => {
return {
width: '100vw',
@@ -15,7 +15,8 @@ export const StyledModalWrapper = styled('div')(({ theme }) => {
return {
width: '1000px',
height: '626px',
background: theme.colors.popoverBackground,
backgroundColor: theme.colors.popoverBackground,
backgroundImage: `url(${bg.src})`,
padding: '0 48px',
borderRadius: '20px',
position: 'absolute',
@@ -27,29 +28,6 @@ export const StyledModalWrapper = styled('div')(({ theme }) => {
};
});
export const StyledYellowBall = styled('div')`
position: absolute;
top: 189px;
left: 186px;
display: block;
width: 122px;
height: 122px;
background-color: #dda82a;
opacity: 0.45;
filter: blur(78px);
`;
export const StyledBlueBall = styled('div')`
content: '';
position: absolute;
top: 332px;
left: 296px;
display: block;
width: 122px;
height: 122px;
background-color: #4461f2;
filter: blur(78px);
`;
export const StyledBigLink = styled('a')(({ theme }) => {
return {
width: '335px',