Skip to content

Commit 7fd3318

Browse files
committed
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.
1 parent 2ae969e commit 7fd3318

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/docusaurus.config.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
const config = {
66
title: 'UPage 文档',
77
tagline: 'UPage 是一款基于人工智能的可视化网页构建平台',
8-
favicon: '../public/favicon.svg',
8+
favicon: 'img/favicon.ico',
99

1010
// Set the production url of your site here
1111
url: 'https://docs.upage.ai',
@@ -63,10 +63,10 @@ const config = {
6363
// Replace with your project's social card
6464
image: 'img/social-card.png',
6565
navbar: {
66-
title: 'UPage',
6766
logo: {
6867
alt: 'UPage Logo',
69-
src: 'img/logo.svg',
68+
src: 'img/logo1.png',
69+
srcDark: 'img/logo2.png',
7070
},
7171
items: [
7272
{

docs/static/img/favicon.ico

4.19 KB
Binary file not shown.

0 commit comments

Comments
 (0)