From baae3e48de3f5029b82c16b77318bc747b1b24b4 Mon Sep 17 00:00:00 2001 From: yanyongyu <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 18 Feb 2022 14:53:24 +0800 Subject: [PATCH 1/2] :beers: add netlify badge --- website/src/theme/FooterCopyright/index.tsx | 56 +++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 website/src/theme/FooterCopyright/index.tsx diff --git a/website/src/theme/FooterCopyright/index.tsx b/website/src/theme/FooterCopyright/index.tsx new file mode 100644 index 00000000..b3489491 --- /dev/null +++ b/website/src/theme/FooterCopyright/index.tsx @@ -0,0 +1,56 @@ +import React from "react"; + +import Link from "@docusaurus/Link"; +import OriginCopyright from "@theme-original/FooterCopyright"; + +function FooterCopyright() { + return ( + <> + +
+

+ {/* + Deploys by Netlify + */} + + Deployed by + + + + + + + + + + + + + +

+
+ + ); +} + +export default FooterCopyright; From 4293bdf21f0c39ea21b41d643e165f8e8cfa4511 Mon Sep 17 00:00:00 2001 From: yanyongyu <42488585+yanyongyu@users.noreply.github.com> Date: Fri, 18 Feb 2022 15:46:59 +0800 Subject: [PATCH 2/2] :art: add dark theme support --- website/src/theme/FooterCopyright/index.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/website/src/theme/FooterCopyright/index.tsx b/website/src/theme/FooterCopyright/index.tsx index b3489491..23ebc930 100644 --- a/website/src/theme/FooterCopyright/index.tsx +++ b/website/src/theme/FooterCopyright/index.tsx @@ -24,7 +24,7 @@ function FooterCopyright() { height="1rem" >