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

{#if useAtelierShell}
  <AtelierDashboardPage />
{:else}
  <LegacyDashboardPage />
{/if}
