forked from tsai/budibase
committed by
GitHub
10 changed files with 93 additions and 31 deletions
@ -0,0 +1,23 @@ |
|||||
|
<script> |
||||
|
export let wide = false |
||||
|
</script> |
||||
|
|
||||
|
<div class:wide> |
||||
|
<slot /> |
||||
|
</div> |
||||
|
|
||||
|
<style> |
||||
|
div { |
||||
|
display: grid; |
||||
|
grid-template-columns: 1fr; |
||||
|
max-width: 80ch; |
||||
|
margin: 0 auto; |
||||
|
padding: calc(var(--spacing-xl) * 2); |
||||
|
} |
||||
|
|
||||
|
.wide { |
||||
|
max-width: none; |
||||
|
margin: 0; |
||||
|
padding: var(--spacing-xl) calc(var(--spacing-xl) * 2); |
||||
|
} |
||||
|
</style> |
||||
@ -0,0 +1,7 @@ |
|||||
|
<script> |
||||
|
import { Page } from "@budibase/bbui" |
||||
|
</script> |
||||
|
|
||||
|
<Page wide> |
||||
|
<slot /> |
||||
|
</Page> |
||||
@ -0,0 +1,27 @@ |
|||||
|
<script> |
||||
|
import { Heading, Layout } from "@budibase/bbui" |
||||
|
</script> |
||||
|
|
||||
|
<Layout noPadding> |
||||
|
<div> |
||||
|
<Heading>Apps</Heading> |
||||
|
</div> |
||||
|
<div class="appList"> |
||||
|
{#each new Array(10) as _} |
||||
|
<div class="app" /> |
||||
|
{/each} |
||||
|
</div> |
||||
|
</Layout> |
||||
|
|
||||
|
<style> |
||||
|
.appList { |
||||
|
display: grid; |
||||
|
grid-gap: 50px; |
||||
|
grid-template-columns: repeat(auto-fill, 300px); |
||||
|
} |
||||
|
.app { |
||||
|
height: 130px; |
||||
|
border-radius: 4px; |
||||
|
background-color: var(--spectrum-global-color-gray-200); |
||||
|
} |
||||
|
</style> |
||||
@ -0,0 +1,4 @@ |
|||||
|
<script> |
||||
|
import { goto } from "@roxi/routify" |
||||
|
$goto("./apps") |
||||
|
</script> |
||||
@ -0,0 +1,7 @@ |
|||||
|
<script> |
||||
|
import { Page } from "@budibase/bbui" |
||||
|
</script> |
||||
|
|
||||
|
<Page> |
||||
|
<slot /> |
||||
|
</Page> |
||||
Loading…
Reference in new issue