From 24c28ff787284ba52f63005b0fc1a39ba1bc1fc8 Mon Sep 17 00:00:00 2001 From: Hamish Willee Date: Thu, 28 Nov 2024 07:30:12 +1100 Subject: [PATCH] Fix up logo for dark/light mode (#574) --- .vitepress/config.mjs | 4 ++-- .../site/logo_mavlink_header_darkmode.png | Bin .../site/logo_mavlink_header_lightmode.png | Bin 3 files changed, 2 insertions(+), 2 deletions(-) rename {assets => public}/site/logo_mavlink_header_darkmode.png (100%) rename {assets => public}/site/logo_mavlink_header_lightmode.png (100%) diff --git a/.vitepress/config.mjs b/.vitepress/config.mjs index 2ef5af749..a909d213d 100644 --- a/.vitepress/config.mjs +++ b/.vitepress/config.mjs @@ -78,8 +78,8 @@ export default defineConfig({ // https://vitepress.dev/reference/default-theme-config siteTitle: false, logo: { - light: "/assets/site/logo_mavlink_header_lightmode.png", - dark: "/assets/site/logo_mavlink_header_darkmode.png", + light: "/site/logo_mavlink_header_lightmode.png", + dark: "/site/logo_mavlink_header_darkmode.png", alt: "", }, sidebar: getSidebar.sidebar("en"), diff --git a/assets/site/logo_mavlink_header_darkmode.png b/public/site/logo_mavlink_header_darkmode.png similarity index 100% rename from assets/site/logo_mavlink_header_darkmode.png rename to public/site/logo_mavlink_header_darkmode.png diff --git a/assets/site/logo_mavlink_header_lightmode.png b/public/site/logo_mavlink_header_lightmode.png similarity index 100% rename from assets/site/logo_mavlink_header_lightmode.png rename to public/site/logo_mavlink_header_lightmode.png