From f3f84b8e4efea68fa7bc6c2441002a9802217cf3 Mon Sep 17 00:00:00 2001 From: zernonia Date: Wed, 20 Nov 2024 00:15:52 +0800 Subject: [PATCH] chore: revamp sitte --- .../theme/components/Announcement.vue | 8 +- .../theme/components/CodeConfigCustomizer.vue | 4 +- .../theme/components/ExamplesNav.vue | 18 +- apps/www/.vitepress/theme/components/Kbd.vue | 2 +- .../theme/components/LandingExample.vue | 74 ++++++++ .../theme/components/LandingPage.vue | 90 +++++----- apps/www/.vitepress/theme/components/Logo.vue | 2 +- .../theme/components/PageAction.vue | 2 +- .../theme/components/PageHeader.vue | 6 +- .../components/PageHeaderDescription.vue | 5 +- .../theme/components/PageHeaderHeading.vue | 2 +- .../theme/components/TableOfContent.vue | 9 +- .../theme/components/ThemePopover.vue | 2 +- apps/www/.vitepress/theme/config/docs.ts | 13 +- .../.vitepress/theme/layout/DocsLayout.vue | 170 +++++++++--------- .../theme/layout/ExamplesLayout.vue | 61 +++---- .../.vitepress/theme/layout/MainLayout.vue | 116 +++++------- apps/www/.vitepress/theme/style.css | 105 +++++++---- apps/www/.vitepress/theme/styles/vp-doc.css | 35 ++-- .../examples/cards/components/TeamMembers.vue | 59 ++++++ .../dashboard/components/TeamSwitcher.vue | 2 +- .../components/DataTableFacetedFilter.vue | 4 +- .../lib/registry/default/example/CardChat.vue | 5 +- .../registry/new-york/example/CardChat.vue | 5 +- .../registry/new-york/example/CardStats.vue | 6 +- .../public/fonts/Geist/GeistVariableVF.woff2 | Bin 53444 -> 0 bytes apps/www/src/public/fonts/Geist/LICENSE.TXT | 92 ---------- apps/www/src/public/fonts/GeistMono[wght].ttf | Bin 0 -> 138896 bytes apps/www/src/public/fonts/Geist[wght].ttf | Bin 0 -> 149972 bytes apps/www/tailwind.config.js | 40 ++--- 30 files changed, 470 insertions(+), 467 deletions(-) create mode 100644 apps/www/.vitepress/theme/components/LandingExample.vue delete mode 100644 apps/www/src/public/fonts/Geist/GeistVariableVF.woff2 delete mode 100644 apps/www/src/public/fonts/Geist/LICENSE.TXT create mode 100644 apps/www/src/public/fonts/GeistMono[wght].ttf create mode 100644 apps/www/src/public/fonts/Geist[wght].ttf diff --git a/apps/www/.vitepress/theme/components/Announcement.vue b/apps/www/.vitepress/theme/components/Announcement.vue index f407ebf5..7d998ff1 100644 --- a/apps/www/.vitepress/theme/components/Announcement.vue +++ b/apps/www/.vitepress/theme/components/Announcement.vue @@ -1,5 +1,4 @@ @@ -7,11 +6,10 @@ import { announcementConfig } from '../config/site' diff --git a/apps/www/.vitepress/theme/components/PageAction.vue b/apps/www/.vitepress/theme/components/PageAction.vue index 4564c959..b733281a 100644 --- a/apps/www/.vitepress/theme/components/PageAction.vue +++ b/apps/www/.vitepress/theme/components/PageAction.vue @@ -5,7 +5,7 @@ import { cn } from '@/lib/utils'