diff --git a/packages/app/src/components/contact-modal/bg.png b/packages/app/src/components/contact-modal/bg.png new file mode 100644 index 000000000..4e2c39d35 Binary files /dev/null and b/packages/app/src/components/contact-modal/bg.png differ diff --git a/packages/app/src/components/contact-modal/index.tsx b/packages/app/src/components/contact-modal/index.tsx index 2c2d75430..cebe9f790 100644 --- a/packages/app/src/components/contact-modal/index.tsx +++ b/packages/app/src/components/contact-modal/index.tsx @@ -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) => { - - - diff --git a/packages/app/src/components/contact-modal/style.ts b/packages/app/src/components/contact-modal/style.ts index 1527fa6fa..b89be96e1 100644 --- a/packages/app/src/components/contact-modal/style.ts +++ b/packages/app/src/components/contact-modal/style.ts @@ -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',