+ className={(show ? 'animate__fade InUp' : 'animate__fadeOutUp') + ' animate__animated animate__faster shadow-lg'}>
window.scrollTo({ top: 0, behavior: 'smooth' })}>
diff --git a/components/MenuButtonGroup.js b/components/MenuButtonGroup.js
index d0538693..c84487b9 100644
--- a/components/MenuButtonGroup.js
+++ b/components/MenuButtonGroup.js
@@ -1,20 +1,19 @@
import React from 'react'
import { useLocale } from '@/lib/locale'
-import Link from 'next/link'
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: 2, icon: 'fa-rss-square', name: locale.NAV.RSS, to: '/feed', show: true },
- { id: 3, icon: 'fa-compass', name: '发现', to: 'https://search.tangly1024.com/', show: true },
- { id: 4, icon: 'fa-envelope', name: locale.NAV.MAIL, to: 'mailto:tlyong1992@hotmail.com', show: true },
- { id: 5, icon: 'fa-weibo', name: '微博', to: 'https://weibo.com/tangly1024', show: true },
- { id: 6, icon: 'fa-map-marker', name: 'Fuzhou', to: '#', show: true },
{ id: 7, icon: 'fa-github', name: 'Github', to: 'https://github.com/tangly1024', show: true },
- { id: 8, icon: 'fa-twitter', name: 'Twitter', to: 'https://twitter.com/troy1024_1', show: true },
- { id: 9, icon: 'fa-telegram', name: 'Telegram', to: 'https://t.me/tangly_1024', show: true }
+ { id: 5, icon: 'fa-weibo', name: '微博', to: 'https://weibo.com/tangly1024', show: true },
+ { id: 4, icon: 'fa-envelope', name: locale.NAV.MAIL, to: 'mailto:tlyong1992@hotmail.com', show: true },
+ { id: 2, icon: 'fa-rss-square', name: locale.NAV.RSS, to: '/feed', show: true },
+ { id: 3, icon: 'fa-compass', name: '发现', to: 'https://search.tangly1024.com/', show: true }
+ // { id: 6, icon: 'fa-map-marker', name: 'Fuzhou', to: '#', show: true },
+ // { id: 8, icon: 'fa-twitter', name: 'Twitter', to: 'https://twitter.com/troy1024_1', show: true },
+ // { id: 9, icon: 'fa-telegram', name: 'Telegram', to: 'https://t.me/tangly_1024', show: true }
]
return
}
diff --git a/components/TagList.js b/components/TagList.js
new file mode 100644
index 00000000..7edce65e
--- /dev/null
+++ b/components/TagList.js
@@ -0,0 +1,34 @@
+import Link from 'next/link'
+
+/**
+ * 标签组
+ * @param tags
+ * @param currentTag
+ * @returns {JSX.Element}
+ * @constructor
+ */
+const TagList = ({ tags, currentTag }) => {
+ if (!tags) return <>>
+ return (
+
+ )
+}
+
+export default TagList
diff --git a/components/Tags.js b/components/TagsBar.js
similarity index 84%
rename from components/Tags.js
rename to components/TagsBar.js
index 97706fda..0365aefa 100644
--- a/components/Tags.js
+++ b/components/TagsBar.js
@@ -7,9 +7,11 @@ import Link from 'next/link'
* @returns {JSX.Element}
* @constructor
*/
-const Tags = ({ tags, currentTag }) => {
+const TagsBar = ({ tags, currentTag }) => {
if (!tags) return <>>
- return (