Merge pull request #356 from Budibase/unauth-pages
embed component, rename main and login to public and private
This commit is contained in:
commit
5ce3b53986
|
@ -9,11 +9,11 @@
|
|||
|
||||
const pages = [
|
||||
{
|
||||
title: "Main",
|
||||
title: "Private",
|
||||
id: "main",
|
||||
},
|
||||
{
|
||||
title: "Login",
|
||||
title: "Public",
|
||||
id: "unauthenticated",
|
||||
},
|
||||
]
|
||||
|
|
|
@ -11,6 +11,18 @@ export default {
|
|||
name: "Basic",
|
||||
isCategory: true,
|
||||
children: [
|
||||
{
|
||||
_component: "@budibase/standard-components/embed",
|
||||
icon: "ri-code-line",
|
||||
name: "Embed",
|
||||
description: "Embed content from 3rd party sources",
|
||||
properties: {
|
||||
design: {
|
||||
...all,
|
||||
},
|
||||
settings: [{ label: "Embed", key: "embed", control: Input }],
|
||||
},
|
||||
},
|
||||
{
|
||||
_component: "@budibase/standard-components/container",
|
||||
name: "Container",
|
||||
|
|
|
@ -6,6 +6,13 @@
|
|||
"component": "button"
|
||||
}
|
||||
},
|
||||
"embed": {
|
||||
"name": "Embed",
|
||||
"description": "Embed stuff",
|
||||
"props": {
|
||||
"embed": "string"
|
||||
}
|
||||
},
|
||||
"Navigation": {
|
||||
"name": "Navigation",
|
||||
"description": "A basic header navigation component",
|
||||
|
|
|
@ -0,0 +1,5 @@
|
|||
<script>
|
||||
export let embed
|
||||
</script>
|
||||
|
||||
{@html embed}
|
|
@ -21,3 +21,4 @@ export { default as datalist } from "./DataList.svelte"
|
|||
export { default as list } from "./List.svelte"
|
||||
export { default as datasearch } from "./DataSearch.svelte"
|
||||
export { default as datamap } from "./DataMap.svelte"
|
||||
export { default as embed } from "./Embed.svelte"
|
||||
|
|
Loading…
Reference in New Issue