Unpurchase

This commit is contained in:
Lncvrt committed 2026-04-01 11:08:31 -07:00
1 parent 1d62103a84
commit 0117a65150
1 file changed
+6 -5
+6 -5
View File
@@ -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>
) )
} }