mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-09-15 05:38:00 +08:00
fix: size of svg image
This commit is contained in:
@@ -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"
|
||||||
|
|||||||
Reference in New Issue
Block a user