mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
19 lines
643 B
Vue
19 lines
643 B
Vue
<template>
|
|
<div class="grid gap-8 sm:grid-cols-2">
|
|
<DocsPrevNextCard v-if="prev" :title="prev.navigation?.title || prev.title" :description="prev.navigation?.description || prev.description" :to="prev._path" icon="i-heroicons-arrow-left-20-solid" />
|
|
<span v-else> </span>
|
|
<DocsPrevNextCard
|
|
v-if="next"
|
|
:title="next.navigation?.title || next.title"
|
|
:description="next.navigation?.description || next.description"
|
|
:to="next._path"
|
|
icon="i-heroicons-arrow-right-20-solid"
|
|
class="text-right"
|
|
/>
|
|
</div>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
const { prev, next } = useContent()
|
|
</script>
|