Skip to content

Commit

Permalink
remove svg favicon, add example mount for custom favicon
Browse files Browse the repository at this point in the history
  • Loading branch information
tdjsnelling committed Nov 15, 2022
1 parent 70549a4 commit 41b197d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
10 changes: 2 additions & 8 deletions client/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,14 +178,8 @@ const SqTracker = ({ Component, pageProps, initialTheme }) => {
<>
<Head>
<title>sqtracker</title>
<link
rel="shortcut icon"
href={`data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='28' height='28' x='2' y='2' rx='4' fill='${appTheme.colors.primary.replace(
'#',
'%23'
)}' /></svg>`}
type="image/svg+xml"
/>
<link rel="shortcut icon" href="/favicon.png" type="image/png" />
<link rel="shortcut icon" href="/favicon.ico" />
<link
rel="stylesheet"
href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Source+Code+Pro:wght@400;500;700&display=swap"
Expand Down
Binary file added client/public/favicon.ico
Binary file not shown.
2 changes: 2 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,7 @@ services:
- "127.0.0.1:3000:3000"
volumes:
- ./config.js:/sqtracker/config.js
# - ./favicon.png:/sqtracker/public/favicon.png
# - ./favicon.ico:/sqtracker/public/favicon.ico
depends_on:
- api

0 comments on commit 41b197d

Please sign in to comment.