import * as React from "react"; import { get } from "lodash"; import { style } from "./style"; import { default as defaultData } from "./data.json"; import { doIShow, combineData, lorem } from "../../utils"; import theme from "../../theme"; import { Block, Section, Headline, Text, Container, Button, Grid, GridItem, List, } from "@sc/plugins/webcomponents/v2"; import { ImagePlaceholder, ImagePlaceholderTypes } from "../../Placeholders"; import { IconTypes } from "@sc/plugins/webcomponents/v2/Icon"; type LayoutProps = { data: any; }; const Layout: React.FC = ({ data }) => { const initialContent = { main_headline: { html: "Headline Goes Here", }, sub_headline: { html: "Sub Headline Text Content Goes Here", }, }; const content = combineData(initialContent, defaultData, data); return (
Get Your 10 Minute Funnels Account Now! 50%-OFF DISCOUNT (A SAVINGS of $400.00) Free Bonus #1: " + lorem.generateSentences(1), style: style.LISTITEM.style, iconStyle: style.LISTITEM.iconStyle, contentStyle: style.LISTITEM.contentStyle, icon: IconTypes.CheckCircleOutline, }, { caption: "Free Bonus #2: " + lorem.generateSentences(1), style: style.LISTITEM.style, iconStyle: style.LISTITEM.iconStyle, contentStyle: style.LISTITEM.contentStyle, icon: IconTypes.CheckCircleOutline, }, { caption: "Free Bonus #3: " + lorem.generateSentences(1), style: style.LISTITEM.style, iconStyle: style.LISTITEM.iconStyle, contentStyle: style.LISTITEM.contentStyle, icon: IconTypes.CheckCircleOutline, }, { caption: "Free Bonus #4: " + lorem.generateSentences(1), style: style.LISTITEM.style, iconStyle: style.LISTITEM.iconStyle, contentStyle: style.LISTITEM.contentStyle, icon: IconTypes.CheckCircleOutline, }, ]} /> Your Full 30-Day 100% Money-Back Guarantee Just Say "Maybe"... And Put It To The Test For An Entire Month... Then Decide {lorem.generateParagraphs(1)} {lorem.generateParagraphs(1)}
); }; export default Layout;