Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
email icon
Browse files Browse the repository at this point in the history
  • Loading branch information
sametcn99 committed Mar 2, 2024
1 parent edff605 commit ef62d1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/ProfileCard/ProfileCardFooter.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import SocialLinks from "./SocialLinks";
import { checkEmail, createUrlObject } from "@/lib/utils";
import { MdOutlineWorkOutline } from "react-icons/md";
import { MdEmail, MdOutlineWorkOutline } from "react-icons/md";
import { TfiWorld } from "react-icons/tfi";
import { Box, Link, Text } from "@radix-ui/themes";
import Readme from "@/components/Readme";
Expand Down Expand Up @@ -35,7 +35,7 @@ export default function ProfileCardFooter({
className="text-white dialog-trigger"
target="_blank"
>
<TfiWorld />
{checkEmail(userData.blog) ? <MdEmail /> : <TfiWorld />}
{checkEmail(userData.blog)
? `${userData.blog}`
: createUrlObject(userData.blog).href}
Expand Down

1 comment on commit ef62d1f

@vercel
Copy link

@vercel vercel bot commented on ef62d1f Mar 2, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.