mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
Remove socialLinks config and three-dots menu. Add appearance toggle and combined GitHub + Star button directly in the navbar via layout slot. The button shows the Octocat icon, "Star" label, and live stargazer count.
19 lines
455 B
Vue
19 lines
455 B
Vue
<script setup>
|
|
import DefaultTheme from "vitepress/theme";
|
|
import VPSwitchAppearance from "vitepress/dist/client/theme-default/components/VPSwitchAppearance.vue";
|
|
import GitHubStars from "./GitHubStars.vue";
|
|
|
|
const { Layout } = DefaultTheme;
|
|
</script>
|
|
|
|
<template>
|
|
<Layout>
|
|
<template #nav-bar-content-after>
|
|
<div class="nav-bar-right">
|
|
<VPSwitchAppearance />
|
|
<GitHubStars />
|
|
</div>
|
|
</template>
|
|
</Layout>
|
|
</template>
|