-
Notifications
You must be signed in to change notification settings - Fork 66
/
concepts.vue
50 lines (42 loc) · 1.13 KB
/
concepts.vue
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<template layout="base">
<Page>
<Top>
<Navbar />
<HorizontalContainer>
<Hero
:title="title"
:description="snippet"
:breadcrumb="{
back: { title: 'Concepts', href: '/concepts' },
title,
}"
client:none
/>
<QuickStart client:load />
<div class="space-y-8 md:space-y-10 lg:space-y-12">
<Content>
<slot />
</Content>
<Related v-if="related && related.length > 0" :related="related" />
<ExternalSources
v-if="externalSources && externalSources.length > 0"
:links="externalSources"
:showTitle="true"
/>
</div>
<div class="mt-16 space-y-12">
<Separator />
<FeedbackBar />
</div>
</HorizontalContainer>
</Top>
<Footer client:load />
</Page>
</template>
<script setup lang="ts">
import { usePage } from "iles";
import { ConceptPageProps } from "~/logic/content";
const {
frontmatter: { title, snippet, externalSources, related, wip },
} = usePage<ConceptPageProps>();
</script>