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:
@@ -5,7 +5,7 @@
|
||||
const config = {
|
||||
title: 'UPage 文档',
|
||||
tagline: 'UPage 是一款基于人工智能的可视化网页构建平台',
|
||||
favicon: '../public/favicon.svg',
|
||||
favicon: 'img/favicon.ico',
|
||||
|
||||
// Set the production url of your site here
|
||||
url: 'https://docs.upage.ai',
|
||||
@@ -63,10 +63,10 @@ const config = {
|
||||
// Replace with your project's social card
|
||||
image: 'img/social-card.png',
|
||||
navbar: {
|
||||
title: 'UPage',
|
||||
logo: {
|
||||
alt: 'UPage Logo',
|
||||
src: 'img/logo.svg',
|
||||
src: 'img/logo1.png',
|
||||
srcDark: 'img/logo2.png',
|
||||
},
|
||||
items: [
|
||||
{
|
||||
|
||||
BIN
docs/static/img/favicon.ico
vendored
Normal file
BIN
docs/static/img/favicon.ico
vendored
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.2 KiB |
Reference in New Issue
Block a user