Rinze/src/routes/_layout.svelte

17 lines
371 B
Svelte

<script>
import Header from 'components/Header.svelte';
import FloatingYuriko from 'components/FloatingYuriko.svelte';
import { isYurikoBirthday } from 'lib/yuriko-birthday.js';
</script>
<style lang="scss" global>
@import '../style/app.scss';
</style>
<Header></Header>
<main>
<slot></slot>
</main>
{#if isYurikoBirthday()}
<FloatingYuriko></FloatingYuriko>
{/if}