diff --git a/blog.config.js b/blog.config.js index 7f1de703..8a94df4c 100644 --- a/blog.config.js +++ b/blog.config.js @@ -1,6 +1,6 @@ const BLOG = { title: '塘里博客', - author: 'tangly', + author: 'tangly1024', email: 'tlyong1992@hotmail.com', link: 'https://tangly1024.com', description: '唐风集里,收卷波澜', diff --git a/components/ShareBar.js b/components/ShareBar.js index af0b35d7..8031bafd 100644 --- a/components/ShareBar.js +++ b/components/ShareBar.js @@ -52,14 +52,14 @@ const ShareBar = ({ post }) => { closePopover() }}>
-
+ className={(qrCodeShow ? 'animate__animated animate__fadeIn ' : 'hidden') + ' text-center py-2'}> +
- + 扫一扫分享
diff --git a/components/ShareButton.js b/components/ShareButton.js index 3fbe1972..ab19f161 100644 --- a/components/ShareButton.js +++ b/components/ShareButton.js @@ -20,12 +20,12 @@ const ShareButton = ({ post }) => {
{ openPopover() }} onMouseLeave={() => { closePopover() }}> -
+
-
+ className='z-20 border dark:border-gray-500 dark:bg-gray-600 bg-white cursor-pointer text-md hover:shadow-2xl'> +
) diff --git a/components/SideBar.js b/components/SideBar.js index b864db76..7482d213 100644 --- a/components/SideBar.js +++ b/components/SideBar.js @@ -10,7 +10,7 @@ import throttle from 'lodash.throttle' import TocBar from '@/components/TocBar' import SocialButton from '@/components/SocialButton' -const SideBar = ({ tags, currentTag, toc }) => { +const SideBar = ({ tags, currentTag, post }) => { const locale = useLocale() const router = useRouter() const [searchValue, setSearchValue] = useState('') @@ -42,10 +42,20 @@ const SideBar = ({ tags, currentTag, toc }) => { return