- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
+ return (
+
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+
-
+ )
}
export default SocialButton
diff --git a/themes/hexo/components/SocialButton.js b/themes/hexo/components/SocialButton.js
index e16cbe41..3e220cf7 100644
--- a/themes/hexo/components/SocialButton.js
+++ b/themes/hexo/components/SocialButton.js
@@ -99,7 +99,11 @@ const SocialButton = () => {
)}
{ENABLE_RSS && (
-
)}
diff --git a/themes/matery/components/SocialButton.js b/themes/matery/components/SocialButton.js
index ae15d1f0..4e15fed7 100644
--- a/themes/matery/components/SocialButton.js
+++ b/themes/matery/components/SocialButton.js
@@ -12,42 +12,113 @@ const SocialButton = () => {
setShow(!show)
}
- return
- {!show &&
}
- {show && <>
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
-
-
- >}
+ return (
+
+ {!show && (
+
+ )}
+ {show && (
+ <>
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+
+ >
+ )}
+ )
}
export default SocialButton
diff --git a/themes/medium/components/SocialButton.js b/themes/medium/components/SocialButton.js
index e522f114..95b8b412 100644
--- a/themes/medium/components/SocialButton.js
+++ b/themes/medium/components/SocialButton.js
@@ -6,37 +6,99 @@ import { siteConfig } from '@/lib/config'
* @constructor
*/
const SocialButton = () => {
- return
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
+ return (
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+ )
}
export default SocialButton
diff --git a/themes/nav/components/SocialButton.js b/themes/nav/components/SocialButton.js
index b1bd85f9..74fdad37 100755
--- a/themes/nav/components/SocialButton.js
+++ b/themes/nav/components/SocialButton.js
@@ -6,31 +6,81 @@ import { siteConfig } from '@/lib/config'
* @constructor
*/
const SocialButton = () => {
- return
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
+ return (
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ )
}
export default SocialButton
diff --git a/themes/next/components/SocialButton.js b/themes/next/components/SocialButton.js
index 6da30787..8ade39ea 100644
--- a/themes/next/components/SocialButton.js
+++ b/themes/next/components/SocialButton.js
@@ -6,39 +6,101 @@ import { siteConfig } from '@/lib/config'
* @constructor
*/
const SocialButton = () => {
- return
-
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
+ return (
+
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+
-
+ )
}
export default SocialButton
diff --git a/themes/plog/components/SocialButton.js b/themes/plog/components/SocialButton.js
index 56cf9490..c1c1f769 100644
--- a/themes/plog/components/SocialButton.js
+++ b/themes/plog/components/SocialButton.js
@@ -6,39 +6,101 @@ import { siteConfig } from '@/lib/config'
* @constructor
*/
const SocialButton = () => {
- return
-
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
+ return (
+
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+
-
+ )
}
export default SocialButton
diff --git a/themes/simple/components/SocialButton.js b/themes/simple/components/SocialButton.js
index b9def55b..d11f3423 100644
--- a/themes/simple/components/SocialButton.js
+++ b/themes/simple/components/SocialButton.js
@@ -6,39 +6,101 @@ import { siteConfig } from '@/lib/config'
* @constructor
*/
const SocialButton = () => {
- return
-
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
+ return (
+
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+
-
+ )
}
export default SocialButton
diff --git a/themes/starter/components/SocialButton.js b/themes/starter/components/SocialButton.js
index b9def55b..d11f3423 100644
--- a/themes/starter/components/SocialButton.js
+++ b/themes/starter/components/SocialButton.js
@@ -6,39 +6,101 @@ import { siteConfig } from '@/lib/config'
* @constructor
*/
const SocialButton = () => {
- return
-
- {siteConfig('CONTACT_GITHUB') &&
-
- }
- {siteConfig('CONTACT_TWITTER') &&
-
- }
- {siteConfig('CONTACT_TELEGRAM') &&
-
- }
- {siteConfig('CONTACT_LINKEDIN') &&
-
- }
- {siteConfig('CONTACT_WEIBO') &&
-
- }
- {siteConfig('CONTACT_INSTAGRAM') &&
-
- }
- {siteConfig('CONTACT_EMAIL') &&
-
- }
- {JSON.parse(siteConfig('ENABLE_RSS')) &&
-
- }
- {siteConfig('CONTACT_BILIBILI') &&
-
- }
- {siteConfig('CONTACT_YOUTUBE') &&
-
- }
+ return (
+
+
+ {siteConfig('CONTACT_GITHUB') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TWITTER') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_TELEGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_LINKEDIN') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_WEIBO') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_INSTAGRAM') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_EMAIL') && (
+
+
+
+ )}
+ {JSON.parse(siteConfig('ENABLE_RSS')) && (
+
+
+
+ )}
+ {siteConfig('CONTACT_BILIBILI') && (
+
+
+
+ )}
+ {siteConfig('CONTACT_YOUTUBE') && (
+
+
+
+ )}
+
-
+ )
}
export default SocialButton