From c3cfd4488395ec84a616a1da4799d0486cd77cbe Mon Sep 17 00:00:00 2001 From: Aurelien Franky Date: Sun, 3 Dec 2023 10:52:36 +0100 Subject: [PATCH] fix missing icons --- websites/docs/.vitepress/config.mts | 8 ++------ websites/docs/.vitepress/theme/index.ts | 12 ++++++------ websites/docs/pages/{assets => public}/favicon.ico | Bin websites/docs/pages/{assets => public}/logo.svg | 0 .../docs/pages/{assets => public}/logo_inverted.svg | 0 5 files changed, 8 insertions(+), 12 deletions(-) rename websites/docs/pages/{assets => public}/favicon.ico (100%) rename websites/docs/pages/{assets => public}/logo.svg (100%) rename websites/docs/pages/{assets => public}/logo_inverted.svg (100%) diff --git a/websites/docs/.vitepress/config.mts b/websites/docs/.vitepress/config.mts index 047ecaa..a100f87 100644 --- a/websites/docs/.vitepress/config.mts +++ b/websites/docs/.vitepress/config.mts @@ -8,10 +8,10 @@ export default defineConfig({ lastUpdated: true, head: [ ["script", { async: "", src: "https://www.googletagmanager.com/gtag/js?id=G-GEPCR3WDKS" }], - ["link", { rel: "icon", href: "/assets/favicon.ico" }], + ["link", { rel: "icon", href: "/favicon.ico" }], ], themeConfig: { - logo: "/assets/logo_inverted.svg", + logo: "/logo_inverted.svg", search: { provider: "local", }, @@ -80,9 +80,5 @@ export default defineConfig({ { icon: "discord", link: "https://discord.gg/3RxwUEk8fW" }, { icon: "github", link: "https://github.com/pufflyai/prompt-studio-core" }, ], - footer: { - message: "Made with ❤️ at Pufflig", - copyright: "Copyright © 2023 Pufflig AB", - }, }, }); diff --git a/websites/docs/.vitepress/theme/index.ts b/websites/docs/.vitepress/theme/index.ts index bdd506d..fa86128 100644 --- a/websites/docs/.vitepress/theme/index.ts +++ b/websites/docs/.vitepress/theme/index.ts @@ -1,16 +1,16 @@ // https://vitepress.dev/guide/custom-theme -import { h } from 'vue' -import Theme from 'vitepress/theme' -import './style.css' +import { h } from "vue"; +import Theme from "vitepress/theme"; +import "./style.css"; export default { extends: Theme, Layout: () => { return h(Theme.Layout, null, { // https://vitepress.dev/guide/extending-default-theme#layout-slots - }) + }); }, enhanceApp({ app, router, siteData }) { // ... - } -} + }, +}; diff --git a/websites/docs/pages/assets/favicon.ico b/websites/docs/pages/public/favicon.ico similarity index 100% rename from websites/docs/pages/assets/favicon.ico rename to websites/docs/pages/public/favicon.ico diff --git a/websites/docs/pages/assets/logo.svg b/websites/docs/pages/public/logo.svg similarity index 100% rename from websites/docs/pages/assets/logo.svg rename to websites/docs/pages/public/logo.svg diff --git a/websites/docs/pages/assets/logo_inverted.svg b/websites/docs/pages/public/logo_inverted.svg similarity index 100% rename from websites/docs/pages/assets/logo_inverted.svg rename to websites/docs/pages/public/logo_inverted.svg