refactor(home): sections (#9882)

This commit is contained in:
Florent Delerue 2023-01-03 11:43:09 +01:00 committed by GitHub
parent c00f21e706
commit a59f28a04a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -31,8 +31,7 @@ Build your next Vue.js application with confidence using Nuxt. An open source fr
Deliver an optimized [User Experience]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400} Deliver an optimized [User Experience]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400}
#description #description
How a user interacts with and experiences your website will determine your impact. Utility, ease of use, and efficiency are key. **Nuxt is built with a set of features that make this possible.** How a user interacts with and experiences your website will determine your impact. Utility, ease of use, and efficiency are key. **Nuxt is built with a set of features that make this possible.**
#extra #cards
::home-card-list
:::home-card-item :::home-card-item
--- ---
image: image:
@ -67,7 +66,6 @@ How a user interacts with and experiences your website will determine your impac
#description #description
By leveraging server-side rendering, ESM format and optimized images, Nuxt websites are indexable by search engines while giving the feeling of an app to the end-users. By leveraging server-side rendering, ESM format and optimized images, Nuxt websites are indexable by search engines while giving the feeling of an app to the end-users.
::: :::
::
:: ::
::home-section ::home-section
@ -87,17 +85,18 @@ Discover our showcase
:: ::
::home-section ::home-section
---
buttons:
- label: 'Try it now'
size: 'xl'
variant: 'primary-gradient'
to: '/docs/getting-started/installation'
---
#title #title
Discover a new [Developer Experience]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400} Discover a new [Developer Experience]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400}
#description #description
Developers deserve solutions as well designed as non-technical people. Our focus is to empower Vue developers to ship great softwares with confidence. Developers deserve solutions as well designed as non-technical people. Our focus is to empower Vue developers to ship great softwares with confidence.
#extra #cards
::home-cta
---
buttonText: "Try it now"
buttonLink: "/docs/getting-started/installation"
---
::home-card-list
:::home-card-item :::home-card-item
--- ---
image: image:
@ -131,8 +130,6 @@ Developers deserve solutions as well designed as non-technical people. Our focus
#description #description
Data fetching, state management, meta tags helpers, route guards, cookies, error handling, bundle analyzer and more. Data fetching, state management, meta tags helpers, route guards, cookies, error handling, bundle analyzer and more.
::: :::
::
::
:: ::
::home-section ::home-section
@ -143,10 +140,8 @@ titleSizeClass: 'text-2xl font-semibold md:text-3xl lg:text-4xl'
Trusted by the world wide web Trusted by the world wide web
#description #description
Their opinions are valuable and worth sharing to everyone. Their opinions are valuable and worth sharing to everyone.
#extra #cards
:::home-testimonials-list :::home-testimonials-item
#items
::::home-testimonials-item
--- ---
authorImg: evan authorImg: evan
authorUrl: 'https://twitter.com/youyuxi' authorUrl: 'https://twitter.com/youyuxi'
@ -157,9 +152,9 @@ Their opinions are valuable and worth sharing to everyone.
Creator of VueJS Creator of VueJS
#quote #quote
Nuxt offers a compelling solution and a great ecosystem to help you ship fullstack Vue apps that are performant and SEO friendly. The flexibility to choose between SSR and SSG is icing on the cake. Nuxt offers a compelling solution and a great ecosystem to help you ship fullstack Vue apps that are performant and SEO friendly. The flexibility to choose between SSR and SSG is icing on the cake.
:::: :::
::::home-testimonials-item :::home-testimonials-item
--- ---
authorImg: sarah authorImg: sarah
authorUrl: 'https://twitter.com/sarah_edo' authorUrl: 'https://twitter.com/sarah_edo'
@ -171,9 +166,9 @@ Their opinions are valuable and worth sharing to everyone.
#quote #quote
Nuxt has outstanding developer productivity, experience, and performance right out of the gate! Nuxt has outstanding developer productivity, experience, and performance right out of the gate!
Theres so much attention to detail, ensuring teams have everything at their fingertips to productively build all manners of applications. Theres so much attention to detail, ensuring teams have everything at their fingertips to productively build all manners of applications.
:::: :::
::::home-testimonials-item :::home-testimonials-item
--- ---
authorImg: addy authorImg: addy
authorUrl: 'https://twitter.com/addyosmani' authorUrl: 'https://twitter.com/addyosmani'
@ -184,11 +179,17 @@ Their opinions are valuable and worth sharing to everyone.
Chief Engineer of Chrome Chief Engineer of Chrome
#quote #quote
Nuxt is a fantastic choice for teams building a production-grade product on the web. It aims to bake in performance best-practices while maintaining excellent Vue.js DX. Nuxt is a fantastic choice for teams building a production-grade product on the web. It aims to bake in performance best-practices while maintaining excellent Vue.js DX.
::::
::: :::
:: ::
::home-section ::home-section
---
buttons:
- label: 'Explore Nuxt modules'
size: 'xl'
variant: 'primary-gradient'
to: '/modules'
---
#title #title
Ship faster with [Nuxt modules]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400} Ship faster with [Nuxt modules]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400}
#description #description
@ -196,26 +197,19 @@ Nuxt is made with a robust plugin system. Integrate with popular CMS or UI libra
#link #link
Explore Nuxt modules Explore Nuxt modules
#extra #extra
::home-dx-section ::home-modules-list
---
buttonText: "Explore Nuxt modules"
buttonLink: "/modules"
---
:::home-modules-list
:::
:: ::
:: ::
::home-section ::home-section
---
cardsClass: 'lg:grid-cols-4'
---
#title #title
A community of [Web builders]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-300} A community of [Web builders]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-300}
#description #description
Nuxt is composed of web builders all over the world who like to craft beautiful user experiences with Vue.js. Nuxt is composed of web builders all over the world who like to craft beautiful user experiences with Vue.js.
#extra #cards
::home-card-list
---
gridClass: 'lg:grid-cols-4'
---
:::home-card-item :::home-card-item
--- ---
icon: 'fa-brands:npm' icon: 'fa-brands:npm'
@ -256,22 +250,21 @@ Nuxt is composed of web builders all over the world who like to craft beautiful
#description #description
Twitter followers Twitter followers
::: :::
::
:: ::
::home-section ::home-section
---
buttons:
- label: 'Discover our solutions'
size: 'xl'
variant: 'primary-gradient'
to: '/support/solutions'
---
#title #title
A solution to cover [all your needs]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400} A solution to cover [all your needs]{.text-transparent .bg-clip-text .bg-gradient-to-r .from-green-400 .to-teal-400}
#description #description
Developers deserve solutions as well designed as non-technical people. Our focus is to empower Vue developers to ship great softwares with confidence. Developers deserve solutions as well designed as non-technical people. Our focus is to empower Vue developers to ship great softwares with confidence.
#extra
::home-dx-section
---
buttonText: "Discover our solutions"
buttonLink: "/support/solutions"
---
#cards #cards
:::home-card-list
:::home-card-item :::home-card-item
--- ---
headerClass: 'justify-start px-4 pt-4 sm:px-6' headerClass: 'justify-start px-4 pt-4 sm:px-6'
@ -320,29 +313,25 @@ buttonLink: "/support/solutions"
#description #description
More than 2000 active contributors on multiple platforms are here to help ! More than 2000 active contributors on multiple platforms are here to help !
::: :::
:::
::
:: ::
::home-journey-section :::home-section{ .mb-20 }
#content ---
:::home-section sectionAlign: 'row'
--- buttons:
buttons: - label: 'Get started'
- label: 'Get started'
size: 'xl' size: 'xl'
variant: 'primary-gradient' variant: 'primary-gradient'
to: '/docs/getting-started/introduction' to: '/docs/getting-started/introduction'
- label: 'Explore Examples' - label: 'Explore Examples'
size: 'xl' size: 'xl'
variant: 'secondary' variant: 'secondary'
to: '/docs/examples/essentials/hello-world' to: '/docs/examples/essentials/hello-world'
--- ---
#sectionTitle #sectionTitle
GETTING STARTED GETTING STARTED
#title #title
Start your Nuxt Journey Start your Nuxt Journey
#description #description
Learn everything you need to know, from beginner to master. Learn everything you need to know, from beginner to master.
::: :::
::