-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db77a19
commit ced4fbb
Showing
3 changed files
with
47 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<script lang="ts"> | ||
import type Extension from "."; | ||
import { | ||
ReactiveInvoke, | ||
reactiveInvoke, | ||
activeClass, | ||
color, | ||
} from "$common"; | ||
import { onDestroy } from "svelte"; | ||
export let extension: Extension; | ||
export let close: () => void; | ||
const invoke: ReactiveInvoke<Extension> = (functionName, ...args) => | ||
reactiveInvoke((extension = extension), functionName, args); | ||
const container = activeClass; | ||
onDestroy(() => { | ||
console.log("Closed"); | ||
}); | ||
</script> | ||
|
||
<div | ||
class:container | ||
style:width="50vw" | ||
style:background-color={color.ui.white} | ||
style:color={color.text.primary} | ||
> | ||
<h1>Cannot load Doodlebot's sound/image server!</h1> | ||
<h2>Please try reloading the page.</h2> | ||
</div> | ||
|
||
<style> | ||
.container { | ||
text-align: center; | ||
padding: 30px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters