Skip to content

Commit

Permalink
fix(docs): Attempt #1 at fixing <ContentDoc /> issue on /release-notes
Browse files Browse the repository at this point in the history
  • Loading branch information
oyedejioyewole committed Dec 28, 2023
1 parent 3962194 commit dbe0ad1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
12 changes: 6 additions & 6 deletions docs/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<template>
<main>
<LazyIntroBanner />
<LazyContentDoc
class="mx-auto min-h-screen w-1/2 space-y-8 py-20"
id="documentation"
path="/"
/>
<IntroBanner />
<ContentDoc v-slot="{ doc }">
<section class="mx-auto min-h-screen w-1/2 py-20" id="documentation">
<ContentRenderer :value="doc" class="space-y-8" />
</section>
</ContentDoc>
</main>
</template>

Expand Down
10 changes: 5 additions & 5 deletions docs/pages/release-notes.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@
><LazyPhosphorIconArrowLeft size="20" /> Go back</NuxtLink
>
</div>
<LazyContentDoc
class="mx-auto min-h-screen w-1/2 space-y-8"
id="release-notes"
path="/release-notes"
/>
<ContentDoc v-slot="{ doc }">
<section class="mx-auto min-h-screen w-1/2 py-20" id="release-notes">
<ContentRenderer :value="doc" class="space-y-8" />
</section>
</ContentDoc>
</main>
</template>

Expand Down

0 comments on commit dbe0ad1

Please sign in to comment.