Skip to content

Commit 4597e1f

Browse files
committed
🔧 update favicon & manifest
1 parent 594ceb1 commit 4597e1f

9 files changed

Lines changed: 48 additions & 0 deletions

File tree

app/apple-icon.png

224 Bytes
Loading

app/favicon.ico

-320 Bytes
Binary file not shown.

app/icon0.svg

Lines changed: 7 additions & 0 deletions
Loading

app/icon1.png

1.42 KB
Loading

app/icon2.png

-521 Bytes
Binary file not shown.

app/manifest.ts

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* This program is free software: you can redistribute it and/or modify it under
3+
* the terms of the GNU General Public License as published by the Free Software
4+
* Foundation, either version 3 of the License, or (at your option) any later
5+
* version.
6+
*
7+
* This program is distributed in the hope that it will be useful, but WITHOUT
8+
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
9+
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
10+
* details.
11+
*
12+
* You should have received a copy of the GNU General Public License along with
13+
* this program. If not, see <https://www.gnu.org/licenses/>.
14+
*/
15+
16+
import type { MetadataRoute } from "next"
17+
18+
export default function manifest(): MetadataRoute.Manifest {
19+
return {
20+
name: "hmkconf",
21+
short_name: "hmkconf",
22+
start_url: "/",
23+
display: "standalone",
24+
background_color: "#171717",
25+
theme_color: "#fafafa",
26+
icons: [
27+
{
28+
src: "/web-app-manifest-192x192.png",
29+
sizes: "192x192",
30+
type: "image/png",
31+
},
32+
{
33+
src: "/web-app-manifest-512x512.png",
34+
sizes: "512x512",
35+
type: "image/png",
36+
},
37+
],
38+
}
39+
}

components/app-configurator.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,13 +86,15 @@ export function AppConfigurator() {
8686
<Image
8787
alt="Screenshot of the configuration interface"
8888
className="not-dark:hidden"
89+
priority
8990
src="/screenshot-dark.png"
9091
width="1024"
9192
height="768"
9293
/>
9394
<Image
9495
alt="Screenshot of the configuration interface"
9596
className="dark:hidden"
97+
priority
9698
src="/screenshot.png"
9799
width="1024"
98100
height="768"
3.94 KB
Loading
16.3 KB
Loading

0 commit comments

Comments
 (0)