svelte-testing/src/routes/__layout.svelte

18 lines
548 B
Svelte
Raw Normal View History

2022-07-01 16:06:41 +02:00
<script>
2022-07-01 21:30:29 +02:00
import '../app.css';
import Header from '../components/header.svelte'
2022-07-01 16:06:41 +02:00
</script>
2022-07-01 21:30:29 +02:00
<div class="bg-gradient-to-tr from-[#070F1A] to-[#0D234C] w-screen h-screen">
<!-- Header -->
<Header/>
<slot />
</div>
<!-- background-image: linear-gradient(to right top, #051937, #1a325b, #304d82, #466aab, #5d88d6);
https://mycolor.space/gradient?ori=to+right+top&hex=%23051937&hex2=%235D88D6&sub=1
-->
<style>
@import url('https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,300;8..144,400;8..144,500&display=swap');
</style>