2021-01-12 21:00:35 +01:00
|
|
|
<script>
|
|
|
|
// This component is overridden when running in a real app.
|
2021-01-14 10:09:23 +01:00
|
|
|
// This simply serves as a placeholder component for the real screen router
|
|
|
|
import { getContext } from "svelte"
|
|
|
|
|
|
|
|
const { styleable } = getContext("sdk")
|
|
|
|
const component = getContext("component")
|
2021-01-12 21:00:35 +01:00
|
|
|
</script>
|
|
|
|
|
2021-01-14 10:09:23 +01:00
|
|
|
<div use:styleable={$component.styles}>
|
2020-11-23 15:27:45 +01:00
|
|
|
<h1>Screen Slot</h1>
|
|
|
|
<span>
|
|
|
|
The screens that you create will be displayed inside this box.
|
|
|
|
<br />
|
|
|
|
This box is just a placeholder, to show you the position of screens.
|
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<style>
|
|
|
|
div {
|
2021-01-14 10:09:23 +01:00
|
|
|
display: flex !important;
|
|
|
|
flex-direction: column !important;
|
|
|
|
align-items: center !important;
|
|
|
|
justify-content: center !important;
|
|
|
|
padding: 20px !important;
|
|
|
|
text-align: center !important;
|
2020-11-23 15:27:45 +01:00
|
|
|
border-style: dashed !important;
|
2021-01-14 10:09:23 +01:00
|
|
|
border-width: 1px !important;
|
|
|
|
color: #000000 !important;
|
|
|
|
background-color: rgba(0, 0, 0, 0.05) !important;
|
2020-11-23 15:27:45 +01:00
|
|
|
}
|
|
|
|
</style>
|