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 b479915 commit ed81c4d
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 23 deletions.
Binary file modified apps/next/app/apple-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
43 changes: 22 additions & 21 deletions apps/next/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,27 +18,6 @@ const fontSans = FontSans({
variable: "--font-sans",
})

export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: false,
}

export const metadata: Metadata = {
metadataBase: new URL("https://supabase-modules-demo.vercel.app/"),
title: "The Playground",
description: "Supabase Modules - Build smarter with pre-built modules today",
appleWebApp: {
title: "The Playground",
statusBarStyle: "black-translucent",
},
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "#000000" },
{ media: "(prefers-color-scheme: dark)", color: "#030712" },
],
}

export default async function RootLayout({
children,
}: Readonly<{
Expand All @@ -65,3 +44,25 @@ export default async function RootLayout({
</html>
)
}

export const viewport: Viewport = {
width: "device-width",
initialScale: 1,
maximumScale: 1,
userScalable: false,
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "#000000" },
{ media: "(prefers-color-scheme: dark)", color: "#030712" },
],
}

export const metadata: Metadata = {
metadataBase: new URL("https://supabase-modules-demo.vercel.app/"),
title: "The Playground",
description: "Supabase Modules - Build smarter with pre-built modules today",
appleWebApp: {
title: "The Playground",
statusBarStyle: "black-translucent",
startupImage: ["/apple-icon.png"],
},
}
2 changes: 1 addition & 1 deletion apps/next/app/manifest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default function manifest(): MetadataRoute.Manifest {
description: "The Playground",
start_url: "/",
display: "fullscreen",
background_color: "#fff",
background_color: "#E0E0E0",
icons: [
{
src: "/apple-icon.png",
Expand Down
2 changes: 1 addition & 1 deletion apps/next/components/ui/sheet.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const SheetOverlay = React.forwardRef<
>(({ className, ...props }, ref) => (
<SheetPrimitive.Overlay
className={cn(
"fixed inset-0 z-50 bg-white/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
"fixed inset-0 z-50 bg-background/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",
className
)}
{...props}
Expand Down

0 comments on commit ed81c4d

Please sign in to comment.