fix: size of svg image

This commit is contained in:
himself65 2023-03-28 03:16:52 -05:00
parent 600adb3dd7
commit 7d3ae9a0c9
2 changed files with 8 additions and 2 deletions

View File

@ -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

View File

@ -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"