mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-25 02:13:00 +08:00
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 {
|
||||
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="" />
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user