<script lang="ts">
	import { getReaderContext } from '$lib/Reader';

	const reader = getReaderContext();
</script>

<div class="floating !p-2">
	{$reader.page + 1}/{$reader.pages.length}
</div>
