import type { Metadata } from "next";
import RestaurantDemo from "../components/RestaurantDemo";

// The client-facing manifest hangs off login and registration, so a restaurant
// owner who installs from here gets the MeniFlow app rather than the waiter one.
export const metadata: Metadata = {
  title: "Prijava",
  manifest: "/manifest-klijent.webmanifest",
  appleWebApp: { capable: true, title: "MeniFlow", statusBarStyle: "black-translucent" },
  icons: { icon: "/icon-192.png", apple: "/apple-touch-icon.png" },
};

export const viewport = {
  themeColor: "#153e35",
  width: "device-width",
  initialScale: 1,
  viewportFit: "cover" as const,
};

export default function LoginPage() {
  return <RestaurantDemo initialSurface="login" />;
}
