diff --git a/client/src/components/content-block-form/AddContentLink.vue b/client/src/components/content-block-form/AddContentLink.vue new file mode 100644 index 00000000..8ce1de7c --- /dev/null +++ b/client/src/components/content-block-form/AddContentLink.vue @@ -0,0 +1,36 @@ + + + + + diff --git a/client/src/components/content-block-form/ContentFormSection.vue b/client/src/components/content-block-form/ContentFormSection.vue new file mode 100644 index 00000000..87c6db85 --- /dev/null +++ b/client/src/components/content-block-form/ContentFormSection.vue @@ -0,0 +1,32 @@ + + + + + diff --git a/client/src/components/ui/InputWithLabel.vue b/client/src/components/ui/InputWithLabel.vue new file mode 100644 index 00000000..9067ccad --- /dev/null +++ b/client/src/components/ui/InputWithLabel.vue @@ -0,0 +1,42 @@ + + + + + diff --git a/client/src/pages/createContentBlock.vue b/client/src/pages/createContentBlock.vue index 08873412..449437e0 100644 --- a/client/src/pages/createContentBlock.vue +++ b/client/src/pages/createContentBlock.vue @@ -1,12 +1,58 @@ @@ -14,6 +60,30 @@ @import '~styles/helpers'; .create-content-block { + width: 800px; + max-width: 100%; + display: grid; + grid-template-columns: 800px; + grid-template-rows: 1fr auto; + grid-template-areas: + 'content' + 'footer'; + &__heading { + @include heading-1; + } + + &__content { + grid-area: content; + overflow-x: visible; + overflow-y: auto; + padding: 10px; + } + + &__footer { + margin-top: auto; + grid-area: footer; + } } + diff --git a/client/src/router/module.routes.js b/client/src/router/module.routes.js index 6ced3680..8351ce6b 100644 --- a/client/src/router/module.routes.js +++ b/client/src/router/module.routes.js @@ -74,10 +74,13 @@ export default [ }, }, { - path: 'create-content-block', + path: 'add', component: createContentBlock, meta: { - showFooter: false + // layout: LAYOUT_SIMPLE, + hideFooter: true, + hideHeader: true, + showSubNavigation: true }, }, ],