Skip to content

Open source CapCut alternative.

TypeScript

fix(site): every icon the site declares is the black and white mark

David Lebc761c10f904
diff --git a/site/public/apple-icon.png b/site/public/apple-icon.png
index c9192030..a99c3d65 100644
Binary files a/site/public/apple-icon.png and b/site/public/apple-icon.png differ
diff --git a/site/public/apple-touch-icon.png b/site/public/apple-touch-icon.png
new file mode 100644
index 00000000..a99c3d65
Binary files /dev/null and b/site/public/apple-touch-icon.png differ
diff --git a/site/public/icon.png b/site/public/icon.png
new file mode 100644
index 00000000..46323705
Binary files /dev/null and b/site/public/icon.png differ
diff --git a/site/src/app/layout.tsx b/site/src/app/layout.tsx
index a6c895d8..b8770885 100644
--- a/site/src/app/layout.tsx
+++ b/site/src/app/layout.tsx
@@ -27,8 +27,15 @@ export const metadata: Metadata = {
// favicon.ico and apple-icon.png sitting in app/ — resolve per request, which
// makes the metadata of every page in the app request-dependent and holds
// back its static shell.
+ //
+ // Every icon here is the black and white mark, and the 192px PNG is the size
+ // Google's favicon crawler asks for, so the icon it picks for a search result
+ // is the one we ship. The blue rounded-square icon belongs to the Mac app.
icons: {
- icon: "/favicon.ico",
+ icon: [
+ { url: "/favicon.ico", sizes: "16x16 32x32 48x48" },
+ { url: "/icon.png", type: "image/png", sizes: "192x192" },
+ ],
apple: "/apple-icon.png",
},
};