Skip to content

Commit 88bfb09

Browse files
committed
Add Project Switcher Bar integration and remove ServerSideUp component
- Added dependency for @serversideup/project-switcher-bar in package.json and yarn.lock. - Replaced ServerSideUp component with ProjectSwitcherBar in app.vue. - Updated CSS to include styles from the new Project Switcher Bar. - Removed the ServerSideUp component as it is no longer needed.
1 parent abc6fbd commit 88bfb09

5 files changed

Lines changed: 37 additions & 241 deletions

File tree

docs/app/app.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
<UApp>
33
<NuxtLoadingIndicator />
44

5-
<ServerSideUp/>
5+
<ProjectSwitcherBar />
66

77
<UBanner
88
icon="i-lucide-zap"
@@ -33,6 +33,8 @@
3333
</template>
3434

3535
<script setup lang="ts">
36+
import { ProjectSwitcherBar } from '@serversideup/project-switcher-bar'
37+
3638
const { seo } = useAppConfig()
3739
3840
const { data: navigation } = await useAsyncData('navigation', () => queryCollectionNavigation('docs'))

docs/app/assets/css/main.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
@import "@nuxt/ui";
33

44
@source "../../../content/**/*";
5+
@source "../../../node_modules/@serversideup/project-switcher-bar/src";
56

67
@theme {
78
--color-mode: 'dark';

0 commit comments

Comments
 (0)