Skip to content

Commit b63483e

Browse files
committed
docs
1 parent 782ad27 commit b63483e

File tree

3 files changed

+20
-13
lines changed

3 files changed

+20
-13
lines changed

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: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<title>Loading...</title>
33
<meta name="robots" content="noindex" />
44
<link rel="shortcut icon" href="data:image/x-icon;," type="image/x-icon" />
5-
<script>
5+
<!-- <script>
66
console.log(
77
"If this page is not loading, please disable ad blockers or software that blocks scripts. We do not track your IP address or personal information. This script is required to assigne affiliate ID required for the purchase.",
88
)
@@ -22,7 +22,7 @@
2222
window.location.reload()
2323
}
2424
}, 10000)
25-
</script>
25+
</script> -->
2626
<script src="https://lmsqueezy.com/affiliate.js" defer></script>
2727
<style>
2828
html,
@@ -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)