diff --git a/blog.config.js b/blog.config.js
index 09582ff9..525c00d5 100644
--- a/blog.config.js
+++ b/blog.config.js
@@ -1,6 +1,7 @@
const BLOG = {
title: '小唐笔记',
author: 'tangly1024',
+ bio: '一个普通的干饭人🍚', // Introduce Yourself
email: 'tlyong1992@hotmail.com',
link: 'https://tangly1024.com',
description: '分享编程技术与记录生活',
@@ -15,7 +16,7 @@ const BLOG = {
notionAccessToken: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public
appearance: 'auto', // ['light', 'dark', 'auto'],
font: 'font-sans tracking-wider subpixel-antialiased', // 文章字体 ['font-sans', 'font-serif', 'font-mono'] @see https://www.tailwindcss.cn/docs/font-family
- lightBackground: '#ffffff', // use hex value, don't forget '#' e.g #fffefc
+ lightBackground: '#eeeeee', // use hex value, don't forget '#' e.g #fffefc
darkBackground: '#111827', // use hex value, don't forget '#'
path: '', // leave this empty unless you want to deploy in a folder
since: 2020, // if leave this empty, current year will be used.
diff --git a/components/BlogPostListScroll.js b/components/BlogPostListScroll.js
index e272ed49..f0305f53 100644
--- a/components/BlogPostListScroll.js
+++ b/components/BlogPostListScroll.js
@@ -53,7 +53,7 @@ const BlogPostListScroll = ({ posts = [], tags, currentSearch, currentCategory,
if (!postsToShow || postsToShow.length === 0) {
return
} else {
- return
+ return
{/* 文章列表 */}
diff --git a/components/InfoCard.js b/components/InfoCard.js
index d7a148af..d9529357 100644
--- a/components/InfoCard.js
+++ b/components/InfoCard.js
@@ -9,7 +9,7 @@ const InfoCard = ({ postCount }) => {
{ Router.push('/about') }}>
{
className='rounded-full'
/>
-
{BLOG.title}
-
{BLOG.description}
+
{BLOG.author}
+
{BLOG.bio}
>
diff --git a/components/Logo.js b/components/Logo.js
index 0b98e685..bc8a2104 100644
--- a/components/Logo.js
+++ b/components/Logo.js
@@ -4,10 +4,10 @@ import React from 'react'
const Logo = () => {
return
-
- Tangly
- 1024
-
+
+
{BLOG.title}
+
{BLOG.description}
+
}
export default Logo
diff --git a/components/MenuButtonGroup.js b/components/MenuButtonGroup.js
index d7a4799e..50e93f32 100644
--- a/components/MenuButtonGroup.js
+++ b/components/MenuButtonGroup.js
@@ -22,7 +22,7 @@ const MenuButtonGroup = ({ allowCollapse = false }) => {
const selected = (router.pathname === link.to) || (router.asPath === link.to)
return
+ (selected ? 'bg-gray-200 text-black' : ' ')} >
diff --git a/components/SideAreaLeft.js b/components/SideAreaLeft.js
index a8f84100..9ea4dda0 100644
--- a/components/SideAreaLeft.js
+++ b/components/SideAreaLeft.js
@@ -7,6 +7,7 @@ import React from 'react'
import Analytics from './Analytics'
import Tabs from '@/components/Tabs'
import BLOG from '@/blog.config'
+import Logo from './Logo'
/**
* 侧边平铺
@@ -26,16 +27,19 @@ const SideAreaLeft = ({ title, tags, currentTag, post, posts, categories, curren
const postCount = posts?.length || 0
return
diff --git a/components/SideBar.js b/components/SideBar.js
index 836a3a25..03b5b104 100644
--- a/components/SideBar.js
+++ b/components/SideBar.js
@@ -7,6 +7,7 @@ import { faAngleDoubleRight, faArchive, faTags, faThList } from '@fortawesome/fr
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
import Link from 'next/link'
import React from 'react'
+import Logo from './Logo'
/**
* 侧边栏
@@ -22,22 +23,15 @@ import React from 'react'
*/
const SideBar = ({ title, tags, currentTag, post, posts, categories, currentCategory, currentSearch }) => {
const { locale } = useGlobal()
- return