Unpurchase
This commit is contained in:
1 file changed
+6
-5
@@ -24,6 +24,11 @@ export default function PremiumPageHome () {
|
|||||||
<p className='text-center text-4xl'>
|
<p className='text-center text-4xl'>
|
||||||
Lncvrt Games <span className='rainbow-text'>PREMIUM</span>
|
Lncvrt Games <span className='rainbow-text'>PREMIUM</span>
|
||||||
</p>
|
</p>
|
||||||
|
<div className='flex justify-center mt-2'>
|
||||||
|
<button className='button' onClick={() => setPurchased(purchased)}>
|
||||||
|
{purchased ? 'Unpurchase' : 'Purchase'}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
{!purchased ? (
|
{!purchased ? (
|
||||||
<>
|
<>
|
||||||
<p className='text-center text-[18px] mb-4'>
|
<p className='text-center text-[18px] mb-4'>
|
||||||
@@ -73,14 +78,10 @@ export default function PremiumPageHome () {
|
|||||||
<p className='max-w-80 text-center'>And much, much more!</p>
|
<p className='max-w-80 text-center'>And much, much more!</p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div className='flex justify-center mt-2'>
|
|
||||||
<button className='button' onClick={() => setPurchased(true)}>
|
|
||||||
Purchase
|
|
||||||
</button>
|
|
||||||
</div>
|
|
||||||
</>
|
</>
|
||||||
) : (
|
) : (
|
||||||
<iframe
|
<iframe
|
||||||
|
className='mt-2'
|
||||||
width='1280'
|
width='1280'
|
||||||
height='720'
|
height='720'
|
||||||
src='https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1'
|
src='https://www.youtube.com/embed/dQw4w9WgXcQ?autoplay=1'
|
||||||
|
|||||||
Reference in new issue
Block a user