From 6d97b82aee749a2ee3e031e320d6216f1d6edf59 Mon Sep 17 00:00:00 2001 From: jahooma Date: Tue, 4 Jan 2022 16:34:07 -0600 Subject: [PATCH] Use our own Tweet button instead of loading Twitter script --- web/components/tweet-button.tsx | 38 ++++++++----------------------- web/pages/_document.tsx | 3 --- web/public/twitter-icon-white.svg | 16 +++++++++++++ 3 files changed, 25 insertions(+), 32 deletions(-) create mode 100644 web/public/twitter-icon-white.svg diff --git a/web/components/tweet-button.tsx b/web/components/tweet-button.tsx index b9db405e..b3e69150 100644 --- a/web/components/tweet-button.tsx +++ b/web/components/tweet-button.tsx @@ -3,40 +3,20 @@ export function TweetButton(props: { tweetText?: string }) { return ( + Tweet ) } - -export function TwitterScript() { - return ( -