mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-26 07:32:01 +00:00
chore(docs): add soon badges
This commit is contained in:
parent
f7819f72cb
commit
7064728c21
@ -13,8 +13,9 @@
|
|||||||
>
|
>
|
||||||
<img loading="lazy" :src="image" :alt="`A ${title} image`">
|
<img loading="lazy" :src="image" :alt="`A ${title} image`">
|
||||||
</InjectComponent>
|
</InjectComponent>
|
||||||
<h3 class="mb-1 text-center text-body-lg lg:text-body-xl font-bold">
|
<h3 class="relative inline-flex mb-1 text-center text-body-lg items-center lg:text-body-xl font-bold">
|
||||||
{{ title }}
|
{{ title }}
|
||||||
|
<span v-if="soon" class="absolute -right-48px inline-flex items-center mt-1px px-1.5 py-0.5 rounded text-xs font-medium font-mono bg-cloud-surface dark:bg-sky-dark dark:text-white">soon</span>
|
||||||
</h3>
|
</h3>
|
||||||
<p class="text-center text-sm lg:text-base mb-4">
|
<p class="text-center text-sm lg:text-base mb-4">
|
||||||
{{ description }}
|
{{ description }}
|
||||||
@ -35,6 +36,10 @@ export default defineComponent({
|
|||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
},
|
},
|
||||||
|
soon: {
|
||||||
|
type: Boolean,
|
||||||
|
default: false
|
||||||
|
},
|
||||||
hoverClass: {
|
hoverClass: {
|
||||||
type: String,
|
type: String,
|
||||||
default: ''
|
default: ''
|
||||||
|
@ -53,6 +53,7 @@ Nuxt 3 has been re-architected with a smaller core and optimized for faster perf
|
|||||||
::
|
::
|
||||||
::section-content-item
|
::section-content-item
|
||||||
---
|
---
|
||||||
|
soon: true
|
||||||
title: Hybrid
|
title: Hybrid
|
||||||
description: 'Incremental Static Generation and other advanced modes are now possible.'
|
description: 'Incremental Static Generation and other advanced modes are now possible.'
|
||||||
image: IconHybrid
|
image: IconHybrid
|
||||||
@ -85,6 +86,7 @@ Nuxt 3 has been re-architected with a smaller core and optimized for faster perf
|
|||||||
::
|
::
|
||||||
::section-content-item
|
::section-content-item
|
||||||
---
|
---
|
||||||
|
soon: true
|
||||||
title: Nuxt Devtools
|
title: Nuxt Devtools
|
||||||
description: 'Work faster with info and quick fixes right in the browser.'
|
description: 'Work faster with info and quick fixes right in the browser.'
|
||||||
image: IconDevtools
|
image: IconDevtools
|
||||||
|
Loading…
Reference in New Issue
Block a user