'首页更改'

This commit is contained in:
hackrobot
2025-03-22 23:44:37 -05:00
parent 5da3ac307f
commit 98cb1af20d
9 changed files with 298 additions and 43 deletions

View File

@@ -10,8 +10,8 @@ import {themes as prismThemes} from 'prism-react-renderer';
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'My Site',
tagline: 'Dinosaurs are cool',
title: 'Youtube运营笔记',
tagline: '数字游民-1',
favicon: 'img/favicon.ico',
// Set the production url of your site here
@@ -76,24 +76,26 @@ const config = {
// Replace with your project's social card
image: 'img/docusaurus-social-card.jpg',
navbar: {
title: 'My Site',
title: '油管运营笔记',
logo: {
alt: 'My Site Logo',
src: 'img/logo.svg',
alt: 'youtube',
// src: 'img/logo.svg',
src: 'img/youtube.svg',
},
items: [
{
type: 'docSidebar',
sidebarId: 'tutorialSidebar',
position: 'left',
label: 'Tutorial',
},
{to: '/blog', label: 'Blog', position: 'left'},
{
href: 'https://github.com/facebook/docusaurus',
label: 'GitHub',
position: 'right',
},
// {
// type: 'docSidebar',
// sidebarId: 'tutorialSidebar',
// position: 'left',
// label: 'Tutorial',
// },
// {to: '/blog', label: 'Blog', position: 'left'},
// {
// href: 'https://github.com/facebook/docusaurus',
// label: 'GitHub',
// position: 'right',
// },
],
},
footer: {
@@ -115,14 +117,14 @@ const config = {
label: 'Stack Overflow',
href: 'https://stackoverflow.com/questions/tagged/docusaurus',
},
{
label: 'Discord',
href: 'https://discordapp.com/invite/docusaurus',
},
{
label: 'X',
href: 'https://x.com/docusaurus',
},
// {
// label: 'Discord',
// href: 'https://discordapp.com/invite/docusaurus',
// },
// {
// label: 'X',
// href: 'https://x.com/docusaurus',
// },
],
},
{
@@ -132,14 +134,14 @@ const config = {
label: 'Blog',
to: '/blog',
},
{
label: 'GitHub',
href: 'https://github.com/facebook/docusaurus',
},
// {
// label: 'GitHub',
// href: 'https://github.com/facebook/docusaurus',
// },
],
},
],
copyright: `Copyright © ${new Date().getFullYear()} My Project, Inc. Built with Docusaurus.`,
copyright: `Copyright © ${new Date().getFullYear()} , Inc nomadyt.com`,
},
prism: {
theme: prismThemes.github,