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' format: 'webp'
height: '216' height: '216'
width: '400' 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 #title
Showcase Showcase
#description #description
Discover our selection of websites built with Nuxt. This collection is powered by VueTelescope. Discover our selection of websites built with Nuxt. This collection is powered by VueTelescope.
#extra
:::showcases-buttons-hero
:: ::
:ShowcasesList :ShowcasesList

View File

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

View File

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

View File

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

View File

@ -11,14 +11,24 @@ image:
format: 'webp' format: 'webp'
height: '216' height: '216'
width: '400' 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 #title
Design Kit Design Kit
#description #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. 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 ::resources-design-kit-section