Skip to content

Commit

Permalink
docs: add pro section on landing
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Nov 20, 2023
1 parent f245b46 commit 0cb5cc3
Show file tree
Hide file tree
Showing 4 changed files with 374 additions and 2 deletions.
17 changes: 15 additions & 2 deletions docs/content/index.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ sections:
height: 160
orientation: 'horizontal'
links:
- label: Explore the docs
- label: Explore docs
to: /getting-started/theming
color: white
size: lg
Expand All @@ -72,7 +72,7 @@ sections:
class: 'dark:bg-gradient-to-b from-gray-950/50 to-gray-900'
slot: categories
links:
- label: View all components
- label: Explore components
to: /elements/accordion
color: white
size: lg
Expand Down Expand Up @@ -110,3 +110,16 @@ sections:
badge: 3
cta:
title: Trusted and supported by our<br class="hidden lg:block"> amazing community
pro:
title: 'Upgrade to <span class="text-primary">UI Pro</span> for more components'
description: 'Nuxt UI Pro is a collection of premium components built on top of Nuxt UI to create beautiful & responsive Nuxt applications in minutes.<br>It includes all primitives to build landing pages, documentation, blogs, changelog, dashboards or entire SaaS products.'
image:
path: /illustrations/pro
width: 1216
height: 424
links:
- label: Explore Pro
to: /pro
color: white
size: lg
trailingIcon: i-heroicons-arrow-right-20-solid
20 changes: 20 additions & 0 deletions docs/pages/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,26 @@
</div>
</ULandingCTA>
</ULandingSection>

<ULandingSection :links="page.pro.links">
<template #title>
<span v-html="page.pro.title" />
</template>

<template #description>
<span v-html="page.pro.description" />
</template>

<UColorModeImage
:light="`${page.pro.image.path}-light.svg`"
:dark="`${page.pro.image.path}-dark.svg`"
:width="page.pro.image.width"
:height="page.pro.image.height"
:alt="page.pro.title"
loading="lazy"
class="w-full lg:-mb-16"
/>
</ULandingSection>
</div>
</template>

Expand Down
Loading

1 comment on commit 0cb5cc3

@vercel
Copy link

@vercel vercel bot commented on 0cb5cc3 Nov 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui.nuxt.com
ui-nuxt-js.vercel.app
ui-git-dev-nuxt-js.vercel.app

Please sign in to comment.