docs: add buttons slot on PageHero component (#10139)

* button design change and add button in hero of designkit page

* delete showcasesButtonHero component

* wip

* review changes

* quote

* chore(lockfile): revert yarn.lock to its main state

Co-authored-by: Clément Ollivier <clement.o2p@gmail.com>
This commit is contained in:
Carolina Delerue 2023-01-20 15:11:10 +01:00 committed by GitHub
parent c28f1e429c
commit 2ba89ed44d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 49 additions and 11 deletions

View File

@ -12,13 +12,32 @@ image:
format: 'webp'
height: '216'
width: '400'
buttonsTextLeft: 'Download extension:'
buttonsHidden: true
buttons:
- label: 'Chrome'
size: 'lg'
variant: 'secondary'
to: 'https://chrome.google.com/webstore/detail/vue-telescope/neaebjphlfplgdhedjdhcnpjkndddbpd'
icon: 'logos:chrome'
target: '_blank'
- label: 'Firefox'
size: 'lg'
variant: 'secondary'
to: 'https://addons.mozilla.org/en/firefox/addon/vue-telescope/'
icon: 'logos:firefox'
target: '_blank'
- label: 'Edge'
size: 'lg'
variant: 'secondary'
to: 'https://microsoftedge.microsoft.com/addons/detail/vue-telescope/icgcillpgelpleniodgkmohgdmeogodl'
icon: 'logos:microsoft-edge'
target: '_blank'
---
#title
Showcase
#description
Discover our selection of websites built with Nuxt. This collection is powered by VueTelescope.
#extra
:::showcases-buttons-hero
::
:ShowcasesList

View File

@ -10,8 +10,11 @@ image:
format: 'svg'
height: '216'
width: '400'
buttonText: 'Submit my agency'
to: 'https://docs.google.com/forms/d/e/1FAIpQLSf85qskit5QqmGJcruGkGF0U7240Bh9MeN0pHB18UiOMWC8dA/viewform'
buttons:
- label: 'Submit my agency'
variant: 'primary-gradient'
to: 'https://docs.google.com/forms/d/e/1FAIpQLSf85qskit5QqmGJcruGkGF0U7240Bh9MeN0pHB18UiOMWC8dA/viewform'
target: '_blank'
---
#title
Agencies

View File

@ -11,8 +11,11 @@ image:
format: 'webp'
height: '216'
width: '400'
buttonText: 'Become a sponsor'
to: 'https://github.com/sponsors/nuxt'
buttons:
- label: 'Become a sponsor'
variant: 'primary-gradient'
to: 'https://github.com/sponsors/nuxt'
target: '_blank'
---
#title
Sponsors

View File

@ -11,8 +11,11 @@ image:
format: 'webp'
height: '216'
width: '400'
buttonText: 'Post a job'
to: 'https://vuejobs.com/jobs/create'
buttons:
- label: 'Post a job'
variant: 'primary-gradient'
to: 'https://vuejobs.com/jobs/create'
target: '_blank'
---
#title
Explore Nuxt Jobs

View File

@ -11,14 +11,24 @@ image:
format: 'webp'
height: '216'
width: '400'
buttons:
- label: 'Download Design Kit'
size: 'lg'
variant: 'secondary'
to: '/assets/design-kit/nuxt-assets.zip'
target: '_blank'
- label: 'Preview guidelines'
size: 'lg'
to: 'https://www.figma.com/file/DOO3neicujKl3ymcqUg9dK/%E2%9B%B0%EF%B8%8F---Nuxt-Brand-Guidelines?node-id=0%3A1&t=qBS3UqvGpjrIkxIm-1'
icon: 'uil:arrow-right'
trailing: 'trailing'
download: true
target: '_blank'
---
#title
Design Kit
#description
Welcome to Nuxt design definition page. Identity was redefined by handpicking conscientiously colors, typography and shapes in order to put forward how performant, useful & easy Nuxt products are.
#extra
:::resources-design-kit-assets-link
:::
::
::resources-design-kit-section