From 1268b83973b63d1fdbe84d5c9c3617f25bd2e6f2 Mon Sep 17 00:00:00 2001 From: Michael Fortunato Date: Mon, 22 Apr 2024 23:08:38 -0400 Subject: [PATCH] feat(home): swap github logo with git --- components/GPGKey.tsx | 21 ++++++++++++++------- pages/index.tsx | 32 +++++++++++++++++++++++++++++++- 2 files changed, 45 insertions(+), 8 deletions(-) diff --git a/components/GPGKey.tsx b/components/GPGKey.tsx index c664bee..012d768 100644 --- a/components/GPGKey.tsx +++ b/components/GPGKey.tsx @@ -113,11 +113,11 @@ const CopyButton: React.ForwardRefExoticComponent< ); }, ); - CopyButton.displayName = "CopyButton"; -function GPGKey() { + +function GPGKeyEntry() { return ( -
+
@@ -140,9 +140,7 @@ function GPGKey() { alt="bundle size image" /> / - - mnf - + mnf
@@ -165,7 +163,7 @@ function GPGKey() { ); } -function GPGKey2() { +function GPGKeyContent() { const { toast } = useToast(); return (
@@ -231,4 +229,13 @@ function GPGKey2() { ); } +function GPGKey() { + return ( +
+ + +
+ ); +} + export default GPGKey; diff --git a/pages/index.tsx b/pages/index.tsx index 2bc23a5..6dbbcd4 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -132,8 +132,27 @@ const Page: NextPageWithLayout = ({ buildInfo }: Props) => { - + + + + + + + + + + @@ -150,6 +169,17 @@ const Page: NextPageWithLayout = ({ buildInfo }: Props) => { ); }; +/* + + + */ + Page.getLayout = (page) => { return ( {page}