diff --git a/docs/app/components/Banner.vue b/docs/app/components/Banner.vue index c2175a3c..02c7eeab 100644 --- a/docs/app/components/Banner.vue +++ b/docs/app/components/Banner.vue @@ -4,7 +4,7 @@ icon="i-lucide-rocket" :actions="[ { - label: 'Get 20% OFF on UI Pro', + label: 'Buy Nuxt UI Pro', to: '/pro/pricing', trailingIcon: 'i-lucide-arrow-right' } diff --git a/docs/app/components/Countdown.vue b/docs/app/components/Countdown.vue new file mode 100644 index 00000000..9394eabc --- /dev/null +++ b/docs/app/components/Countdown.vue @@ -0,0 +1,51 @@ + + + + + + Nuxt UI v3 launch offer ends in: + + + + + + + {{ double(value) }} + + {{ key }}{{ plural(value) }} + + + + + diff --git a/docs/app/pages/figma/.figma.yml b/docs/app/pages/figma/.figma.yml index e78d6de9..a5d86279 100644 --- a/docs/app/pages/figma/.figma.yml +++ b/docs/app/pages/figma/.figma.yml @@ -178,7 +178,7 @@ pricing: - title: Solo License description: Design faster with all Nuxt UI Pro components. price: $149 - discount: $119 + # discount: $119 billing_period: one-time payment billing_cycle: plus local taxes class: bg-(--ui-bg-elevated)/50 @@ -200,7 +200,7 @@ pricing: - title: Team License description: Everything you need to deliver faster as a team. price: $349 - discount: $279 + # discount: $279 billing_period: one-time payment billing_cycle: plus local taxes class: bg-(--ui-bg-elevated)/50 diff --git a/docs/app/pages/pro/.content/pricing.yml b/docs/app/pages/pro/.content/pricing.yml index d654e413..4cfe44b6 100644 --- a/docs/app/pages/pro/.content/pricing.yml +++ b/docs/app/pages/pro/.content/pricing.yml @@ -18,7 +18,7 @@ pricing: description: Get all Nuxt UI Pro components in a Figma kit to design your next application before coding. Everything you need, from wire-framing to high-fidelity web integration. orientation: horizontal price: $149 - discount: $119 + # discount: $119 billing_period: one-time payment billing_cycle: plus local taxes terms: Solo & Team licenses available. @@ -39,7 +39,7 @@ pricing: - title: Solo description: Tailored for indie hackers, freelancers and solo founders. price: $249 - discount: $199 + # discount: $199 billing_period: one-time payment billing_cycle: plus local taxes features: @@ -54,7 +54,7 @@ pricing: - title: Startup description: Best suited for small teams, startups and agencies. price: $499 - discount: $399 + # discount: $399 billing_period: one-time payment billing_cycle: plus local taxes features: @@ -70,7 +70,7 @@ pricing: - title: Organization description: Ideal for larger teams and organizations. price: $999 - discount: $799 + # discount: $799 billing_period: one-time payment billing_cycle: plus local taxes features: diff --git a/docs/app/pages/pro/pricing.vue b/docs/app/pages/pro/pricing.vue index fa18c0ab..62cb1a8a 100644 --- a/docs/app/pages/pro/pricing.vue +++ b/docs/app/pages/pro/pricing.vue @@ -12,37 +12,6 @@ useSeoMeta({ ogDescription: page.description, ogImage: joinURL(url, '/pro/og-image.png') }) - -const endDate = new Date('2025-03-14T23:59:59Z') -const second = 1000 -const minute = second * 60 -const hour = minute * 60 -const day = hour * 24 - -function getCountdown() { - const distance = Math.floor((endDate.getTime() - Date.now())) - return { - day: Math.floor(distance / day), - hour: Math.floor((distance % (day)) / (hour)), - minute: Math.floor((distance % (hour)) / (minute)), - second: Math.floor((distance % (minute)) / (second)), - distance - } -} -const countdown = ref(getCountdown()) -let interval: any -if (countdown.value.distance > 0) { - onMounted(() => { - interval = setInterval(() => { - countdown.value = getCountdown() - if (countdown.value.distance <= 0) { - clearInterval(interval) - } - }, 1000) - }) -} -const plural = (value: number) => (value === 1 ? '' : 's') -const double = (value: number) => (value < 10 ? `0${value}` : value) @@ -54,25 +23,6 @@ const double = (value: number) => (value < 10 ? `0${value}` : value) container: 'relative lg:!pb-0' }" > - - - - Nuxt UI v3 launch offer ends in: - - - - - - - {{ double(value) }} - - {{ key }}{{ plural(value) }} - - - - - -
+ Nuxt UI v3 launch offer ends in: +
- Nuxt UI v3 launch offer ends in: -