mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-04-26 09:25:22 -04:00
26 lines
589 B
TypeScript
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;
|