Skip to content

Commit fd3c5f0

Browse files
committed
docs: various improvements
1 parent c339092 commit fd3c5f0

10 files changed

+34
-16
lines changed

docs/content/0.index.yml

+19-15
Original file line numberDiff line numberDiff line change
@@ -42,40 +42,44 @@ features:
4242
img: '/images/landing/features-privacy.svg'
4343
deploy:
4444
headline: Get Started
45-
title: Deploy a Nuxt application <span class="text-primary">in one minute</span>.
46-
description: Once you've linked your Cloudflare account, deploy your Nuxt application all over the world with our CLI or from git. <br/> You also get a free <span class="font-semibold">.nuxt.dev</span> domain.
45+
title: Deploy a Nuxt application <span class="text-primary">in 60 seconds</span>.
46+
description: Deploy your Nuxt application worldwide using our CLI or directly from Git after linking your Cloudflare account.<br>Manage deployments, monitor performance, and scale your app through the NuxtHub dashboard.<br>Every project receives a free <span class="font-semibold">.nuxt.dev</span> domain.
4747
steps:
48-
- title: Link your Cloudflare account
49-
description: Create an API token on Cloudflare with our pre-filled template.
48+
- title: Connect your Cloudflare account
49+
description: Securely connect with one click using our pre-configured Cloudflare API permissions.
5050
img:
51-
src: '/images/landing/steps/link-cloudflare-account.svg'
51+
srcLight: '/images/landing/steps/link-cloudflare-account-light.svg'
52+
srcDark: '/images/landing/steps/link-cloudflare-account-dark.svg'
5253
width: 460
5354
height: 259
54-
- title: Create a Nuxt app
55-
description: Start from our templates or import your GitHub repository.
55+
- title: Build your Nuxt app
56+
description: Choose from our optimized templates or import your existing GitHub/GitLab project.
5657
img:
57-
src: '/images/landing/steps/create-nuxt-app.svg'
58+
srcLight: '/images/landing/steps/create-nuxt-app-light.svg'
59+
srcDark: '/images/landing/steps/create-nuxt-app-dark.svg'
5860
width: 460
5961
height: 259
60-
- title: Deploy it
61-
description: Run the nuxthub deploy command or use the Cloudflare Pages CI/CD.
62+
- title: Launch it worldwide
63+
description: Deploy with 'npx nuxthub deploy' or leverage Cloudflare Pages CI/CD for automated deployments.
6264
img:
63-
src: '/images/landing/steps/deploy-nuxt-app.svg'
65+
srcLight: '/images/landing/steps/deploy-nuxt-app-light.svg'
66+
srcDark: '/images/landing/steps/deploy-nuxt-app-dark.svg'
6467
width: 460
6568
height: 259
6669
- title: Share it to the world
67-
description: Get insights and manage your storage in NuxtHub.
70+
description: Instantly share your app globally. Monitor & manage resources through the NuxtHub dashboard.
6871
img:
69-
src: '/images/landing/steps/share-nuxt-app.svg'
72+
srcLight: '/images/landing/steps/share-nuxt-app-light.svg'
73+
srcDark: '/images/landing/steps/share-nuxt-app-dark.svg'
7074
width: 460
7175
height: 259
7276
buttons:
73-
- label: Deploy now
77+
- label: Deploy my Nuxt app
7478
trailing-icon: i-ph-arrow-right
7579
color: black
7680
size: md
7781
to: /docs/getting-started/deploy
78-
- label: 1 min demo
82+
- label: Watch a 1 min demo
7983
color: gray
8084
variant: ghost
8185
icon: i-ph-video-duotone

docs/pages/index.vue

+11-1
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,20 @@ onMounted(() => {
125125
<ul class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-10 items-start justify-center">
126126
<li v-for="step in page?.deploy.steps" :key="step.title" class="flex flex-col gap-y-8 justify-center group">
127127
<NuxtImg
128-
:src="step.img.src"
128+
:src="step.img.srcDark"
129129
:width="step.img.width"
130130
:height="step.img.height"
131131
:alt="step.title"
132+
class="hidden dark:block"
133+
lazy
134+
/>
135+
<NuxtImg
136+
:src="step.img.srcLight"
137+
:width="step.img.width"
138+
:height="step.img.height"
139+
:alt="step.title"
140+
class="block dark:hidden"
141+
lazy
132142
/>
133143
<div>
134144
<h2 class="font-semibold" v-html="step.title" />
Loading

0 commit comments

Comments
 (0)