🚸 Added navbar
This commit is contained in:
@@ -1,5 +1,35 @@
|
||||
<script>
|
||||
import '../app.css';
|
||||
import Navbar from '$lib/navbar.svelte';
|
||||
</script>
|
||||
|
||||
<slot />
|
||||
<Navbar />
|
||||
<div class='pt-16 h-screen'>
|
||||
<slot />
|
||||
</div>
|
||||
<style lang='scss'>
|
||||
:global(body) {
|
||||
background: linear-gradient(to right, #009444, #39b54a, #8dc63f);
|
||||
// height: 100%;
|
||||
// width: 100%;
|
||||
background-repeat: no-repeat;
|
||||
background-size: cover;
|
||||
/*background: linear-gradient(-225deg, #231557 0%, #44107A 29%, #FF1361 67%, #FFF800 100%); */
|
||||
/*background: linear-gradient(-225deg, #22E1FF 0%, #1D8FE1 48%, #625EB1 100%); */
|
||||
color: beige;
|
||||
background-size: 400% 400%;
|
||||
animation: background_animation 30s ease infinite;
|
||||
}
|
||||
|
||||
@keyframes background_animation {
|
||||
0% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
50% {
|
||||
background-position: 100% 50%;
|
||||
}
|
||||
100% {
|
||||
background-position: 0% 50%;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
@@ -1,2 +1,3 @@
|
||||
|
||||
<h1>Welcome to SvelteKit</h1>
|
||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||
|
||||
Reference in New Issue
Block a user