mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-11-14 23:00:49 -05:00
refactor notes directory and front matter
This commit is contained in:
@@ -1,11 +1,6 @@
|
||||
import config from "../lib/config";
|
||||
import type { MetadataRoute } from "next";
|
||||
|
||||
import chrome512Png from "../public/static/favicons/android-chrome-512x512.png";
|
||||
import chrome192Png from "../public/static/favicons/android-chrome-192x192.png";
|
||||
import maskable512Png from "../public/static/favicons/maskable-512x512.png";
|
||||
import maskable192Png from "../public/static/favicons/maskable-192x192.png";
|
||||
|
||||
const manifest = (): MetadataRoute.Manifest => {
|
||||
return {
|
||||
name: config.siteName,
|
||||
@@ -14,28 +9,9 @@ const manifest = (): MetadataRoute.Manifest => {
|
||||
lang: config.siteLocale,
|
||||
icons: [
|
||||
{
|
||||
src: chrome512Png.src,
|
||||
sizes: `${chrome512Png.width}x${chrome512Png.height}`,
|
||||
src: "/icon.png",
|
||||
sizes: "any",
|
||||
type: "image/png",
|
||||
purpose: "any",
|
||||
},
|
||||
{
|
||||
src: chrome192Png.src,
|
||||
sizes: `${chrome192Png.width}x${chrome192Png.height}`,
|
||||
type: "image/png",
|
||||
purpose: "any",
|
||||
},
|
||||
{
|
||||
src: maskable512Png.src,
|
||||
sizes: `${maskable512Png.width}x${maskable512Png.height}`,
|
||||
type: "image/png",
|
||||
purpose: "maskable",
|
||||
},
|
||||
{
|
||||
src: maskable192Png.src,
|
||||
sizes: `${maskable192Png.width}x${maskable192Png.height}`,
|
||||
type: "image/png",
|
||||
purpose: "maskable",
|
||||
},
|
||||
],
|
||||
display: "browser",
|
||||
|
||||
Reference in New Issue
Block a user