This commit is contained in:
tangly1024
2022-01-02 11:08:13 +08:00
parent b06b72983f
commit acea5fb822
4 changed files with 4 additions and 4 deletions

View File

@@ -21,7 +21,7 @@ const BLOG = {
showArchive: true, // WIP 是否显示归档
autoCollapsedNavBar: false, // the automatically collapsed navigation bar
socialLink: {
weibo: 'https://weibo.com/u/2245301913',
weibo: 'https://weibo.com/tangly1024',
twitter: '',
github: 'https://github.com/tangly1024',
telegram: ''

View File

@@ -60,7 +60,7 @@ export default function ArticleDetail ({ post, blockMap, recommendPosts, prev, n
{post.type && !post.type.includes('Page') && post?.page_cover && (
<div className="w-full relative md:flex-shrink-0 overflow-hidden">
{/* eslint-disable-next-line @next/next/no-img-element */}
<img alt={post.title} ref={attachZoomRef}src={post?.page_cover} className='object-center' />
<img alt={post.title} ref={attachZoomRef}src={post?.page_cover} className='object-center w-full' />
</div>
)}

View File

@@ -25,7 +25,7 @@ const SideAreaLeft = ({ title, tags, currentTag, post, posts, categories, curren
const postCount = posts?.length || 0
return <>
<section className='sticky top-16 w-60'>
<section className='sticky top-8 w-60'>
{/* 菜单 */}
<section className='shadow hidden lg:block mb-5 py-4 bg-white dark:bg-gray-800 hover:shadow-xl duration-200'>

View File

@@ -61,7 +61,7 @@ const SideAreaRight = ({
{/* <Analytics postCount={postCount}/> */}
<div className="sticky top-16">
<div className="sticky top-8">
{/* {showToc && (
<section className='pb-10 mb-5 bg-white dark:bg-gray-800 hover:shadow-xl duration-200'>
<div className='border-b text-center text-2xl bg-white text-black dark:border-gray-700 dark:bg-gray-700 dark:text-white py-6 px-6'>