Skip to content

There can be more than Notion and Miro. AFFiNE(pronounced [ə‘fain]) is a next-gen knowledge base that brings planning, sorting and creating all together. Privacy first, open-source, customizable and ready to use.

fix: size of svg image

himself657d3ae9a0c9e3
diff --git a/apps/web/src/pages/404.tsx b/apps/web/src/pages/404.tsx
index a40b609ac3..0f8919e425 100644
--- a/apps/web/src/pages/404.tsx
+++ b/apps/web/src/pages/404.tsx
@@ -28,7 +28,7 @@ export const NotfoundPage = () => {
const router = useRouter();
return (
<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>
<Button
diff --git a/apps/web/src/pages/invite/[invite_code].tsx b/apps/web/src/pages/invite/[invite_code].tsx
index c800479d4c..0725e7d567 100644
--- a/apps/web/src/pages/invite/[invite_code].tsx
+++ b/apps/web/src/pages/invite/[invite_code].tsx
@@ -29,7 +29,13 @@ const InvitePage: NextPageWithLayout = () => {
if (inviteData?.accepted) {
return (
<StyledContainer>
- <Image src="/imgs/invite-success.svg" alt="" />
+ <Image
+ src="/imgs/invite-success.svg"
+ alt=""
+ layout="fill"
+ width={300}
+ height={300}
+ />
<Button
type="primary"
shape="round"