import { RouteObject } from "react-router-dom";
import { LandingPage } from "../pages/landing";
import { PublicBookingPage } from "../pages/PublicBookingPage";
import { PublicNotePage } from "../pages/PublicNotePage";

export const publicRoutes: RouteObject[] = [
  // Landing page
  {
    path: "/landing",
    element: <LandingPage />,
  },
  // Public booking routes
  {
    path: "/book/:user_info/:event_type_standard_name",
    element: <PublicBookingPage />,
  },
  // Public notes route (unauthenticated access)
  {
    path: "/notes/public/:noteId",
    element: <PublicNotePage />,
  },
];
