From ad2028dc1ab513dc5d11563fee089caf895d0147 Mon Sep 17 00:00:00 2001 From: Cherry <87404668+aspiringLilCoder@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:52:48 +0900 Subject: [PATCH] refactor: reduce redundant svg code --- .../page.tsx | 63 +++++++------------ 1 file changed, 22 insertions(+), 41 deletions(-) diff --git a/packages/nextjs/app/builders/0xC52E3E454a735d4A74F3dd6Ea281F7AebDFAad83/page.tsx b/packages/nextjs/app/builders/0xC52E3E454a735d4A74F3dd6Ea281F7AebDFAad83/page.tsx index bc6273a..5997ce4 100644 --- a/packages/nextjs/app/builders/0xC52E3E454a735d4A74F3dd6Ea281F7AebDFAad83/page.tsx +++ b/packages/nextjs/app/builders/0xC52E3E454a735d4A74F3dd6Ea281F7AebDFAad83/page.tsx @@ -6,49 +6,18 @@ import { Address } from "~~/components/scaffold-eth"; const CherryBuilderPage: NextPage = () => { const socialLinks = ["https://github.com/aspiringLilCoder", "https://t.me/aspirecoder", "https://x.com/aspirecoder"]; const socialIcons = [ - - - , - + d="M9 19c-5 1.5-5-2.5-7-3m14 6v-3.87a3.37 3.37 0 0 0-.94-2.61c3.14-.35 6.44-1.54 6.44-7A5.44 5.44 0 0 0 20 4.77 5.07 5.07 0 0 0 19.91 1S18.73.65 16 2.48a13.38 13.38 0 0 0-7 0C6.27.65 5.09 1 5.09 1A5.07 5.07 0 0 0 5 4.77a5.44 5.44 0 0 0-1.5 3.78c0 5.42 3.3 6.61 6.44 7A3.37 3.37 0 0 0 9 18.13V22" + >, + <> - , - , + - - , + d="M23 3a10.9 10.9 0 0 1-3.14 1.53 4.48 4.48 0 0 0-7.86 3v1A10.66 10.66 0 0 1 3 4s-4 9 5 13a11.64 11.64 0 0 1-7 2c9 5 20 0 20-11.5a4.5 4.5 0 0 0-.08-.83A7.72 7.72 0 0 0 23 3z" + >, ]; return ( @@ -76,12 +45,24 @@ const CherryBuilderPage: NextPage = () => { {socialLinks.map((link, index) => { return ( - {socialIcons[index]} + + {socialIcons[index]} + ); })} -
+
); };