From d7ad157ef1a3010cb482220b0c1a544eb1ef9f15 Mon Sep 17 00:00:00 2001 From: schererleander Date: Wed, 25 Jun 2025 16:31:41 +0200 Subject: remove extra icon class --- src/components/CardLink.tsx | 7 +++++-- src/components/LinkWithIcon.tsx | 25 ------------------------- 2 files changed, 5 insertions(+), 27 deletions(-) delete mode 100644 src/components/LinkWithIcon.tsx (limited to 'src') diff --git a/src/components/CardLink.tsx b/src/components/CardLink.tsx index 8c3f35d..e71cf33 100644 --- a/src/components/CardLink.tsx +++ b/src/components/CardLink.tsx @@ -1,5 +1,8 @@ import { useRef, useState } from "react"; -import ExternalLinkIcon from "./ExternalLink"; + +function Icon() { + return ; +} interface Props { title: string; @@ -73,7 +76,7 @@ export default function CardLink({ title, body, href, imgSrc }: Props) {

{title}

{body}

- {href && } + {href && } ); } diff --git a/src/components/LinkWithIcon.tsx b/src/components/LinkWithIcon.tsx deleted file mode 100644 index e7fcbb8..0000000 --- a/src/components/LinkWithIcon.tsx +++ /dev/null @@ -1,25 +0,0 @@ -import ExternalLinkIcon from "./ExternalLink"; - -export default function LinkWithIcon({ - href, - children, - className = 'inline-flex items-center gap-1 underline text-blue-400', - target = '_blank', -}: { - href: string; - children?: React.ReactNode; - className?: string; - target?: React.HTMLAttributeAnchorTarget; -}) { - return ( - - {children} - - - ); -} \ No newline at end of file -- cgit v1.3.1