export const siteConfig = {
  name: "SeTrip",
  brand: "SeTrip",
  slogan: "Pergi bareng, bukan sendiri.",
  description:
    "SeTrip adalah tempat menemukan teman aktivitas & trip bareng — bukan sekadar daftar trip. Gabung open trip, kenal stranger, jadi circle baru. Grup kecil, organizer terverifikasi.",
  keywords: [
    "setrip",
    "se trip",
    "teman trip",
    "cari teman trip",
    "teman aktivitas",
    "cari teman jalan",
    "open trip",
    "gabung open trip",
    "cari open trip",
    "trip bareng",
    "social travel",
    "teman pendakian",
    "open trip pendakian",
    "hiking bareng",
    "naik gunung bareng",
    "open trip camping",
    "open trip snorkeling",
    "open trip diving",
    "open trip island hopping",
    "city trip bareng",
    "kulineran bareng",
    "konser bareng",
    "workshop outdoor",
    "retreat bareng",
  ],
} as const;

export const siteUrl = (
  process.env.NEXT_PUBLIC_SITE_URL ?? "http://localhost:3000"
).replace(/\/$/, "");

export function absoluteUrl(path = "/"): string {
  return `${siteUrl}${path.startsWith("/") ? path : `/${path}`}`;
}
