feat: change contact modal background
This commit is contained in:
BIN
packages/app/src/components/contact-modal/bg.png
Normal file
BIN
packages/app/src/components/contact-modal/bg.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 307 KiB |
@@ -11,8 +11,6 @@ import logo from './affine-text-logo.png';
|
|||||||
import {
|
import {
|
||||||
StyledModalContainer,
|
StyledModalContainer,
|
||||||
StyledModalWrapper,
|
StyledModalWrapper,
|
||||||
StyledYellowBall,
|
|
||||||
StyledBlueBall,
|
|
||||||
StyledBigLink,
|
StyledBigLink,
|
||||||
StyledSmallLink,
|
StyledSmallLink,
|
||||||
StyledSubTitle,
|
StyledSubTitle,
|
||||||
@@ -78,9 +76,6 @@ export const ContactModal = ({ open, onClose }: TransitionsModalProps) => {
|
|||||||
<StyledModalContainer>
|
<StyledModalContainer>
|
||||||
<StyledBackdrop onClick={onClose} />
|
<StyledBackdrop onClick={onClose} />
|
||||||
<StyledModalWrapper>
|
<StyledModalWrapper>
|
||||||
<StyledYellowBall />
|
|
||||||
<StyledBlueBall />
|
|
||||||
|
|
||||||
<StyledModalHeader>
|
<StyledModalHeader>
|
||||||
<StyledModalHeaderLeft>
|
<StyledModalHeaderLeft>
|
||||||
<StyledLogo src={logo.src} alt="" />
|
<StyledLogo src={logo.src} alt="" />
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
import { styled } from '@/styles';
|
import { styled } from '@/styles';
|
||||||
|
import bg from './bg.png';
|
||||||
export const StyledModalContainer = styled('div')(({ theme }) => {
|
export const StyledModalContainer = styled('div')(({ theme }) => {
|
||||||
return {
|
return {
|
||||||
width: '100vw',
|
width: '100vw',
|
||||||
@@ -15,7 +15,8 @@ export const StyledModalWrapper = styled('div')(({ theme }) => {
|
|||||||
return {
|
return {
|
||||||
width: '1000px',
|
width: '1000px',
|
||||||
height: '626px',
|
height: '626px',
|
||||||
background: theme.colors.popoverBackground,
|
backgroundColor: theme.colors.popoverBackground,
|
||||||
|
backgroundImage: `url(${bg.src})`,
|
||||||
padding: '0 48px',
|
padding: '0 48px',
|
||||||
borderRadius: '20px',
|
borderRadius: '20px',
|
||||||
position: 'absolute',
|
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 }) => {
|
export const StyledBigLink = styled('a')(({ theme }) => {
|
||||||
return {
|
return {
|
||||||
width: '335px',
|
width: '335px',
|
||||||
|
|||||||
Reference in New Issue
Block a user