<script>
	import { page } from '$app/state';
	import { t } from 'svelte-i18n';
	let message = '';
	if (page.url.search) {
		message = page.url.search.split('=')[1].replaceAll('%20', ' ');
	}
</script>

<div class="container">
	<div class="content">
		<h1 class="step-title title">{$t('email_sent')}</h1>
		<h4 class="step-subtitle normal">
			{$t(message)}
		</h4>
	</div>
</div>
