<script lang="ts">
	import AtelierReaderPage from '$lib/pages/reader/AtelierReaderPage.svelte';
	import LegacyReaderPage from '$lib/pages/reader/LegacyReaderPage.svelte';

	let { data } = $props();
</script>

{#if data?.useAtelierShell}
	<AtelierReaderPage />
{:else}
	<LegacyReaderPage />
{/if}
