Skip to content

Commit

Permalink
refactor: adjust github page
Browse files Browse the repository at this point in the history
  • Loading branch information
vicanso committed Aug 16, 2023
1 parent 9a2c37a commit c8a53ee
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions web/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,9 @@ const getLogoIcon = (isDarkMode: boolean) => {
};

const getGithubIcon = (isDarkMode: boolean) => {
if (window.location.host.indexOf("diving") === -1) {
return;
}
let color = `rgb(0, 0, 0)`;
if (isDarkMode) {
color = `rgb(255, 255, 255)`;
Expand Down

0 comments on commit c8a53ee

Please sign in to comment.