This commit is contained in:
zadit
2025-01-26 13:16:03 +07:00
parent a1b7d0b844
commit bbab3c6be9
3 changed files with 728 additions and 620 deletions

View File

@@ -41,7 +41,7 @@ const Coupon = ({ code, value, period, type, expiration }) => {
return (
<div className='coupon'>
{daysLeft < 1 && (
{(expiration == null && code != null) || (expiration != null && code != null && daysLeft < 1) && (
<div className='RibbonBannerInverted'>
<img src={"https://i.imgur.com/yt6osgL.png"}></img>
<h1>Kupon berakhir</h1>