Commit 8d13e134 by Arjun Jhukal

updated the minor changes

parent 12339311
...@@ -4,6 +4,7 @@ ...@@ -4,6 +4,7 @@
import GlassWrapper from '@/components/molecules/GlassWrapper' import GlassWrapper from '@/components/molecules/GlassWrapper'
import { useAppDispatch } from '@/hooks/hook' import { useAppDispatch } from '@/hooks/hook'
import Private from '@/routes/Private'
import { setTokens } from '@/slice/authSlice' import { setTokens } from '@/slice/authSlice'
import { restoreAuthFromCookies } from '@/utils/authSession' import { restoreAuthFromCookies } from '@/utils/authSession'
import Image from 'next/image' import Image from 'next/image'
...@@ -51,25 +52,27 @@ export default function PaymentSuccess() { ...@@ -51,25 +52,27 @@ export default function PaymentSuccess() {
} }
return ( return (
<GlassWrapper className="max-w-[520px] mx-auto flex flex-col gap-3 items-center text-center p-6"> <Private>
<Image <GlassWrapper className="max-w-[520px] mx-auto flex flex-col gap-3 items-center text-center p-6">
src="/assets/images/verify-email.png" <Image
alt="Payment Success" src="/assets/images/verify-email.png"
width={180} alt="Payment Success"
height={140} width={180}
/> height={140}
<h1 className="text-[24px] lg:text-[32px] leading-[120%] font-bold mb-4 text-green-500"> />
Payment Successful <h1 className="text-[24px] lg:text-[32px] leading-[120%] font-bold mb-4 text-green-500">
</h1> Payment Successful
<p className="text-[14px] leading-[150%] font-normal lg:text-[16px] mb-4"> </h1>
Your payment was processed successfully. <p className="text-[14px] leading-[150%] font-normal lg:text-[16px] mb-4">
</p> Your payment was processed successfully.
<Link </p>
href={`${process.env.NEXT_PUBLIC_FRONTEND_URL}/exclusive-games/${slug}`} <Link
className="ss-btn bg-primary-grad" href={`${process.env.NEXT_PUBLIC_FRONTEND_URL}/exclusive-games/${slug}`}
> className="ss-btn bg-primary-grad"
View Game Detail >
</Link> View Game Detail
</GlassWrapper> </Link>
</GlassWrapper>
</Private>
) )
} }
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment