good so far
This commit is contained in:
@@ -48,20 +48,20 @@
|
||||
|
||||
<!-- Typography Block -->
|
||||
<div class="text-center mb-2xl">
|
||||
<h2 class="font-headline-xl text-headline-xl text-on-surface mb-sm">Congratulations!</h2>
|
||||
<p class="font-body-md text-body-md text-on-surface-variant max-w-[280px] mx-auto">Your coupon code is ready to use.</p>
|
||||
<h2 class="font-headline-xl text-headline-xl text-on-surface mb-sm">Gutlaýarys!</h2>
|
||||
<p class="font-body-md text-body-md text-on-surface-variant max-w-[280px] mx-auto">Kupon koduňyz ulanmaga taýýar.</p>
|
||||
</div>
|
||||
|
||||
<!-- Styled Coupon Card -->
|
||||
<div class="w-full max-w-sm relative float-animation">
|
||||
<div class="bg-surface-container-highest coupon-cutout rounded-lg p-lg flex flex-col items-center border border-outline-variant/30">
|
||||
<div class="text-on-surface-variant font-label-md text-label-md mb-md uppercase tracking-widest">Limited Offer Code</div>
|
||||
<div class="text-on-surface-variant font-label-md text-label-md mb-md uppercase tracking-widest">Çäklendirilen Teklip Kody</div>
|
||||
<div class="bg-surface-container-lowest border-2 border-dashed border-primary/30 rounded-md px-xl py-lg w-full text-center mb-md group transition-all hover:border-primary">
|
||||
<span class="font-mono text-4xl font-bold text-primary tracking-widest" id="couponCode">{{ $code }}</span>
|
||||
</div>
|
||||
<button class="flex items-center gap-2 text-primary font-label-md text-label-md hover:bg-primary-container/10 px-md py-sm rounded-full transition-colors active:scale-95" onclick="copyCode()">
|
||||
<span class="material-symbols-outlined" id="copyIcon">content_copy</span>
|
||||
<span id="copyText">Copy Code</span>
|
||||
<span id="copyText">Kody göçür</span>
|
||||
</button>
|
||||
</div>
|
||||
<!-- Shadow Depth -->
|
||||
@@ -71,10 +71,10 @@
|
||||
<!-- Action Buttons -->
|
||||
<div class="w-full max-w-sm mt-2xl flex flex-col gap-md">
|
||||
<button class="w-full bg-primary text-on-primary py-md rounded-full font-label-md text-label-md shadow-[0_4px_12px_rgba(0,105,72,0.3)] hover:opacity-90 active:scale-95 transition-all">
|
||||
Redeem Now
|
||||
Häzir ulan
|
||||
</button>
|
||||
<a href="{{ route('verification.index') }}" class="w-full text-center bg-transparent text-primary py-md rounded-full font-label-md text-label-md hover:bg-primary/5 active:scale-95 transition-all">
|
||||
Back to Home
|
||||
Baş sahypa dolan
|
||||
</a>
|
||||
</div>
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<div class="mt-2xl w-full max-w-sm bg-secondary-container/30 border border-secondary-container rounded-lg p-md flex gap-md items-start">
|
||||
<span class="material-symbols-outlined text-secondary">info</span>
|
||||
<p class="font-body-sm text-body-sm text-on-secondary-container">
|
||||
This coupon is valid for the next 24 hours only. Make sure to apply it during checkout to enjoy your discount.
|
||||
Bu kupon diňe öňümizdäki 24 sagadyň dowamynda hereket edýär. Arzanladyşdan peýdalanmak üçin töleg wagtynda ulanmagy ýatdan çykarmaň.
|
||||
</p>
|
||||
</div>
|
||||
</main>
|
||||
@@ -153,11 +153,11 @@
|
||||
const btnText = document.getElementById('copyText');
|
||||
const btnIcon = document.getElementById('copyIcon');
|
||||
|
||||
btnText.innerText = 'Copied!';
|
||||
btnText.innerText = 'Göçürildi!';
|
||||
btnIcon.innerText = 'check';
|
||||
|
||||
setTimeout(() => {
|
||||
btnText.innerText = 'Copy Code';
|
||||
btnText.innerText = 'Kody göçür';
|
||||
btnIcon.innerText = 'content_copy';
|
||||
}, 2000);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user