<script lang="ts">
  import { page } from '$app/state';
  import AtelierTripsPage from '$lib/pages/trips/AtelierTripsPage.svelte';
  import LegacyTripsPage from '$lib/pages/trips/LegacyTripsPage.svelte';
  const useAtelierShell = $derived((page as any).data?.useAtelierShell || false);
</script>

{#if useAtelierShell}
  <AtelierTripsPage />
{:else}
  <LegacyTripsPage />
{/if}
