import type { AppLocale } from "@/i18n/routing";

export const siteConfig = {
  name: "Alya Paros",
  sourceUrl: "https://www.airbnb.com/rooms/45386666",
  registrationNumber: "00003689943",
  timezone: "Europe/Athens",
  currency: "EUR",
  maxGuests: 3,
  bedrooms: 1,
  beds: 1,
  baths: 1,
  checkIn: "14:00",
  checkOut: "11:00",
};

export const publicPages = [
  { slug: "accommodation", labelKey: "accommodation" },
  { slug: "gallery", labelKey: "gallery" },
  { slug: "amenities", labelKey: "amenities" },
  { slug: "location", labelKey: "location" },
  { slug: "discover-paros", labelKey: "discoverParos" },
  { slug: "availability-booking", labelKey: "booking" },
  { slug: "faq", labelKey: "faq" },
  { slug: "contact", labelKey: "contact" },
] as const;

export const legalPages = [
  "house-rules",
  "cancellation-policy",
  "privacy-policy",
  "cookie-policy",
  "terms-booking-conditions",
] as const;

export type PublicPageSlug =
  | (typeof publicPages)[number]["slug"]
  | (typeof legalPages)[number];

export function localizedPath(locale: AppLocale, path = "") {
  const normalizedPath = path.startsWith("/") ? path : `/${path}`;
  return `/${locale}${normalizedPath === "/" ? "" : normalizedPath}`;
}
