diff --git a/blog.config.js b/blog.config.js index d250381b..b1b45541 100644 --- a/blog.config.js +++ b/blog.config.js @@ -4,7 +4,8 @@ const BLOG = { email: 'tlyong1992@hotmail.com', link: 'https://tangly1024.com', description: '分享编程技术与记录生活', - headerStrings: ['Hi,我是一个程序员', 'Hi,我是一个打工人', 'Hi,我是一个干饭人', '欢迎来到我的博客🎉'], // 首页文字 + headerStrings: ['Hi,我是一个程序员', 'Hi,我是一个打工人', 'Hi,我是一个干饭人', '唐风集里,收卷波澜'], // Index words + bannerImage: 'http://bing.creepersan.com/api/v1/img-current', // Index Banner Image lang: 'zh-CN', // ['zh-CN','en-US'] default lang => see /lib/lang.js for more. notionPageId: process.env.NOTION_PAGE_ID || 'bee1fccfa3bd47a1a7be83cc71372d83', // Important page_id!!! notionAccessToken: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public diff --git a/components/Header.js b/components/Header.js index 668d20b8..2f1873f8 100644 --- a/components/Header.js +++ b/components/Header.js @@ -93,7 +93,7 @@ export default function Header () { style={{ height: 'calc(100vh + 1px)', backgroundImage: - 'linear-gradient(rgba(0, 0, 0, 0.5), rgba(0,0,0,0.4), rgba(0, 0, 0, 0.5) ),url("./bg_image.jpg")' + `linear-gradient(rgba(0, 0, 0, 0.5), rgba(0,0,0,0.4), rgba(0, 0, 0, 0.5) ),url('${BLOG.bannerImage}')` }} >
diff --git a/components/InfoCard.js b/components/InfoCard.js index 9afc803f..27e03a23 100644 --- a/components/InfoCard.js +++ b/components/InfoCard.js @@ -5,7 +5,7 @@ import React from 'react' const InfoCard = ({ postCount }) => { return <> -
{ Router.push('/') }}> +
{ Router.push('/') }}>
{BLOG.title} { height={120} loading='lazy' src='/avatar.jpg' - className='rounded-full border-black' + className='rounded-full' />
{BLOG.title}
diff --git a/components/LatestPostsGroup.js b/components/LatestPostsGroup.js index a754553c..3b7d5b31 100644 --- a/components/LatestPostsGroup.js +++ b/components/LatestPostsGroup.js @@ -33,8 +33,8 @@ const LatestPostsGroup = ({ posts, sliceCount = 5 }) => { return ( -
+
{post.title}
diff --git a/components/SideAreaLeft.js b/components/SideAreaLeft.js index 0e402c89..9c388745 100644 --- a/components/SideAreaLeft.js +++ b/components/SideAreaLeft.js @@ -25,7 +25,7 @@ const SideAreaLeft = ({ title, tags, currentTag, post, posts, categories, curren return <>
-
+
@@ -58,7 +58,7 @@ const SideAreaLeft = ({ title, tags, currentTag, post, posts, categories, curren {showToc && (
-