Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
marwie committed Aug 27, 2023
1 parent dbbc417 commit 874a43d
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 46 deletions.
74 changes: 36 additions & 38 deletions src/routes/+layout.svelte
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
<script lang="ts">
import { base } from "$app/paths";
</script>

<div class="app">
Expand All @@ -17,39 +15,39 @@
</div>

<style>
div.header {
display: inline-block;
padding: 1rem;
background: #eee;
border: 1px solid #ccc;
border-radius: 50px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
a {
text-decoration: none;
font-weight: bold;
margin: 0px 10px;
position: relative;
color: black;
}
a:visited {
color: inherit;
}
a:hover {
color: #4d7716;
}
main {
position: relative;
}
:global(body) {
margin: 0;
padding: 20px;
background-color: #ccc;
font-family: sans-serif;
}
</style>
div.header {
display: inline-block;
padding: 1rem;
background: #eee;
border: 1px solid #ccc;
border-radius: 50px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
a {
text-decoration: none;
font-weight: bold;
margin: 0px 10px;
position: relative;
color: black;
}
a:visited {
color: inherit;
}
a:hover {
color: #4d7716;
}
main {
position: relative;
}
:global(body) {
margin: 0;
padding: 20px;
background-color: #ccc;
font-family: sans-serif;
}
</style>
15 changes: 7 additions & 8 deletions src/routes/NeedleEngine.svelte
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
<script lang="ts">
import { onMount } from "svelte";
import { onMount } from "svelte";
export let src: string = "";
onMount(async () => {
await import('./../generated/gen.js');
await import('@needle-tools/engine');
});
export let src: string = "";
onMount(async () => {
await import("./../generated/gen.js");
await import("@needle-tools/engine");
});
</script>

<needle-engine src={src}></needle-engine>
<needle-engine {src} />

0 comments on commit 874a43d

Please sign in to comment.