Добавлен пример
This commit is contained in:
@@ -1,3 +1,22 @@
|
||||
<h1>Welcome to your library project</h1>
|
||||
<p>Create your package using @sveltejs/package and preview/showcase your work with SvelteKit</p>
|
||||
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p>
|
||||
|
||||
<div class="image">
|
||||
<Image src="/favicon.svg" style="object-fit: contain;"/>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
import Image from '$lib/components/Image.svelte'
|
||||
</script>
|
||||
|
||||
<style>
|
||||
:global(*) {
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
.image {
|
||||
display: flex;
|
||||
height: 100px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user