新增头像配置

This commit is contained in:
tangly1024
2022-03-17 15:45:43 +08:00
parent 2fc7d76622
commit 527361140f
5 changed files with 4 additions and 3 deletions

View File

@@ -5,6 +5,7 @@ const BLOG = {
AUTHOR: 'tangly1024', // 作者
BIO: '一个普通的干饭人🍚', // 作者简介
LINK: 'https://tangly1024.com', // 网站地址
AVATAR: '/avatar.png', // 个人头像 默认取public目录下的avatar.png
KEYWORDS: 'Notion, 博客', // 网站关键词 英文逗号隔开
NOTION_PAGE_ID: process.env.NOTION_PAGE_ID || '02ab3b8678004aa69e9e415905ef32a5', // Important page_idDuplicate Template from https://www.notion.so/tanghh/02ab3b8678004aa69e9e415905ef32a5
NOTION_ACCESS_TOKEN: process.env.NOTION_ACCESS_TOKEN || '', // Useful if you prefer not to make your database public

BIN
public/avatar.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

View File

@@ -19,7 +19,7 @@ export function InfoCard (props) {
width={120}
height={120}
loading='lazy'
src='/avatar.jpg'
src={BLOG.AVATAR}
className='rounded-full'
/>
</div>

View File

@@ -13,7 +13,7 @@ const InfoCard = () => {
width={120}
height={120}
loading='lazy'
src='/avatar.jpg'
src={BLOG.AVATAR}
className='rounded-full'
/>
</div>

View File

@@ -13,7 +13,7 @@ const InfoCard = () => {
width={120}
height={120}
loading='lazy'
src='/avatar.jpg'
src={BLOG.AVATAR}
className='rounded-full'
/>
</div>