Skip to content

Commit 099fcbd

Browse files
committed
docs: improve ctas
1 parent 7ba4dba commit 099fcbd

File tree

2 files changed

+33
-6
lines changed

2 files changed

+33
-6
lines changed

docs/content/0.index.yml

+5-6
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ hero:
1616
icon: i-ph-arrow-right
1717
links:
1818
- label: Get started
19-
trailing-icon: i-heroicons-arrow-right-20-solid
19+
trailing-icon: i-ph-arrow-right
2020
to: '/docs/getting-started'
2121
size: lg
2222
- label: Star on GitHub
@@ -69,16 +69,15 @@ deploy:
6969
width: 460
7070
height: 259
7171
buttons:
72-
- label: NuxtHub Admin
73-
icon: i-simple-icons-nuxtdotjs
72+
- label: Deploy now
73+
trailing-icon: i-ph-arrow-right
7474
color: black
7575
size: lg
7676
to: https://admin.hub.nuxt.com/?utm_source=nuxthub-docs&utm_medium=home
7777
target: _blank
78-
- label: Get started
78+
- label: Start locally
7979
color: gray
8080
variant: ghost
81-
trailing-icon: i-heroicons-arrow-right-20-solid
8281
to: '/docs/getting-started'
8382
size: lg
8483
database:
@@ -232,7 +231,7 @@ tool:
232231
- label: Get started
233232
color: gray
234233
variant: ghost
235-
trailing-icon: i-heroicons-arrow-right-20-solid
234+
trailing-icon: i-ph-arrow-right
236235
to: '/docs/getting-started'
237236
size: lg
238237
title: Tailored features for <span class="text-primary">Nuxt developers</span>

docs/pages/pricing.vue

+28
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ definePageMeta({
33
primary: 'green'
44
})
55
const { data: page } = await useAsyncData('pricing', () => queryContent('/pricing').findOne())
6+
const { data: home } = await useAsyncData('index', () => queryContent('/').findOne())
67
78
const isYearly = ref(true)
89
const isWorkersPaid = ref(false)
@@ -87,6 +88,33 @@ defineOgImageComponent('Docs')
8788
</template>
8889
</ULandingFAQ>
8990
</ULandingSection>
91+
92+
<ULandingSection class="sm:pt-12">
93+
<template #title>
94+
<span v-html="home?.testimonials.title" />
95+
</template>
96+
<template #description>
97+
<span v-html="home?.testimonials.description" />
98+
</template>
99+
100+
<UPageColumns :ui="{ wrapper: 'column-1 md:columns-2 lg:columns-4 gap-8 space-y-8' }">
101+
<UPageCard
102+
:title="home?.testimonials.cloudflare.title" :description="home?.testimonials.cloudflare.description"
103+
:ui="{ title: 'whitespace-normal text-white dark:text-gray-950', description: 'text-gray-400 dark:text-gray-500', background: 'bg-gray-900 dark:bg-white' }"
104+
>
105+
<template #icon>
106+
<UColorModeImage
107+
:light="home?.testimonials.cloudflare.img.dark"
108+
:dark="home?.testimonials.cloudflare.img.light" alt="Cloudflare logo"
109+
/>
110+
</template>
111+
</UPageCard>
112+
113+
<div v-for="(testimonial, index) in home?.testimonials.items" :key="index" class="break-inside-avoid">
114+
<ULandingTestimonial v-bind="testimonial" />
115+
</div>
116+
</UPageColumns>
117+
</ULandingSection>
90118
</UContainer>
91119
</template>
92120

0 commit comments

Comments
 (0)