mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-24 17:00:36 +01:00
docs(app): put back community links
This commit is contained in:
@@ -39,25 +39,21 @@ defineOgImageComponent('Docs', {
|
|||||||
headline: headline.value
|
headline: headline.value
|
||||||
})
|
})
|
||||||
|
|
||||||
// const communityLinks = computed(() => [{
|
const communityLinks = computed(() => [{
|
||||||
// icon: 'i-heroicons-pencil-square',
|
icon: 'i-heroicons-pencil-square',
|
||||||
// label: 'Edit this page',
|
label: 'Edit this page',
|
||||||
// to: `https://github.com/nuxt/ui/edit/dev/docs/content/${page?.value?._file}`,
|
to: `https://github.com/nuxt/ui/edit/v3/docs/content/${page?.value?._file}`,
|
||||||
// target: '_blank'
|
target: '_blank'
|
||||||
// }, {
|
}, {
|
||||||
// icon: 'i-heroicons-star',
|
icon: 'i-heroicons-star',
|
||||||
// label: 'Star on GitHub',
|
label: 'Star on GitHub',
|
||||||
// to: 'https://github.com/nuxt/ui',
|
to: 'https://github.com/nuxt/ui',
|
||||||
// target: '_blank'
|
target: '_blank'
|
||||||
// }, {
|
}, {
|
||||||
// icon: 'i-heroicons-lifebuoy',
|
label: 'Roadmap',
|
||||||
// label: 'Contributing',
|
icon: 'i-heroicons-map',
|
||||||
// to: '/getting-started/contributing'
|
to: '/roadmap'
|
||||||
// }, {
|
}])
|
||||||
// label: 'Roadmap',
|
|
||||||
// icon: 'i-heroicons-map',
|
|
||||||
// to: '/roadmap'
|
|
||||||
// }])
|
|
||||||
|
|
||||||
// const resourcesLinks = [{
|
// const resourcesLinks = [{
|
||||||
// icon: 'i-simple-icons-figma',
|
// icon: 'i-simple-icons-figma',
|
||||||
@@ -95,20 +91,20 @@ defineOgImageComponent('Docs', {
|
|||||||
|
|
||||||
<template v-if="page?.body?.toc?.links?.length" #right>
|
<template v-if="page?.body?.toc?.links?.length" #right>
|
||||||
<UContentToc :links="page.body.toc.links">
|
<UContentToc :links="page.body.toc.links">
|
||||||
<!-- <template #bottom>
|
<template #bottom>
|
||||||
<USeparator v-if="page.body?.toc?.links?.length" type="dashed" />
|
<USeparator v-if="page.body?.toc?.links?.length" type="dashed" />
|
||||||
|
|
||||||
<UPageLinks title="Community" :links="communityLinks" />
|
<UPageLinks title="Community" :links="communityLinks" />
|
||||||
|
|
||||||
<USeparator type="dashed" />
|
<!-- <USeparator type="dashed" />
|
||||||
|
|
||||||
<UPageLinks title="Resources" :links="resourcesLinks" />
|
<UPageLinks title="Resources" :links="resourcesLinks" />
|
||||||
|
|
||||||
<USeparator type="dashed" />
|
<USeparator type="dashed" />
|
||||||
|
|
||||||
<AdsPro />
|
<AdsPro />
|
||||||
<AdsCarbon />
|
<AdsCarbon /> -->
|
||||||
</template> -->
|
</template>
|
||||||
</UContentToc>
|
</UContentToc>
|
||||||
</template>
|
</template>
|
||||||
</UPage>
|
</UPage>
|
||||||
|
|||||||
28
docs/app/pages/roadmap.vue
Normal file
28
docs/app/pages/roadmap.vue
Normal file
@@ -0,0 +1,28 @@
|
|||||||
|
<script setup lang="ts">
|
||||||
|
const title = 'Roadmap'
|
||||||
|
const description = 'Discover our Volta board for @nuxt/ui development status.'
|
||||||
|
|
||||||
|
useSeoMeta({
|
||||||
|
titleTemplate: '%s - Nuxt UI',
|
||||||
|
title,
|
||||||
|
ogTitle: 'Nuxt UI Roadmap',
|
||||||
|
description
|
||||||
|
})
|
||||||
|
|
||||||
|
defineOgImageComponent('Docs')
|
||||||
|
|
||||||
|
const appConfig = useAppConfig()
|
||||||
|
const colorMode = useColorMode()
|
||||||
|
|
||||||
|
const token = 'eyJ2aWV3IjoiYm9hcmQiLCJib2FyZFN0YXR1c2VzIjpbInRyaWFnZSIsImJhY2tsb2ciLCJ0b2RvIiwiaW5fcHJvZ3Jlc3MiLCJpbl9yZXZpZXciLCJkb25lIiwicmVsZWFzZWQiXSwiYm9hcmRMaW5rZWRQcnMiOmZhbHNlLCJsaXN0R3JvdXAiOiJzdGF0ZSIsImxpc3RPcmRlciI6ImNyZWF0ZWRfYXQiLCJ0aW1lbGluZVpvb20iOiJtb250aCIsInRpbWVsaW5lT3JkZXIiOiJzdGF0ZSIsInRpbWVsaW5lRGlzcGxheSI6ImFsbF9taWxlc3RvbmVzIiwiZmlsdGVycyI6e30sIm93bmVyIjoibnV4dCIsIm5hbWUiOiJ1aSJ9'
|
||||||
|
|
||||||
|
const src = computed(() => `https://volta.net/embed/${token}?theme=${colorMode.value}&gray=${appConfig.ui.gray}&primary=${appConfig.ui.primary}`)
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<template>
|
||||||
|
<div class="h-[calc(100vh-var(--header-height)-var(--header-height)-1px)]">
|
||||||
|
<ClientOnly>
|
||||||
|
<iframe :src="src" width="100%" height="100%" />
|
||||||
|
</ClientOnly>
|
||||||
|
</div>
|
||||||
|
</template>
|
||||||
Reference in New Issue
Block a user