Skip to content

Commit

Permalink
fix: #27
Browse files Browse the repository at this point in the history
  • Loading branch information
ImLunaHey committed Jan 7, 2025
1 parent 92fe04a commit 70677b5
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/components/FacetedText.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,16 @@ export const FacetedText = ({ text, facets }: FacetedTextProps) => {
};

function ExternalLink({ href, children }: { href: string; children: React.ReactNode }) {
return <Link href={href}>{children}</Link>;
return (
<Link href={href} className="text-blue-400">
{children}
</Link>
);
}

function Mention({ handle }: { handle: string }) {
return (
<Link to="/profile/$handle" params={{ handle }}>
<Link to="/profile/$handle" params={{ handle }} className="text-blue-400">
<span className="text-purple-500 font-semibold">@{handle.replace('.bksy.social', '')}</span>
</Link>
);
Expand Down

0 comments on commit 70677b5

Please sign in to comment.