Skip to content

Commit

Permalink
Updating manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhectorsosa committed Apr 3, 2024
1 parent ed81c4d commit b3cfe22
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
50 changes: 49 additions & 1 deletion apps/next/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,55 @@ export const metadata: Metadata = {
description: "Supabase Modules - Build smarter with pre-built modules today",
appleWebApp: {
title: "The Playground",
capable: true,
statusBarStyle: "black-translucent",
startupImage: ["/apple-icon.png"],
startupImage: [
"/apple-icon.png",
{
url: "/apple-icon.png",
media:
"(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 3)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 414px) and (device-height: 896px) and (-webkit-device-pixel-ratio: 2)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 375px) and (device-height: 812px) and (-webkit-device-pixel-ratio: 3)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 414px) and (device-height: 736px) and (-webkit-device-pixel-ratio: 3)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 375px) and (device-height: 667px) and (-webkit-device-pixel-ratio: 2)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2)",
},
{
url: "/apple-icon.png",
media:
"(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2)",
},
],
},
}
7 changes: 7 additions & 0 deletions apps/next/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,5 +15,12 @@ export default function manifest(): MetadataRoute.Manifest {
type: "image/x-icon",
},
],
screenshots: [
{
src: "/opengraph-image.png",
sizes: "1200x630",
type: "image/png",
},
],
}
}

0 comments on commit b3cfe22

Please sign in to comment.