mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-05-13 23:16:47 +00:00
新增头像配置
This commit is contained in:
@@ -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_id!!!Duplicate 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
BIN
public/avatar.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 51 KiB |
@@ -19,7 +19,7 @@ export function InfoCard (props) {
|
||||
width={120}
|
||||
height={120}
|
||||
loading='lazy'
|
||||
src='/avatar.jpg'
|
||||
src={BLOG.AVATAR}
|
||||
className='rounded-full'
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@ const InfoCard = () => {
|
||||
width={120}
|
||||
height={120}
|
||||
loading='lazy'
|
||||
src='/avatar.jpg'
|
||||
src={BLOG.AVATAR}
|
||||
className='rounded-full'
|
||||
/>
|
||||
</div>
|
||||
|
||||
@@ -13,7 +13,7 @@ const InfoCard = () => {
|
||||
width={120}
|
||||
height={120}
|
||||
loading='lazy'
|
||||
src='/avatar.jpg'
|
||||
src={BLOG.AVATAR}
|
||||
className='rounded-full'
|
||||
/>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user