Skip to content

Commit

Permalink
refactor(manifest): use next js built-in manifest generation
Browse files Browse the repository at this point in the history
  • Loading branch information
JaleelB committed Jul 25, 2024
1 parent 923ccf7 commit 04baf00
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
31 changes: 31 additions & 0 deletions app/manifest.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import { MetadataRoute } from "next";
import { siteConfig } from "@/app-config";

export default function manifest(): MetadataRoute.Manifest {
return {
name: siteConfig.name,
short_name: siteConfig.short_name,
description: siteConfig.description,
start_url: "/",
icons: [
{
src: "/favicon.ico",
sizes: "any",
type: "image/x-icon",
},
{
src: "/android-chrome-192x192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "/android-chrome-512x512.png",
sizes: "512x512",
type: "image/png",
},
],
theme_color: "#ffffff",
background_color: "#ffffff",
display: "standalone",
};
}
1 change: 0 additions & 1 deletion public/site.webmanifest

This file was deleted.

0 comments on commit 04baf00

Please sign in to comment.