From 14bda7ae45db59b940954f01598cf87425ac33b9 Mon Sep 17 00:00:00 2001 From: BreizhHardware Date: Wed, 7 Feb 2024 19:01:47 +0100 Subject: [PATCH] Update to get gravatar as picture --- src/components/Card.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/components/Card.tsx b/src/components/Card.tsx index e5b8d0e..9553854 100644 --- a/src/components/Card.tsx +++ b/src/components/Card.tsx @@ -1,9 +1,10 @@ // @ts-ignore import React from 'react'; -import profile from "../assets/profile.jpeg"; import { FaGithub, FaTwitter, FaLinkedin, FaRegEnvelope } from 'react-icons/fa'; function Card({name, title, social: {github, twitter, linkedin, mail}}){ + //Get avatar from gravatar using email + const profile = `https://1.gravatar.com/avatar/4d43af207280d1d23e2a2905577c7b6167723fec2d33f946cc86f114c1a85b8d?size=256`; return (