Created the Home utils.js

This commit is contained in:
Mathias committed 2022-12-27 21:45:59 +01:00
1 parent d96210814f
commit 238d0fbd10
1 file changed
+5
+5
View File
@@ -0,0 +1,5 @@
import md5 from "md5";
export const createGravatarUrl = (email) => {
return `https://www.gravatar.com/avatar/${md5(email, {encoding: "binary"})}?d=retro`;
}