From c1d94aec4f459e4b8b2824ebfc5a28f1c2f11201 Mon Sep 17 00:00:00 2001 From: kien-ngo Date: Fri, 27 Sep 2024 01:23:58 +0000 Subject: [PATCH] [Dashboard] Replace SiGithub (#4811) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## Problem solved Short description of the bug fixed or feature added --- ## PR-Codex overview This PR focuses on replacing the usage of the `SiGithub` icon from `@react-icons` with a custom `GithubIcon` component across several files in the dashboard application. ### Detailed summary - Replaced `SiGithub` with `GithubIcon` in: - `GameCard.tsx` - `app-footer.tsx` - `edit-profile.tsx` - `socialLinks.tsx` - `PublisherSocials.tsx` - Added `GithubIcon` component in `GithubIcon.tsx` with SVG implementation. > ✨ Ask PR-Codex anything about this PR by commenting with `/codex {your question}` --- .../src/@/components/blocks/app-footer.tsx | 4 ++-- .../publisher/PublisherSocials.tsx | 4 ++-- .../publisher/edit-profile.tsx | 4 ++-- .../src/components/footer/socialLinks.tsx | 4 ++-- .../icons/brand-icons/GithubIcon.tsx | 18 ++++++++++++++++++ .../product-pages/common/GameCard.tsx | 4 ++-- 6 files changed, 28 insertions(+), 10 deletions(-) create mode 100644 apps/dashboard/src/components/icons/brand-icons/GithubIcon.tsx diff --git a/apps/dashboard/src/@/components/blocks/app-footer.tsx b/apps/dashboard/src/@/components/blocks/app-footer.tsx index 77d1228a28a..fc960237148 100644 --- a/apps/dashboard/src/@/components/blocks/app-footer.tsx +++ b/apps/dashboard/src/@/components/blocks/app-footer.tsx @@ -1,10 +1,10 @@ import { Button } from "@/components/ui/button"; import { cn } from "@/lib/utils"; import { ThirdwebMiniLogo } from "app/components/ThirdwebMiniLogo"; +import { GithubIcon } from "components/icons/brand-icons/GithubIcon"; import Link from "next/link"; import { SiDiscord, - SiGithub, SiInstagram, SiLinkedin, SiReddit, @@ -35,7 +35,7 @@ export function AppFooter(props: AppFooterProps) {