diff --git a/package.json b/package.json index 197f6c6..98c95d7 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "react-app", - "homepage": "https://pratikkabade.github.io/Github-Portfolio/", + "homepage": "https://pratikkabade.github.io/github-portfolio/", "version": "0.1.0", "description": "Built from https://www.github.com/firenudge-io/", "private": true, diff --git a/public/index.html b/public/index.html index 2b4eedd..f78686f 100644 --- a/public/index.html +++ b/public/index.html @@ -3,11 +3,10 @@
- -{item.login} diff --git a/src/components/home/Profile.tsx b/src/components/home/Profile.tsx index 5c50a81..c1b3273 100644 --- a/src/components/home/Profile.tsx +++ b/src/components/home/Profile.tsx @@ -28,10 +28,17 @@ export const Profile = () => { } image() + // set avatar as page icon + const icon = document.querySelector("link[rel*='icon']") as HTMLLinkElement; + + // + if (icon) { + icon.href = avatar; + } return (