Skip to content

Commit

Permalink
fix splashscreens maybe
Browse files Browse the repository at this point in the history
  • Loading branch information
Dominic Wrege committed Jul 17, 2023
1 parent b908eb1 commit 38c7136
Showing 1 changed file with 26 additions and 36 deletions.
62 changes: 26 additions & 36 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,44 +15,34 @@ export const metadata: Metadata = {
manifest: "/manifest.json",
appleWebApp: {
capable: true,
startupImage: [
{
url: "/splashscreens/apple-splash-2048-2732.png",
media: "(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
},
{
url: "/splashscreens/apple-splash-1668-2388.png",
media: "(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
},
{
url: "/splashscreens/apple-splash-1536-2048.png",
media: "(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
},
{
url: "/splashscreens/apple-splash-1668-2224.png",
media: "(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
},
{
url: "/splashscreens/apple-splash-1620-2160.png",
media: "(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
},
{
url: "/splashscreens/apple-splash-1290-2796.png",
media: "(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)",
},
],
},
icons: [
{
rel: "apple-touch-startup-image",
href: "/splashscreens/apple-splash-2048-2732.png",
media: "(device-width: 1024px) and (device-height: 1366px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
url,
},
{
rel: "apple-touch-startup-image",
href: "/splashscreens/apple-splash-1668-2388.png",
media: "(device-width: 834px) and (device-height: 1194px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
url,
},
{
rel: "apple-touch-startup-image",
href: "/splashscreens/apple-splash-1536-2048.png",
media: "(device-width: 768px) and (device-height: 1024px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
url,
},
{
rel: "apple-touch-startup-image",
href: "/splashscreens/apple-splash-1668-2224.png",
media: "(device-width: 834px) and (device-height: 1112px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
url,
},
{
rel: "apple-touch-startup-image",
href: "/splashscreens/apple-splash-1620-2160.png",
media: "(device-width: 810px) and (device-height: 1080px) and (-webkit-device-pixel-ratio: 2) and (orientation: portrait)",
url,
},
{
rel: "apple-touch-startup-image",
href: "/splashscreens/apple-splash-1290-2796.png",
media: "(device-width: 430px) and (device-height: 932px) and (-webkit-device-pixel-ratio: 3) and (orientation: portrait)",
url,
},
{
href: "/icons/icon-48x48.png",
rel: "icon",
Expand Down

0 comments on commit 38c7136

Please sign in to comment.