tack-up-now/app/routes/manifest[.webmanifest].ts

36 lines
824 B
TypeScript

import type { WebAppManifest } from "@remix-pwa/dev"
import { json } from "@remix-run/node"
export const loader = () => {
return json(
{
name: "Tack Up Now!",
short_name: "Tack Up Now!",
icons: [
{
src: "./images/192.png",
sizes: "192x192",
type: "image/png",
},
{
src: "./images/512.png",
sizes: "512x512",
type: "image/png",
},
],
theme_color: "#ffffff",
background_color: "#ffffff",
display: "standalone",
description: "Notifications for equinelive.com",
start_url: "/",
id: "tackupnow.com",
} as WebAppManifest,
{
headers: {
"Cache-Control": "public, max-age=600",
"Content-Type": "application/manifest+json",
},
}
)
}