mirror of
https://github.com/toeverything/AFFiNE.git
synced 2025-01-01 14:57:01 +03:00
fix: size of svg image
This commit is contained in:
parent
600adb3dd7
commit
7d3ae9a0c9
@ -28,7 +28,7 @@ export const NotfoundPage = () => {
|
|||||||
const router = useRouter();
|
const router = useRouter();
|
||||||
return (
|
return (
|
||||||
<StyledContainer data-testid="notFound">
|
<StyledContainer data-testid="notFound">
|
||||||
<Image alt="404" src="/imgs/invite-error.svg"></Image>
|
<Image alt="404" src="/imgs/invite-error.svg" width={360} height={270} />
|
||||||
|
|
||||||
<p>{t('404 - Page Not Found')}</p>
|
<p>{t('404 - Page Not Found')}</p>
|
||||||
<Button
|
<Button
|
||||||
|
@ -29,7 +29,13 @@ const InvitePage: NextPageWithLayout = () => {
|
|||||||
if (inviteData?.accepted) {
|
if (inviteData?.accepted) {
|
||||||
return (
|
return (
|
||||||
<StyledContainer>
|
<StyledContainer>
|
||||||
<Image src="/imgs/invite-success.svg" alt="" />
|
<Image
|
||||||
|
src="/imgs/invite-success.svg"
|
||||||
|
alt=""
|
||||||
|
layout="fill"
|
||||||
|
width={300}
|
||||||
|
height={300}
|
||||||
|
/>
|
||||||
<Button
|
<Button
|
||||||
type="primary"
|
type="primary"
|
||||||
shape="round"
|
shape="round"
|
||||||
|
Loading…
Reference in New Issue
Block a user