1
mirror of https://github.com/jakejarvis/jarv.is.git synced 2025-04-26 16:48:26 -04:00
jarv.is/app/manifest.ts

26 lines
589 B
TypeScript

import { env } from "../lib/env";
import * as config from "../lib/config";
import type { MetadataRoute } from "next";
const manifest = (): MetadataRoute.Manifest => {
return {
name: config.siteName,
// eslint-disable-next-line camelcase
short_name: config.siteName,
description: config.description,
lang: env.NEXT_PUBLIC_SITE_LOCALE,
icons: [
{
src: "/icon.png",
sizes: "any",
type: "image/png",
},
],
display: "browser",
// eslint-disable-next-line camelcase
start_url: "/",
};
};
export default manifest;