diff --git a/src/components/Background.tsx b/src/components/Background.tsx index 4ab2a07..a6f077d 100644 --- a/src/components/Background.tsx +++ b/src/components/Background.tsx @@ -16,7 +16,7 @@ const Background = () => { blurDataURL={`data:image/svg+xml;base64, ${toBase64( shimmer(1024, 1024) )}`} - className="pointer-events-none fixed left-0 top-0 -z-50 hidden h-full w-full select-none object-cover object-top lg:block" + className="pointer-events-none fixed left-0 top-0 -z-50 hidden h-full w-full w-screen select-none overflow-hidden object-cover object-top lg:block" /> { blurDataURL={`data:image/svg+xml;base64, ${toBase64( shimmer(1024, 1024) )}`} - className="pointer-events-none fixed left-0 top-0 -z-50 block h-full w-full select-none object-cover lg:hidden" + className="pointer-events-none fixed left-0 top-0 -z-50 block h-full w-full w-screen select-none overflow-hidden object-cover lg:hidden" /> ); diff --git a/src/pages/pdpa.tsx b/src/pages/pdpa.tsx index 018b868..0a102f5 100644 --- a/src/pages/pdpa.tsx +++ b/src/pages/pdpa.tsx @@ -11,11 +11,9 @@ export async function getStaticProps() { const PrivacyPolicy = ({ source }: { source: any }) => { return ( -
-
-
{source}
-
-
+
+
{source}
+
); }; diff --git a/src/pages/privacy-policy.tsx b/src/pages/privacy-policy.tsx index ef5d455..2a59300 100644 --- a/src/pages/privacy-policy.tsx +++ b/src/pages/privacy-policy.tsx @@ -11,11 +11,9 @@ export async function getStaticProps() { const PrivacyPolicy = ({ source }: { source: any }) => { return ( -
-
-
{source}
-
-
+
+
{source}
+
); }; diff --git a/src/pages/scan.tsx b/src/pages/scan.tsx index f0863f0..edb46be 100644 --- a/src/pages/scan.tsx +++ b/src/pages/scan.tsx @@ -29,7 +29,7 @@ function Scan() { try { // check-in qr code if (token === 'rpkm66-check-in') { - const { status } = await httpPost('/checkin/', {}); + const { status } = await httpPost('/checkin', {}); if (status === 200) { toast?.setToast('success', 'Check-in successfully'); } else { diff --git a/src/pages/terms-conditions.tsx b/src/pages/terms-conditions.tsx index 0251803..fe4b362 100644 --- a/src/pages/terms-conditions.tsx +++ b/src/pages/terms-conditions.tsx @@ -10,11 +10,9 @@ export async function getStaticProps() { const PrivacyPolicy = ({ source }: { source: any }) => { return ( -
-
-
{source}
-
-
+
+
{source}
+
); };