Unpurchase
This commit is contained in:
1 file changed
+6
-5
@@ -73,20 +73,21 @@ 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'
|
||||||
allow='autoplay'
|
allow='autoplay'
|
||||||
></iframe>
|
></iframe>
|
||||||
)}
|
)}
|
||||||
|
<div className='flex justify-center mt-2'>
|
||||||
|
<button className='button' onClick={() => setPurchased(purchased)}>
|
||||||
|
{purchased ? 'Unpurchase' : 'Purchase'}
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user