diff --git a/workspaces/website/README.md b/workspaces/website/README.md index 35dbefe..db37196 100644 --- a/workspaces/website/README.md +++ b/workspaces/website/README.md @@ -8,11 +8,4 @@ [ ] convert resume to web-component/lit [ ] add linter [ ] make work with testing-library -[ ] need favicon - * dual favicons on remotely.com (https://remotive.com/remotive_website_layout/static/refactoring/js/favicon.js?v=2) - * clown face and ??? (https://favicon.io/emoji-favicons/) [ ] add github graph: https://github.com/enpitsuLin/wc-github-graph/blob/master/src/github-graph.ts - -```js -const onVisibilityChange=()=>{const faviconTag=document.querySelector('[rel="shortcut icon"]');if(document.hidden){const initialFavicon=faviconTag.href;document.initialFavicon=initialFavicon;faviconTag.href="/remotive_website_job/static/src/img/dogeicon.png";}else{if(document.initialFavicon!==""){faviconTag.href=document.initialFavicon;}}};document.addEventListener("visibilitychange",onVisibilityChange,true);document.initialFavicon=document.querySelector('[rel="shortcut icon"]').href; -``` \ No newline at end of file diff --git a/workspaces/website/public/favicon-clown.ico b/workspaces/website/public/favicon-clown.ico new file mode 100644 index 0000000..15204a0 Binary files /dev/null and b/workspaces/website/public/favicon-clown.ico differ diff --git a/workspaces/website/public/favicon-mind-blown.ico b/workspaces/website/public/favicon-mind-blown.ico new file mode 100644 index 0000000..e4daba9 Binary files /dev/null and b/workspaces/website/public/favicon-mind-blown.ico differ diff --git a/workspaces/website/src/components/BaseHead.astro b/workspaces/website/src/components/BaseHead.astro index 00e7f62..e1f5dbc 100644 --- a/workspaces/website/src/components/BaseHead.astro +++ b/workspaces/website/src/components/BaseHead.astro @@ -12,7 +12,7 @@ export interface Props { const canonicalURL = new URL(Astro.url.pathname, Astro.site); -const { title, description, image = '/placeholder-scottnath.jpeg' } = Astro.props; +const { title, description, image = '/scott-nath-profile-pic.jpeg' } = Astro.props; --- @@ -20,7 +20,7 @@ const { title, description, image = '/placeholder-scottnath.jpeg' } = Astro.prop - + @@ -45,3 +45,21 @@ const { title, description, image = '/placeholder-scottnath.jpeg' } = Astro.prop + + diff --git a/workspaces/website/src/components/codewall/assets/README.md b/workspaces/website/src/components/codewall/assets/README.md index a7f5a5e..ba02606 100644 --- a/workspaces/website/src/components/codewall/assets/README.md +++ b/workspaces/website/src/components/codewall/assets/README.md @@ -5,4 +5,8 @@ Use https://green-wall.vercel.app/ to generate a codewall for public github For making any kind of component: https://github.com/Codennnn/Green-Wall -Could be a /Codewall page on the site maybe \ No newline at end of file +Could be a /Codewall page on the site maybe + +shows a sneaky api call to get the data +https://github.com/sallar/github-contributions-chart/blob/master/src/utils/api/fetch.js +https://github-contribution-graph-example.vercel.app/ \ No newline at end of file