From 5d17108c6f09c42fb37d3861ed48590dda26fad9 Mon Sep 17 00:00:00 2001 From: kongdefei Date: Thu, 24 Mar 2022 21:56:08 +0800 Subject: [PATCH] support zhihu social account --- components/Footer.tsx | 14 +++++++++++++- components/styles.module.css | 4 ++++ lib/config.ts | 1 + 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/components/Footer.tsx b/components/Footer.tsx index 9c828ac..3d47052 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,5 +1,5 @@ import * as React from 'react' -import { FaTwitter, FaGithub, FaLinkedin } from 'react-icons/fa' +import { FaTwitter, FaZhihu, FaGithub, FaLinkedin } from 'react-icons/fa' import { IoSunnyOutline, IoMoonSharp } from 'react-icons/io5' import * as config from 'lib/config' @@ -53,6 +53,18 @@ export const Footer: React.FC<{ )} + {config.zhihu && ( + + + + )} + {config.github && (