refactor(templates): replace Github icon with custom GithubIcon component

- Update icon import to use custom GithubIcon from data-tools-icons
- Remove redundant Github icon import
- Maintain consistent icon styling and component usage
This commit is contained in:
Mauricio Siu 2025-03-09 18:55:27 -06:00
parent 19827fce84
commit 152b2e1a5d

View File

@ -1,3 +1,4 @@
import { GithubIcon } from "@/components/icons/data-tools-icons";
import { AlertBlock } from "@/components/shared/alert-block"; import { AlertBlock } from "@/components/shared/alert-block";
import { import {
AlertDialog, AlertDialog,
@ -57,7 +58,6 @@ import {
BookText, BookText,
CheckIcon, CheckIcon,
ChevronsUpDown, ChevronsUpDown,
Github,
Globe, Globe,
HelpCircle, HelpCircle,
LayoutGrid, LayoutGrid,
@ -377,7 +377,7 @@ export const AddTemplate = ({ projectId, baseUrl }: Props) => {
target="_blank" target="_blank"
className="text-muted-foreground hover:text-foreground transition-colors" className="text-muted-foreground hover:text-foreground transition-colors"
> >
<Github className="size-5" /> <GithubIcon className="size-5" />
</Link> </Link>
{template.links.website && ( {template.links.website && (
<Link <Link