Skip to content

Commit 1902492

Browse files
committed
docs(pricing): add banner
1 parent 0c52563 commit 1902492

File tree

2 files changed

+29
-7
lines changed

2 files changed

+29
-7
lines changed

docs/app/pages/pro/.content/pricing.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,17 @@ pricing:
55
title: Upgrade to Nuxt UI [Pro]{class="text-primary"}.
66
description: On top of 40+ open source components from Nuxt UI, Pro gives you access to 50+ premium Vue components to create beautiful & responsive Nuxt applications in minutes. It includes all primitives to build landing pages, documentations, blogs, dashboards or entire SaaS products.
77
freePlan:
8+
description: "**NuxtLabs is joining Vercel** :tada: As part of this transition, Nuxt UI is becoming even more accessible.<br><br> **In September, we're launching Nuxt UI v4**: a free, open-source library that unifies Nuxt UI and Nuxt UI Pro, offering 100+ components and a complete free Figma Kit for everyone."
9+
orientation: horizontal
10+
button:
11+
label: Read the announcement
12+
to: 'https://nuxtlabs.com/?utm_source=nuxt-ui&utm_medium=banner&utm_campaign=nuxtlabs-vercel'
13+
target: _blank
14+
color: 'neutral'
15+
trailingIcon: 'i-lucide-arrow-right'
16+
ui:
17+
trailingIcon: 'ms-0'
18+
devPlan:
819
title: Free in development
920
description: Try Nuxt UI Pro for free in development, no credit card required. Upgrade when ready to deploy.
1021
orientation: horizontal
@@ -13,6 +24,9 @@ pricing:
1324
to: '/getting-started/installation/pro/nuxt'
1425
color: 'neutral'
1526
variant: 'subtle'
27+
trailingIcon: 'i-lucide-arrow-right'
28+
ui:
29+
trailingIcon: 'ms-0'
1630
figma:
1731
title: Figma Kit Pro
1832
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.

docs/app/pages/pro/pricing.vue

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -34,10 +34,19 @@ useSeoMeta({
3434
<div class="flex flex-col bg-default gap-8 lg:gap-0">
3535
<UPricingPlan
3636
v-bind="page.pricing.freePlan"
37-
variant="naked"
38-
class="lg:rounded-none border-x border-default border-t border-b lg:border-b-0"
37+
class="lg:rounded-none ring-primary/15 ring-inset -mb-px bg-primary/5 z-[1]"
38+
:ui="{ description: 'mt-0 text-primary' }"
39+
>
40+
<template #description>
41+
<MDC :value="page.pricing.freePlan.description" unwrap="p" />
42+
</template>
43+
</UPricingPlan>
44+
45+
<UPricingPlan
46+
v-bind="page.pricing.devPlan"
47+
class="lg:rounded-none ring-inset -mb-px"
3948
/>
40-
<UPricingPlans compact>
49+
<UPricingPlans compact class="-space-x-px">
4150
<UPricingPlan
4251
v-for="(plan, index) in page.pricing.plans"
4352
:key="index"
@@ -47,18 +56,17 @@ useSeoMeta({
4756
:discount="plan.discount"
4857
:billing-period="plan.billing_period"
4958
:billing-cycle="plan.billing_cycle"
50-
:variant="plan.highlight ? 'soft' : 'outline'"
51-
:class="['lg:rounded-none', { 'border-2 lg:border lg:border-x-0 border-primary lg:border-default': plan.highlight }]"
59+
:variant="plan.highlight ? 'subtle' : 'outline'"
60+
class="lg:rounded-none ring-inset -mb-px"
5261
:features="plan.features"
5362
:button="plan.button"
5463
/>
5564
</UPricingPlans>
5665
<UPricingPlan
5766
v-bind="page.pricing.figma"
58-
variant="naked"
5967
:billing-period="page.pricing.figma.billing_period"
6068
:billing-cycle="page.pricing.figma.billing_cycle"
61-
class="lg:rounded-none border lg:border-y-0 border-default"
69+
class="lg:rounded-none ring-inset -mb-px"
6270
>
6371
<template #features>
6472
<li v-for="(feature, index) in page.pricing.figma.features" :key="index" class="flex items-center gap-2 min-w-0">

0 commit comments

Comments
 (0)