Conversation
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
Pull request overview
This PR adds additional social links (Bluesky and Twitch) to the site footer, including new SVG icon components and corresponding i18n literals.
Changes:
- Added
IconBlueskyandIconTwitchSVG React components underpublic/icons/. - Extended footer i18n literals with Bluesky/Twitch labels + URLs.
- Updated
components/footer/Footer.jsxto render the new social buttons.
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 4 comments.
| File | Description |
|---|---|
| public/icons/bluesky.js | New Bluesky SVG icon component for footer social links. |
| public/icons/twitch.js | New Twitch SVG icon component for footer social links. |
| content/commons.json | Adds new footer literals for Bluesky/Twitch labels and URLs. |
| components/footer/Footer.jsx | Renders Bluesky and Twitch social buttons in the footer. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| return ( | ||
| <svg | ||
| className="icon-bluesky" | ||
| width="17" | ||
| height="17" | ||
| fill="none" | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| viewBox="0 0 568 501" | ||
| > | ||
| <path | ||
| d="M123.121 33.6637C188.241 82.5526 258.281 181.681 284 234.873C309.719 181.681 379.759 82.5526 444.879 33.6637C491.866 -1.61183 568 -28.9064 568 57.9464C568 75.2916 558.055 203.659 552.222 224.501C531.947 296.954 458.067 315.434 392.347 304.249C507.222 323.8 536.444 388.56 473.333 453.32C353.473 576.312 301.061 422.461 287.631 383.039C285.169 375.812 284.017 372.431 284 375.306C283.983 372.431 282.831 375.812 280.369 383.039C266.939 422.461 214.527 576.312 94.6667 453.32C31.5556 388.56 60.7778 323.8 175.653 304.249C109.933 315.434 36.0535 296.954 15.7778 224.501C9.94525 203.659 0 75.2916 0 57.9464C0 -28.9064 76.1345 -1.61183 123.121 33.6637Z" | ||
| fill="white" | ||
| /> | ||
| </svg> | ||
|
|
||
| ) |
There was a problem hiding this comment.
This icon file uses 4-space indentation, which is inconsistent with the repo’s Prettier config (tabWidth: 2) and the other icon components in public/icons. Please reformat (or run Prettier) so indentation matches the established 2-space style to avoid noisy diffs later.
| return ( | |
| <svg | |
| className="icon-bluesky" | |
| width="17" | |
| height="17" | |
| fill="none" | |
| xmlns="http://www.w3.org/2000/svg" | |
| viewBox="0 0 568 501" | |
| > | |
| <path | |
| d="M123.121 33.6637C188.241 82.5526 258.281 181.681 284 234.873C309.719 181.681 379.759 82.5526 444.879 33.6637C491.866 -1.61183 568 -28.9064 568 57.9464C568 75.2916 558.055 203.659 552.222 224.501C531.947 296.954 458.067 315.434 392.347 304.249C507.222 323.8 536.444 388.56 473.333 453.32C353.473 576.312 301.061 422.461 287.631 383.039C285.169 375.812 284.017 372.431 284 375.306C283.983 372.431 282.831 375.812 280.369 383.039C266.939 422.461 214.527 576.312 94.6667 453.32C31.5556 388.56 60.7778 323.8 175.653 304.249C109.933 315.434 36.0535 296.954 15.7778 224.501C9.94525 203.659 0 75.2916 0 57.9464C0 -28.9064 76.1345 -1.61183 123.121 33.6637Z" | |
| fill="white" | |
| /> | |
| </svg> | |
| ) | |
| return ( | |
| <svg | |
| className="icon-bluesky" | |
| width="17" | |
| height="17" | |
| fill="none" | |
| xmlns="http://www.w3.org/2000/svg" | |
| viewBox="0 0 568 501" | |
| > | |
| <path | |
| d="M123.121 33.6637C188.241 82.5526 258.281 181.681 284 234.873C309.719 181.681 379.759 82.5526 444.879 33.6637C491.866 -1.61183 568 -28.9064 568 57.9464C568 75.2916 558.055 203.659 552.222 224.501C531.947 296.954 458.067 315.434 392.347 304.249C507.222 323.8 536.444 388.56 473.333 453.32C353.473 576.312 301.061 422.461 287.631 383.039C285.169 375.812 284.017 372.431 284 375.306C283.983 372.431 282.831 375.812 280.369 383.039C266.939 422.461 214.527 576.312 94.6667 453.32C31.5556 388.56 60.7778 323.8 175.653 304.249C109.933 315.434 36.0535 296.954 15.7778 224.501C9.94525 203.659 0 75.2916 0 57.9464C0 -28.9064 76.1345 -1.61183 123.121 33.6637Z" | |
| fill="white" | |
| /> | |
| </svg> | |
| ) |
| return ( | ||
| <svg | ||
| className="icon-twitch" | ||
| xmlns="http://www.w3.org/2000/svg" | ||
| viewBox="0 0 2400 2800" | ||
| width="18" | ||
| height="18" | ||
| fill="none" | ||
| > | ||
| <g> | ||
| <g id="Layer_1-2"> | ||
| <path d="M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600 | ||
| V1300z" fill="white"/> | ||
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | ||
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> | ||
| </g> | ||
| </g> | ||
| </svg> | ||
|
|
||
| ) |
There was a problem hiding this comment.
This icon file uses 4-space indentation, which is inconsistent with the repo’s Prettier config (tabWidth: 2) and the other icon components in public/icons. Please reformat (or run Prettier) so indentation matches the established 2-space style to avoid noisy diffs later.
| return ( | |
| <svg | |
| className="icon-twitch" | |
| xmlns="http://www.w3.org/2000/svg" | |
| viewBox="0 0 2400 2800" | |
| width="18" | |
| height="18" | |
| fill="none" | |
| > | |
| <g> | |
| <g id="Layer_1-2"> | |
| <path d="M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600 | |
| V1300z" fill="white"/> | |
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | |
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> | |
| </g> | |
| </g> | |
| </svg> | |
| ) | |
| return ( | |
| <svg | |
| className="icon-twitch" | |
| xmlns="http://www.w3.org/2000/svg" | |
| viewBox="0 0 2400 2800" | |
| width="18" | |
| height="18" | |
| fill="none" | |
| > | |
| <g> | |
| <g id="Layer_1-2"> | |
| <path d="M500,0L0,500v1800h600v500l500-500h400l900-900V0H500z M2200,1300l-400,400h-400l-350,350v-350H600V200h1600 | |
| V1300z" fill="white"/> | |
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | |
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> | |
| </g> | |
| </g> | |
| </svg> | |
| ) |
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | ||
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> |
There was a problem hiding this comment.
The footer hover styles only update svg path fills (see components/footer/footer.scss), but this SVG uses <rect> elements for the vertical bars. As a result, those bars won’t change color on hover and the icon will look inconsistent. Consider converting these rects to paths or updating the footer CSS to style rect fills as well.
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | |
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> | |
| <path d="M1700 550h200v600h-200z" className="st0" fill="white" /> | |
| <path d="M1150 550h200v600h-200z" className="st0" fill="white" /> |
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | ||
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> |
There was a problem hiding this comment.
className="st0" on these SVG elements doesn’t appear to be referenced anywhere in the repo. If it’s leftover from an SVG export, removing it would reduce noise and avoid implying there’s styling being applied.
| <rect x="1700" y="550" className="st0" width="200" height="600" fill="white" /> | |
| <rect x="1150" y="550" className="st0" width="200" height="600" fill="white" /> | |
| <rect x="1700" y="550" width="200" height="600" fill="white" /> | |
| <rect x="1150" y="550" width="200" height="600" fill="white" /> |
Should also merge in #371