Skip to content

Harness engineering beginner tutorial, from 0 to 1

Refine docs logo styling

sanbuphyb1200ea84dce
diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts
index b47a201..d3977b1 100644
--- a/docs/.vitepress/config.mts
+++ b/docs/.vitepress/config.mts
@@ -3,7 +3,7 @@ import { defineConfig } from "vitepress";
import { withMermaid } from "vitepress-plugin-mermaid";
const docsBase = "/learn-harness-engineering/";
-const starLogo = 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path fill="%23F5C542" stroke="%23D49B00" stroke-width="1.2" d="M12 2.8l2.68 5.43 5.99.87-4.34 4.23 1.02 5.97L12 16.64 6.65 19.3l1.02-5.97-4.34-4.23 5.99-.87L12 2.8Z"/></svg>';
+const brandLogo = 'data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23D95C41" stroke-width="1.8" stroke-linecap="round" stroke-linejoin="round"><line x1="12.1" y1="11.9" x2="18.9" y2="8.2" /><line x1="12.1" y1="12.1" x2="20.3" y2="12.9" /><line x1="12.2" y1="12.4" x2="16.6" y2="19.1" /><line x1="11.8" y1="12.4" x2="7.3" y2="19.2" /><line x1="11.9" y1="12.1" x2="3.7" y2="13.3" /><line x1="11.8" y1="11.7" x2="7.8" y2="4.4" /></svg>';
const zhLectureItems = [
{ text: "欢迎", link: "/zh/" },
@@ -85,10 +85,10 @@ export default withMermaid(
srcExclude: ["temp/**"],
ignoreDeadLinks: true,
head: [
- ['link', { rel: 'icon', type: 'image/svg+xml', href: starLogo }]
+ ['link', { rel: 'icon', type: 'image/svg+xml', href: brandLogo }]
],
themeConfig: {
- logo: starLogo,
+ logo: brandLogo,
search: {
provider: "local"
},