Skip to content

Commit 12914c1

Browse files
chore(favicon): set up favicon and web manifest
Place icon assets using Next.js file conventions (favicon.ico, icon.png, apple-icon.png in src/app/) and add a typed manifest.ts for PWA icons. Co-authored-by: Ona <no-reply@ona.com>
1 parent 0b5f6fb commit 12914c1

7 files changed

Lines changed: 25 additions & 0 deletions

File tree

public/android-chrome-192x192.png

16.1 KB
Loading

public/android-chrome-512x512.png

76.9 KB
Loading

src/app/apple-icon.png

14.6 KB
Loading

src/app/favicon.ico

-10.3 KB
Binary file not shown.

src/app/icon.png

1.18 KB
Loading

src/app/icon1.png

467 Bytes
Loading

src/app/manifest.ts

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
import type { MetadataRoute } from "next";
2+
3+
export default function manifest(): MetadataRoute.Manifest {
4+
return {
5+
name: "Memo",
6+
short_name: "Memo",
7+
description: "A Notion-style workspace, built with zero human code.",
8+
start_url: "/",
9+
display: "standalone",
10+
background_color: "#ffffff",
11+
theme_color: "#ffffff",
12+
icons: [
13+
{
14+
src: "/android-chrome-192x192.png",
15+
sizes: "192x192",
16+
type: "image/png",
17+
},
18+
{
19+
src: "/android-chrome-512x512.png",
20+
sizes: "512x512",
21+
type: "image/png",
22+
},
23+
],
24+
};
25+
}

0 commit comments

Comments
 (0)