Update favicon and logo in Docusaurus config

Changed the favicon to use a new .ico file and updated the logo images for both light and dark modes in docusaurus.config.js. Added the new favicon.ico to the static assets.
This commit is contained in:
Ryan Wang
2025-09-29 12:30:18 +08:00
parent 2ae969e39d
commit 7fd33183c5
2 changed files with 3 additions and 3 deletions

View File

@@ -5,7 +5,7 @@
const config = { const config = {
title: 'UPage 文档', title: 'UPage 文档',
tagline: 'UPage 是一款基于人工智能的可视化网页构建平台', tagline: 'UPage 是一款基于人工智能的可视化网页构建平台',
favicon: '../public/favicon.svg', favicon: 'img/favicon.ico',
// Set the production url of your site here // Set the production url of your site here
url: 'https://docs.upage.ai', url: 'https://docs.upage.ai',
@@ -63,10 +63,10 @@ const config = {
// Replace with your project's social card // Replace with your project's social card
image: 'img/social-card.png', image: 'img/social-card.png',
navbar: { navbar: {
title: 'UPage',
logo: { logo: {
alt: 'UPage Logo', alt: 'UPage Logo',
src: 'img/logo.svg', src: 'img/logo1.png',
srcDark: 'img/logo2.png',
}, },
items: [ items: [
{ {

BIN
docs/static/img/favicon.ico vendored Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB