Skip to content

Commit d51b58a

Browse files
committed
docs
1 parent 782ad27 commit d51b58a

3 files changed

Lines changed: 18 additions & 11 deletions

File tree

packages/docs/src/components/TopBanner.svelte

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -23,29 +23,31 @@
2323
</div>
2424
{/if}
2525
<!-- With timer -->
26-
{#if false}
27-
<div class="bg-base-100 flex justify-center rounded-sm p-1">
26+
{#if true}
27+
<div class="bg-base-100 flex justify-center rounded-sm">
2828
<a
29-
href="/store/"
30-
class="alert hover:bg-base-300 hover:border-base-300 group flex max-w-xl justify-center rounded-full p-2 text-center text-xs transition-colors duration-300 ease-out"
29+
data-sveltekit-preload-data
30+
href="/store/475050/"
31+
class="alert bg-base-300 flex w-full justify-center rounded-none border-none p-2 text-center text-xs shadow-none"
3132
>
3233
<p class="leading-relaxed [text-wrap:balance]">
33-
<span class="text-base-content/70 group-hover:text-base-content">
34-
Use <code
34+
<span class="text-base-content/70">
35+
🎉 Scalo template is live – Use code <code
3536
class="decoration-success font-mono tracking-wide underline decoration-wavy underline-offset-4"
3637
>
37-
DISCORD1000
38+
SCALO20
3839
</code>
39-
code to get 25% discount on daisyUI store
40+
to get 20% discount.
41+
<span class="inline-block w-2"></span>
4042
<Countdown
41-
from={new Date("2024-05-05T23:59:00.000000Z").toLocaleString("en-GB", dateFormat)}
43+
from={new Date("2025-04-19T01:01:00.000000Z").toLocaleString("en-GB", dateFormat)}
4244
dateFormat="DD/MM/YYYY, HH:mm:ss"
4345
>
4446
{#snippet children({ remaining })}
4547
{#if remaining.done === false}
4648
<span class="border-base-content/20 rounded-full border border-dashed px-2 py-1">
4749
<date
48-
datetime={new Date("2024-02-11T23:59:00.000000Z").toLocaleString(
50+
datetime={new Date("2025-04-19T01:01:00.000000Z").toLocaleString(
4951
"en-GB",
5052
dateFormat,
5153
)}

packages/docs/src/routes/(routes)/store/[productId]/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -584,7 +584,7 @@
584584
</h2>
585585
<p class="text-base-content/60 text-xs">
586586
If you have any questions before purchase
587-
<br />send me an email to email at pouya@daisyui.com
587+
<br />send me an email to pouya@daisyui.com
588588
<br />I will do my best to help you.
589589
</p>
590590
</div>

packages/docs/src/routes/(routes)/store/checkout/+page@.svelte

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,3 +56,8 @@
5656
</path>
5757
</svg>
5858
</div>
59+
<div
60+
style="position: absolute; bottom: 2rem; left: 2rem; font-size: 11px; opacity: 0.3; font-family: sans-serif;"
61+
>
62+
If this is not loading, <br />please disable Ad Blockers.
63+
</div>

0 commit comments

Comments
 (0)