import { get, startCase, uniqueId } from "lodash";
import {
ILayoutSettings,
PageSectionCategory,
} from "@sc/plugins/misc/v2/blocks/weblayouts/types";
import { ComponentTypes } from "@sc/plugins/webcomponents/v2/types";
import { ContentLayouts } from "@sc/plugins/misc/v2/blocks/weblayouts/Content/types";
import { combineData, lorem } from "../../utils";
import { default as defaultData } from "./data.json";
import { style } from "./style";
import {
getImagePlaceholder,
ImagePlaceholderTypes,
getVideoPlaceholder,
VideoPlaceholderTypes,
} from "../../Placeholders";
import theme from "../../theme";
const content = combineData(defaultData);
const settings: ILayoutSettings = {
label: ContentLayouts.SIXTEEN,
layout: ContentLayouts.SIXTEEN,
previewImage:
"https://sandcastleassets.s3.amazonaws.com/blocks/content/Content16.png",
default: {
type: ComponentTypes.SECTION,
label: PageSectionCategory.CONTENT,
bodyOnly: true,
canHaveChildren: false,
properties: {
...style.SECTION,
...style.SECTION_INNER,
},
children: [
{
type: ComponentTypes.CONTAINER,
canHaveChildren: false,
properties: {
border: `3px dashed ${theme.backgroundColor}`,
padding: 50,
mobile: {
desktop: { padding: 50 },
smartphone: { padding: 5 },
},
},
children: [
{
type: ComponentTypes.HEADLINE,
canHaveChildren: false,
properties: {
...style.HEADLINE,
},
html:
"Yes! I want to Join You and 234 others
at this Live Training!",
},
{
type: ComponentTypes.DIVIDER,
canHaveChildren: false,
properties: {
...style.DIVIDER,
},
color: theme.backgroundColor,
size: 3,
},
{
type: ComponentTypes.HEADLINE,
canHaveChildren: false,
properties: {
...style.SUBHEADLINE,
},
html: "Reserve Your Ticket Today!",
},
{
type: ComponentTypes.BUTTON,
canHaveChildren: false,
properties: style.BUTTON.style,
caption1: "RSVP Now!",
caption1style: style.BUTTON.caption1,
},
],
},
{
type: ComponentTypes.TEXT,
canHaveChildren: false,
properties: style.TEXT,
html: `No Thanks! I don't want access to this product`,
},
],
},
};
export default settings;