From 107b59d2d684e7b59dd37251da218e32dddea34b Mon Sep 17 00:00:00 2001 From: Saqib Noor Date: Fri, 13 Sep 2024 09:03:44 +0100 Subject: [PATCH] VitePress visual refresh v1 --- docs/.vitepress/config.ts | 10 ++- docs/.vitepress/theme/Layout.vue | 46 +++++++++++++- docs/.vitepress/theme/style.css | 104 ++++++++++++++++++++++++++++--- docs/favicon.png | Bin 0 -> 29445 bytes docs/gp_logo_dark.png | Bin 0 -> 30507 bytes docs/gp_logo_light.png | Bin 0 -> 30152 bytes docs/icons/api-dark.svg | 1 + docs/icons/api-light.svg | 1 + docs/icons/framework-dark.svg | 1 + docs/icons/framework-light.svg | 1 + docs/icons/tools-dark.svg | 1 + docs/icons/tools-light.svg | 1 + docs/index.md | 57 ++++++++++------- docs/logo-dark.svg | 2 +- docs/logo-light.svg | 2 +- 15 files changed, 189 insertions(+), 38 deletions(-) create mode 100644 docs/favicon.png create mode 100644 docs/gp_logo_dark.png create mode 100644 docs/gp_logo_light.png create mode 100644 docs/icons/api-dark.svg create mode 100644 docs/icons/api-light.svg create mode 100644 docs/icons/framework-dark.svg create mode 100644 docs/icons/framework-light.svg create mode 100644 docs/icons/tools-dark.svg create mode 100644 docs/icons/tools-light.svg diff --git a/docs/.vitepress/config.ts b/docs/.vitepress/config.ts index 895dfd3..07df859 100644 --- a/docs/.vitepress/config.ts +++ b/docs/.vitepress/config.ts @@ -25,10 +25,11 @@ function classesOnlySidebar() { }); } + // https://vitepress.dev/reference/site-config export default defineConfig({ - title: 'XO Stack', - description: 'XO Stack', + title: 'Documentation', + description: 'Documentation and guide for the XO Stack', themeConfig: { // Set the logo logo: { @@ -83,4 +84,9 @@ export default defineConfig({ label: 'On this page', }, }, + + head: [['link', { rel: 'icon', href: '/favicon.png' }]] + }); + + diff --git a/docs/.vitepress/theme/Layout.vue b/docs/.vitepress/theme/Layout.vue index 66dd769..0014b80 100644 --- a/docs/.vitepress/theme/Layout.vue +++ b/docs/.vitepress/theme/Layout.vue @@ -1,4 +1,4 @@ - +