Skip to content

Commit d388a93

Browse files
CopilotCodeByBryantCopilot
authored
Add RealFaviconGenerator favicon integration (#56)
* Initial plan * Add favicon files and HTML markup for RealFaviconGenerator Co-authored-by: CodeByBryant <191651927+CodeByBryant@users.noreply.github.com> * Fix directory structure: remove nested public folder Co-authored-by: CodeByBryant <191651927+CodeByBryant@users.noreply.github.com> * Update web app manifest and replace icon paths - Changed icon paths in site.webmanifest to include the public directory. - Updated icon purpose to "maskable" for better display on various devices. - Modified theme and background colors to black (#000000). - Updated binary files for the 192x192 and 512x512 icons. * Update public/assets/site.webmanifest Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: CodeByBryant <191651927+CodeByBryant@users.noreply.github.com> Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 36b28af commit d388a93

12 files changed

Lines changed: 57 additions & 18 deletions

electron.vite.config.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export default defineConfig({
99
plugins: [externalizeDepsPlugin()]
1010
},
1111
renderer: {
12+
publicDir: resolve(__dirname, 'public'),
1213
resolve: {
1314
alias: {
1415
'@': resolve('src/renderer')

index.html

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,14 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8" />
5-
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
65
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
8-
<title>EvoSquares</title>
6+
<link rel="icon" type="image/png" href="/assets/favicon-96x96.png" sizes="96x96" />
7+
<link rel="icon" type="image/svg+xml" href="/assets/favicon.svg" />
8+
<link rel="shortcut icon" href="/assets/favicon.ico" />
9+
<link rel="apple-touch-icon" sizes="180x180" href="/assets/apple-touch-icon.png" />
10+
<meta name="apple-mobile-web-app-title" content="Evo" />
11+
<link rel="manifest" href="/assets/site.webmanifest" />
12+
<title>Evo - Neural Evolution Sandbox</title>
913
</head>
1014
<body>
1115
<script type="module" src="/src/main.ts"></script>

package-lock.json

Lines changed: 18 additions & 15 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

public/assets/apple-touch-icon.png

6.33 KB
Loading

public/assets/favicon-96x96.png

2.46 KB
Loading

public/assets/favicon.ico

14.7 KB
Binary file not shown.

public/assets/favicon.svg

Lines changed: 3 additions & 0 deletions
Loading

public/assets/site.webmanifest

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
{
2+
"name": "Evo",
3+
"short_name": "Evo",
4+
"icons": [
5+
{
6+
"src": "/assets/web-app-manifest-192x192.png",
7+
"sizes": "192x192",
8+
"type": "image/png",
9+
"purpose": "maskable"
10+
},
11+
{
12+
"src": "/assets/web-app-manifest-512x512.png",
13+
"sizes": "512x512",
14+
"type": "image/png",
15+
"purpose": "maskable"
16+
}
17+
],
18+
"theme_color": "#000000",
19+
"background_color": "#000000",
20+
"display": "standalone"
21+
}
7.22 KB
Loading
24.7 KB
Loading

0 commit comments

Comments
 (0)