29 lines
1.2 KiB
TypeScript
29 lines
1.2 KiB
TypeScript
import type { MetadataRoute } from "next";
|
|
|
|
/**
|
|
* Next.js's manifest file convention — auto-served at /manifest.webmanifest
|
|
* with the <link rel="manifest"> tag injected automatically, so nothing in
|
|
* layout.tsx needs to reference this directly. Single business per
|
|
* deployment (see docs/implementation-plan.md), so the name/colors are
|
|
* static rather than read from the Business row.
|
|
*/
|
|
export default function manifest(): MetadataRoute.Manifest {
|
|
return {
|
|
name: "NextChair — Barber Booking",
|
|
short_name: "NextChair",
|
|
description: "Book your next barber appointment in seconds — services, staff and loyalty rewards in one place.",
|
|
start_url: "/home",
|
|
scope: "/",
|
|
display: "standalone",
|
|
background_color: "#f4f6f4",
|
|
theme_color: "#111b15",
|
|
orientation: "portrait-primary",
|
|
icons: [
|
|
{ src: "/icons/icon-192.png", sizes: "192x192", type: "image/png", purpose: "any" },
|
|
{ src: "/icons/icon-512.png", sizes: "512x512", type: "image/png", purpose: "any" },
|
|
{ src: "/icons/icon-maskable-192.png", sizes: "192x192", type: "image/png", purpose: "maskable" },
|
|
{ src: "/icons/icon-maskable-512.png", sizes: "512x512", type: "image/png", purpose: "maskable" },
|
|
],
|
|
};
|
|
}
|