mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 16:43:33 +09:00
74 lines
1.5 KiB
Vue
74 lines
1.5 KiB
Vue
<script setup lang="ts">
|
|
const markdownContainer = ref<HTMLElement>()
|
|
const toc = useMarkdownToc(markdownContainer)
|
|
|
|
const pageTitle = useVueroContext<string>('page-title')
|
|
onMounted(() => {
|
|
pageTitle.value = 'Content'
|
|
})
|
|
|
|
useHead({
|
|
title: 'Content - Components - Vuero',
|
|
})
|
|
</script>
|
|
|
|
<template>
|
|
<div>
|
|
<VBreadcrumb
|
|
with-icons
|
|
separator="bullet"
|
|
:items="[
|
|
{
|
|
label: 'Vuero',
|
|
hideLabel: true,
|
|
icon: 'lucide:home',
|
|
to: '/',
|
|
},
|
|
{
|
|
label: 'Components',
|
|
to: '/components/',
|
|
},
|
|
{
|
|
label: 'Content',
|
|
to: '/components/content',
|
|
},
|
|
]"
|
|
/>
|
|
|
|
<div class="columns">
|
|
<div
|
|
ref="markdownContainer"
|
|
:class="[toc.length > 0 ? 'is-9' : 'is-12']"
|
|
class="column doc-column stay-focus-container"
|
|
>
|
|
<!--Typography-->
|
|
<ContentUnorderedListsDocumentation />
|
|
|
|
<!--Typography-->
|
|
<ContentOrderedListsDocumentation />
|
|
|
|
<!--Typography-->
|
|
<ContentTitlesDocumentation />
|
|
|
|
<!--Typography-->
|
|
<ContentSubtitlesDocumentation />
|
|
|
|
<!--Typography-->
|
|
<ContentBlockquotesDocumentation />
|
|
|
|
<!--Typography-->
|
|
<ContentDividersDocumentation />
|
|
|
|
<!--Typography-->
|
|
<ContentTablesDocumentation />
|
|
</div>
|
|
<div
|
|
v-if="toc.length"
|
|
class="column is-3 toc-column"
|
|
>
|
|
<DocumentationToc :toc="toc" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</template>
|