-
+
{ Router.push('/') }}>
{
{BLOG.author}
{BLOG.description}
-
Fuzhou,China
>
diff --git a/components/JumpToTop.js b/components/JumpToTop.js
index 2e81e8fa..f269be31 100644
--- a/components/JumpToTop.js
+++ b/components/JumpToTop.js
@@ -33,16 +33,17 @@ const JumpToTop = ({ targetRef, showPercent = true }) => {
return (
+ className={(show ? 'animate__fade InUp' : 'animate__fadeOutUp') + ' rounded-full animate__animated animate__faster shadow-xl'}>
window.scrollTo({ top: 0, behavior: 'smooth' })}>
{showPercent && (
-
- {percent}%
-
+
+ {percent}%
+
)}
-
diff --git a/components/MenuButtonGroup.js b/components/MenuButtonGroup.js
index c84487b9..37100c01 100644
--- a/components/MenuButtonGroup.js
+++ b/components/MenuButtonGroup.js
@@ -4,7 +4,7 @@ import { useLocale } from '@/lib/locale'
const MenuButtonGroup = ({ allowCollapse = false }) => {
const locale = useLocale()
const links = [
- // { id: 0, icon: 'fa-home', name: locale.NAV.INDEX, to: '/' || '/', show: true },
+ { id: 0, icon: 'fa-home', name: locale.NAV.INDEX, to: '/' || '/', show: true },
{ id: 1, icon: 'fa-info-circle', name: locale.NAV.ABOUT, to: '/article/about', show: true },
{ id: 7, icon: 'fa-github', name: 'Github', to: 'https://github.com/tangly1024', show: true },
{ id: 5, icon: 'fa-weibo', name: '微博', to: 'https://weibo.com/tangly1024', show: true },
diff --git a/components/RewardButton.js b/components/RewardButton.js
index 959439ff..62f72d6b 100644
--- a/components/RewardButton.js
+++ b/components/RewardButton.js
@@ -40,12 +40,12 @@ const RewardButton = () => {
+ className='animate__animated animate__fadeIn hover:shadow-2xl duration-200 my-5 px-5 py-6 w-96 grid justify-center bg-white dark:bg-black dark:text-gray-200'>
diff --git a/components/ShareBar.js b/components/ShareBar.js
index 8031bafd..c2b1942a 100644
--- a/components/ShareBar.js
+++ b/components/ShareBar.js
@@ -16,7 +16,7 @@ const ShareBar = ({ post }) => {
const openPopover = () => {
createPopper(btnRef.current, popoverRef.current, {
- placement: 'left'
+ placement: 'top'
})
setQrCodeShow(true)
}
@@ -31,20 +31,20 @@ const ShareBar = ({ post }) => {
return <>
+ className='py-2 text-gray-500 text-center space-x-2 flex inline-block my-1 dark:text-gray-200 overflow-visible'>
>
diff --git a/components/SideBar.js b/components/SideBar.js
index 915a778b..67dae1ff 100644
--- a/components/SideBar.js
+++ b/components/SideBar.js
@@ -6,20 +6,26 @@ import TagList from '@/components/TagList'
const SideBar = ({ tags, currentTag, post }) => {
return