Skip to content

Commit

Permalink
Added version tag to hero
Browse files Browse the repository at this point in the history
  • Loading branch information
zoey-kaiser committed Dec 19, 2024
1 parent 586971f commit f7bf4d3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docs/.vitepress/theme/components/Layout.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import DefaultTheme from 'vitepress/theme'
import GithubStarsButton from './GithubStarsButton.vue'
import Banner from './Banner.vue'
import Tag from './Tag.vue'
const { Layout } = DefaultTheme
Expand All @@ -26,5 +27,11 @@ const bannerConfig = {
<template v-if="isBannerEnabled" #home-hero-before>
<Banner v-bind="bannerConfig" />
</template>

<template #home-hero-info-before>
<a href="/upgrade/version-0.10.0">
<Tag text="Version 0.10.0" />
</a>
</template>
</Layout>
</template>

0 comments on commit f7bf4d3

Please sign in to comment.