Skip to content

Commit

Permalink
docs: update steps illustrations
Browse files Browse the repository at this point in the history
  • Loading branch information
atinux committed Aug 12, 2024
1 parent b9d2faa commit cba1af7
Show file tree
Hide file tree
Showing 10 changed files with 12 additions and 6 deletions.
8 changes: 4 additions & 4 deletions docs/content/0.index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,25 @@ deploy:
- title: Link your Cloudflare account
description: Create an API token on Cloudflare with our pre-filled template.
img:
src: '/images/landing/steps/link-cloudflare-account.webp'
src: '/images/landing/steps/link-cloudflare-account.svg'
width: 460
height: 259
- title: Create a Nuxt app
description: Start from our templates or import your GitHub repository.
img:
src: '/images/landing/steps/create-nuxthub-project.png'
src: '/images/landing/steps/create-nuxt-app.svg'
width: 460
height: 259
- title: Deploy it
description: Run the nuxthub deploy command or use the Cloudflare Pages CI/CD.
img:
src: '/images/landing/steps/deploy-nuxt-project.png'
src: '/images/landing/steps/deploy-nuxt-app.svg'
width: 460
height: 259
- title: Share it to the world
description: Get insights and manage your storage in NuxtHub.
img:
src: '/images/landing/steps/share-nuxt-project.webp'
src: '/images/landing/steps/share-nuxt-app.svg'
width: 460
height: 259
buttons:
Expand Down
6 changes: 4 additions & 2 deletions docs/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -78,8 +78,10 @@ onMounted(() => {
<ul class="grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-10 items-start justify-center">
<li v-for="step in page?.deploy.steps" :key="step.title" class="flex flex-col gap-y-8 justify-center group">
<NuxtImg
:src="step.img.src" :width="step.img.width" :height="step.img.height" :alt="step.title"
class="rounded-xl bg-gradient-to-r from-green-300 to-teal-500 group-hover:opacity-100 lg:opacity-90 transition duration-300"
:src="step.img.src"
:width="step.img.width"
:height="step.img.height"
:alt="step.title"
/>
<div>
<h2 class="font-semibold" v-html="step.title" />
Expand Down
1 change: 1 addition & 0 deletions docs/public/images/landing/steps/create-nuxt-app.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading

0 comments on commit cba1af7

Please sign in to comment.