Skip to content

Commit 4b32c7d

Browse files
committed
docs: move features above
1 parent 2756223 commit 4b32c7d

File tree

2 files changed

+49
-60
lines changed

2 files changed

+49
-60
lines changed

docs/content/0.index.yml

Lines changed: 23 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -161,45 +161,44 @@ storage:
161161
tool:
162162
headline: All-in-one tool
163163
buttons:
164-
- label: NuxtHub Admin
165-
icon: i-simple-icons-nuxtdotjs
164+
- label: Start deploying
165+
icon: i-ph-rocket-launch
166166
color: black
167167
size: md
168168
to: https://admin.hub.nuxt.com/?utm_source=nuxthub-docs&utm_medium=home
169169
target: _blank
170-
- label: Get started
170+
- label: Read the docs
171171
color: gray
172172
variant: ghost
173-
trailing-icon: i-ph-arrow-right
174173
to: '/docs/getting-started'
175174
size: md
176175
title: Tailored features for <span class="text-primary">Nuxt developers</span>
177176
description: NuxtHub provides you with all the tools you need to build and deploy your Nuxt apps, globally.
178177
features:
179-
- title: 'Storage region'
180-
description: 'Choose one of the five Cloudflare regions to place your D1 and R2.'
181-
img: '/images/landing/tool-storage.svg'
178+
- title: 'Hybrid Rendering'
179+
description: 'Render your Nuxt app with SSR, SPA or pre-rendering at the page level.'
180+
- title: 'API Routes'
181+
description: 'Create API and server routes to create full-stack Nuxt applications.'
182+
- title: 'Global CDN'
183+
description: "Leverage Cloudflare's worldwide network for faster static assets delivery."
184+
- title: 'Edge Rendering'
185+
description: 'Your Nuxt apps renders in milliseconds from 300+ locations around the world.'
186+
- title: 'Auto Scaling'
187+
description: 'Your app handles traffic spikes without manual intervention.'
188+
- title: 'Instant Rollbacks'
189+
description: 'Quickly revert to previous deployments with one click if issues arise.'
190+
- title: 'Preview Deployments'
191+
description: 'Test pull requests and branches in isolated environments before going live.'
192+
- title: 'Custom Domains'
193+
description: 'Easy setup for your own domains or use our free .nuxt.dev subdomains.'
182194
- title: 'Environment variables'
183195
description: 'Securely store secrets, API keys, tokens, and other environment variables.'
184-
img: '/images/landing/tool-env.svg'
185-
- title: 'Production / Staging'
186-
description: 'Switch between your production or staging deployments & resources.'
187-
img: '/images/landing/tool-prod-staging.svg'
188-
- title: 'Custom domains'
189-
description: 'Set your custom domain or use our .nuxt.dev domain for free.'
190-
img: '/images/landing/tool-domains.svg'
191-
- title: 'NuxtHub templates'
192-
description: 'Quick start your next project using one of our ready-to use templates.'
193-
img: '/images/landing/tool-templates.svg'
196+
- title: 'Automatic HTTPS'
197+
description: 'SSL certificates are provisioned and renewed automatically.'
194198
- title: 'Real-time logs'
195199
description: 'Access to your Nuxt server logs in real-time for debugging purpose.'
196-
img: '/images/landing/tool-logs.svg'
197-
- title: 'Import from GitHub'
198-
description: 'Select a repository from your GitHub account and deploy it globally.'
199-
img: '/images/landing/tool-github.svg'
200-
- title: 'Nuxt DevTools'
201-
description: 'Manage your NuxtHub database, kv & blob in the Nuxt DevTools.'
202-
img: '/images/landing/tool-devtools.svg'
200+
- title: 'Import from git'
201+
description: 'Select a repository from your favourite git provider and deploy it globally.'
203202
testimonials:
204203
headline: 'Wall of love'
205204
title: 'Testimonials from <span class="text-primary">early adopters</span>'

docs/pages/index.vue

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -140,6 +140,31 @@ onMounted(() => {
140140
</ul>
141141
</ULandingSection>
142142

143+
<!-- tool section -->
144+
<div class="relative">
145+
<img src="/images/landing/bg-tailored.webp" width="1441" height="181" class="absolute top-0 w-full right-0" alt="Tailored section background">
146+
147+
<ULandingSection :links="page?.tool.buttons" class="relative">
148+
<template v-if="page?.tool.headline" #headline>
149+
<UBadge color="white" size="lg" class="rounded-full mb-6">
150+
{{ page?.tool.headline }}
151+
</UBadge>
152+
</template>
153+
<template #title>
154+
<span v-html="page?.tool.title" />
155+
</template>
156+
<template #description>
157+
<span v-html="page?.tool.description" />
158+
</template>
159+
160+
<ULandingGrid :ui="{ wrapper: 'flex flex-col md:grid gap-8 md:grid-cols-2 lg:grid-cols-4 relative' }">
161+
<ULandingCard
162+
v-for="tool in page?.tool.features" :key="tool.title" :title="tool.title" :description="tool.description"
163+
/>
164+
</ULandingGrid>
165+
</ULandingSection>
166+
</div>
167+
143168
<!-- Full Stack section -->
144169
<ULandingSection
145170
:title="page?.fullStack.title"
@@ -305,42 +330,7 @@ onMounted(() => {
305330
/>
306331
</ULandingSection>
307332

308-
<!-- tool section -->
309-
<div class="relative">
310-
<img src="/images/landing/bg-tailored.webp" width="1441" height="181" class="absolute top-0 w-full right-0" alt="Tailored section background">
311-
312-
<ULandingSection :links="page?.tool.buttons" class="relative">
313-
<template v-if="page?.tool.headline" #headline>
314-
<UBadge color="white" size="lg" class="rounded-full mb-6">
315-
{{ page?.tool.headline }}
316-
</UBadge>
317-
</template>
318-
<template #title>
319-
<span v-html="page?.tool.title" />
320-
</template>
321-
<template #description>
322-
<span v-html="page?.tool.description" />
323-
</template>
324-
325-
<ULandingGrid :ui="{ wrapper: 'flex flex-col md:grid gap-8 md:grid-cols-2 lg:grid-cols-4 relative' }">
326-
<ULandingCard
327-
v-for="tool in page?.tool.features" :key="tool.title" :description="tool.description"
328-
:ui="{ title: '', description: 'pl-8' }"
329-
>
330-
<template #title>
331-
<span class="flex flex-row gap-x-3 items-center">
332-
<img :src="tool.img" width="24" height="24" :alt="tool.title">
333-
<span class="text-gray-900 dark:text-white text-base font-bold truncate">
334-
{{ tool.title }}
335-
</span>
336-
</span>
337-
</template>
338-
</ULandingCard>
339-
</ULandingGrid>
340-
</ULandingSection>
341-
</div>
342-
343-
<!-- testomonials section -->
333+
<!-- testimonials section -->
344334
<ULandingSection>
345335
<template v-if="page?.testimonials.headline" #headline>
346336
<UBadge color="white" size="lg" class="rounded-full mb-6">

0 commit comments

Comments
 (0)