diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 6f69c1cf..54070a3e 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -55,18 +55,24 @@ const config: UserConfig = { dark: "/logo-dark.svg", }, footer: { - message: - "GPUI Component is an open source project under the Apache-2.0 License, developed by Longbridge.", + message: `GPUI Component is an open source project under the Apache-2.0 License, + developed by Longbridge.`, copyright: ` - GPUI - | - Contributors - | - llms-full.txt - | - Report Bug - | - Discussion +

+ GPUI + | + Contributors + | + llms-full.txt + | + Report Bug + | + Discussion +

+

+ Icon resources are used Lucide, + Isocons. +

`, }, // https://vitepress.dev/reference/default-theme-config diff --git a/docs/.vitepress/theme/style.css b/docs/.vitepress/theme/style.css index e9437767..41f95d3e 100644 --- a/docs/.vitepress/theme/style.css +++ b/docs/.vitepress/theme/style.css @@ -41,7 +41,7 @@ --sidebar-ring: oklch(0.708 0 0); --vp-c-bg: var(--background); - --vp-c-bg-alt: var(--sidebar); + --vp-c-bg-alt: var(--secondary); --vp-c-bg-elv: var(--popover); --vp-c-bg-soft: var(--secondary); @@ -104,27 +104,31 @@ } .DocSearch-Button { - @apply rounded-md py-0 px-2 h-8 lg:w-56 xl:w-64; + @apply rounded-full py-0 px-2 h-8 lg:w-56 xl:w-64; + + .DocSearch-Button-Keys { + @apply rounded-full p-1; + } } .VPNav { - @apply bg-(--background) border-b border-(--border) border-dashed; + @apply bg-(--background) border-b border-(--border); .divider { @apply hidden; } } + .VPSwitch { + @apply border-(--secondary) bg-(--secondary) hover:border-(--border); + } + .VPFooter { @apply border-dashed; } .VPSidebar { - @apply border-r border-dashed border-(--border) bg-(--background); - - .VPSidebarItem .items { - @apply border-dashed; - } + @apply border-r border-(--border) bg-(--background); } .VPNavBarTitle { @@ -133,12 +137,6 @@ } } - .aside { - .content { - @apply border-dashed; - } - } - .prev-next { @apply border-0 pt-0; @@ -148,6 +146,14 @@ } } +.VPContent.has-sidebar { + .VPDoc { + @apply pt-32; + background: url("/components.svg") no-repeat; + background-position: top -45px right 320px; + } +} + .vp-doc { h2 { @apply border-t-0 mt-10 pt-0 pb-3 border-b border-dashed border-(--border); diff --git a/docs/contributors.md b/docs/contributors.md index c5f606ca..9baccc73 100644 --- a/docs/contributors.md +++ b/docs/contributors.md @@ -6,13 +6,4 @@ layout: home import Contributors from './contributors.vue' -
- -# Contributors - -We would like to extend our heartfelt thanks to the following -individuals for their invaluable contributions to the GPUI Component -library. Their dedication, expertise, and passion have been -instrumental in shaping this project into what it is today. - diff --git a/docs/contributors.vue b/docs/contributors.vue index d366b91b..2f9f19f7 100644 --- a/docs/contributors.vue +++ b/docs/contributors.vue @@ -1,5 +1,7 @@ @@ -28,12 +40,23 @@ const contributors = data;