mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-17 14:27:02 +08:00
43 lines
923 B
TypeScript
43 lines
923 B
TypeScript
import { CloudUnsyncedIcon } from '@blocksuite/icons';
|
|
import { styled } from '@/styles';
|
|
import GoogleSvg from './google.svg';
|
|
|
|
export const GoogleIcon = () => {
|
|
return (
|
|
<GoogleIconWrapper>
|
|
<picture>
|
|
<img src={GoogleSvg.src} alt="Google" />
|
|
</picture>
|
|
</GoogleIconWrapper>
|
|
);
|
|
};
|
|
|
|
const GoogleIconWrapper = styled('div')(({ theme }) => ({
|
|
width: '48px',
|
|
height: '48px',
|
|
background: theme.colors.pageBackground,
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
}));
|
|
|
|
export const StayLogOutIcon = () => {
|
|
return (
|
|
<StayLogOutWrapper>
|
|
<CloudUnsyncedIcon />
|
|
</StayLogOutWrapper>
|
|
);
|
|
};
|
|
|
|
const StayLogOutWrapper = styled('div')(({ theme }) => {
|
|
return {
|
|
width: '48px',
|
|
height: '48px',
|
|
display: 'flex',
|
|
alignItems: 'center',
|
|
justifyContent: 'center',
|
|
fontSize: '24px',
|
|
background: theme.colors.hoverBackground,
|
|
};
|
|
});
|