Prepare building components
This commit is contained in:
8
src/components/small-header.svelte
Normal file
8
src/components/small-header.svelte
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
<div class="headerBar">
|
||||||
|
</div>
|
||||||
|
<style>
|
||||||
|
.headerBar {
|
||||||
|
background: blue;
|
||||||
|
height: 50px;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,2 +1,6 @@
|
|||||||
|
<script>
|
||||||
|
import Menu from '/src/components/small-header.svelte'
|
||||||
|
</script>
|
||||||
|
<Menu />
|
||||||
<h1>Welcome to SvelteKit</h1>
|
<h1>Welcome to SvelteKit</h1>
|
||||||
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
<p>Visit <a href="https://kit.svelte.dev">kit.svelte.dev</a> to read the documentation</p>
|
||||||
|
|||||||
Reference in New Issue
Block a user