File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
packages/nimiq-vitepress-theme/src Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ const name = computed(() => removeNimiqPrefix(site.value.title))
1414 <img v-if =" theme.logo" class =" logo" :src =" theme.logo" >
1515 <div v-else i-nimiq:logos-nimiq-horizontal text-20 dark:i-nimiq:logos-nimiq-white-horizontal />
1616 <span translate-y--1 text-16 font-light tracking-wide >{{ name }}</span >
17+ <span v-if =" theme.betaBadge" text-10 font-semibold px-6 py-2 bg-blue-500 text-white rounded-4 translate-y--1 >BETA</span >
1718 </a >
1819 </div >
1920</template >
Original file line number Diff line number Diff line change @@ -82,6 +82,11 @@ export interface NimiqVitepressThemeConfig {
8282 * Can be overridden per-page via frontmatter
8383 */
8484 pageFooterLeftText ?: false | string | ( ( options : { path : string } ) => string )
85+ /**
86+ * Show a beta badge next to the logo
87+ * @default false
88+ */
89+ betaBadge ?: boolean
8590}
8691
8792export interface NimiqVitepressFrontmatter {
You can’t perform that action at this time.
0 commit comments