Skip to content

Commit

Permalink
Adding web manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
iamhectorsosa committed Apr 2, 2024
1 parent 89ba497 commit 157e03d
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
4 changes: 4 additions & 0 deletions apps/next/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ 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",
themeColor: [
{ media: "(prefers-color-scheme: light)", color: "#000000" },
{ media: "(prefers-color-scheme: dark)", color: "#030712" },
],
}

export default async function RootLayout({
Expand Down
19 changes: 19 additions & 0 deletions apps/next/app/manifest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
import { MetadataRoute } from "next"

export default function manifest(): MetadataRoute.Manifest {
return {
name: "The Playground",
short_name: "The Playground",
description: "The Playground",
start_url: "/",
display: "fullscreen",
background_color: "#fff",
icons: [
{
src: "/favicon.ico",
sizes: "any",
type: "image/x-icon",
},
],
}
}

0 comments on commit 157e03d

Please sign in to comment.