Skip to content

Commit 101538b

Browse files
committed
docs: update
1 parent 5583518 commit 101538b

File tree

4 files changed

+537
-220
lines changed

4 files changed

+537
-220
lines changed

docs/components/AppHeader.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,9 @@ onMounted(async () => {
7070
<UTooltip text="Search" :shortcuts="[metaSymbol, 'K']" :popper="{ strategy: 'absolute' }">
7171
<UContentSearchButton :label="null" />
7272
</UTooltip>
73-
<UButton v-if="ready && !authenticated" size="sm" variant="ghost" label="Log in" to="https://admin.hub.nuxt.com/?utm_source=hub-docs&utm_medium=header&utm_campaign=login" color="black" class="hidden sm:inline-flex" external />
73+
<UButton color="gray" variant="ghost" icon="i-simple-icons-github" to="https://github.com/nuxt-hub/core" target="_blank" />
74+
<UColorModeButton class="hidden md:inline-flex" />
75+
<UButton v-if="ready && !authenticated" size="sm" variant="ghost" label="Log in" to="https://admin.hub.nuxt.com/?utm_source=hub-docs&utm_medium=header&utm_campaign=login" color="gray" class="hidden sm:inline-flex" external />
7476
<UButton v-if="ready && !authenticated" size="sm" variant="solid" label="Sign up" to="https://admin.hub.nuxt.com/?utm_source=hub-docs&utm_medium=header&utm_campaign=signup" class="hidden sm:inline-flex" external />
7577
<UButton v-if="ready && authenticated" size="sm" icon="i-ph-app-window-duotone" label="Dashboard" to="https://admin.hub.nuxt.com/?utm_source=hub-docs&utm_medium=header&utm_campaign=dashboard" color="green" class="hidden sm:inline-flex" external />
7678
</div>

docs/content/3.pricing.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,6 @@ faq:
239239
- label: 'Do you have a free trial?'
240240
content: "We don't have a free trial for now, the Solo plan should give you everything you need to get started with all NuxtHub features."
241241
- label: How can I contact your support team?
242-
content: 'You can contact us anytime at hub@nuxt.com, we are also on X/Twitter ([@nuxt_hub](https://x.com/nuxt_hub)) and we have a [Discord server](https://discord.gg/e25qqXb2mF).'
242+
content: 'You can contact us anytime at <a href="mailto:hub@nuxt.com">hub@nuxt.com</a>, we are also on X/Twitter (<a href="https://x.com/nuxt_hub" target="_blank">@nuxt_hub</a>) and we have a <a href="https://discord.gg/e25qqXb2mF" target="_blank">Discord server</a>.'
243243
- label: How can I cancel my subscription?
244244
content: 'In the billing section of your team, you can downgrade or cancel your subscription with one click.'

docs/pages/pricing.vue

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,12 @@ const evanTestimonial = computed(() => {
154154
<ul class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-10 items-start justify-center">
155155
<li v-for="step in home?.deploy.steps" :key="step.title" class="flex flex-col gap-y-8 justify-center group">
156156
<NuxtImg
157-
:src="step.img.src"
157+
:src="step.img.srcDark"
158158
:width="step.img.width"
159159
:height="step.img.height"
160160
:alt="step.title"
161+
class="hidden dark:block"
162+
lazy
161163
/>
162164
<div>
163165
<h2 class="font-semibold" v-html="step.title" />
@@ -171,7 +173,7 @@ const evanTestimonial = computed(() => {
171173
<ULandingSection :title="page.faq.title" :description="page.faq.description" :ui="{ container: 'max-w-5xl' }">
172174
<ULandingFAQ :items="page?.faq.items" multiple>
173175
<template #item="{ item }">
174-
<MDC :value="item.content" class="prose prose-primary dark:prose-invert max-w-none text-gray-500 dark:text-gray-400" />
176+
<div class="prose prose-primary dark:prose-invert max-w-none text-gray-500 dark:text-gray-400" v-html="item.content" />
175177
</template>
176178
</ULandingFAQ>
177179
</ULandingSection>

0 commit comments

Comments
 (0)