import type { ReactNode } from "react";

import LeisureVendorAssets from "@/components/layout/LeisureVendorAssets";

/**
 * My Trips (LEIS-1022) ports leisure-ui's own TripCard.tsx/FlightTripCard.tsx
 * markup close to verbatim — see MyTripsCard's doc comment — which means it
 * needs the same Bootstrap 5 + leisure-ui vendor stylesheets app/srp/layout.tsx
 * loads for the same reason. Without this layout the page renders with none
 * of its styling: Tailwind's Preflight resets everything the ported markup
 * assumes Bootstrap supplies, and `--fra-*` classes aren't a substitute for
 * `.card`/`.buttons`/`.nav-pills`. See LeisureVendorAssets's own doc comment
 * before touching anything about the cascade here.
 */
export default function MyTripsLayout({ children }: { children: ReactNode }) {
  return (
    <>
      <LeisureVendorAssets />
      {children}
    </>
  );
}
