This commit is contained in:
tangly1024.com
2023-08-01 12:47:37 +08:00
parent 6eb50b1138
commit 3bdb6e439f
2 changed files with 248 additions and 5 deletions

View File

@@ -2,13 +2,17 @@ import BLOG from '@/blog.config'
import { FacebookProvider, Page } from 'react-facebook'
import { FacebookIcon } from 'react-share'
/**
* facebook个人主页
* @returns
*/
const FacebookPage = () => {
if (!BLOG.FACEBOOK_APP_ID && !BLOG.FACEBOOK_PAGE) {
return <></>
}
return <div className="shadow-md hover:shadow-xl dark:text-gray-300 border dark:border-black rounded-xl px-2 py-4 bg-white dark:bg-hexo-black-gray lg:duration-100 justify-center">
{BLOG.FACEBOOK_PAGE && (
<div className="flex items-center pb-2">
<div className="flex items-center pb-2">
<a
href={BLOG.FACEBOOK_PAGE}
target="_blank"