Name
Landing Page

Description
Landing page with the lead capture

Pack
{
  "pages": [
    {
      "name": "ThankYou",
      "title": "Thank you for asking us to get in touch",
      "layout": {
        "above": [
          {
            "type": "container",
            "block": true,
            "bgType": "None",
            "hAlign": "center",
            "vAlign": "middle",
            "bgColor": "#ffffff",
            "contents": {
              "above": [
                {
                  "type": "blank",
                  "contents": "Thank you.",
                  "isFormula": {},
                  "textStyle": "h1"
                },
                {
                  "type": "line_break"
                },
                {
                  "type": "line_break"
                }
              ]
            },
            "imageSize": "contain",
            "isFormula": {},
            "textColor": "#ffffff",
            "borderStyle": "solid",
            "showForRole": []
          },
          {
            "type": "container",
            "block": true,
            "bgType": "None",
            "hAlign": "center",
            "vAlign": "middle",
            "bgColor": "#ffffff",
            "contents": {
              "type": "blank",
              "contents": "We will be in touch",
              "isFormula": {},
              "textStyle": "h4"
            },
            "imageSize": "contain",
            "isFormula": {},
            "textColor": "#ffffff",
            "borderStyle": "solid",
            "showForRole": []
          },
          {
            "type": "line_break"
          },
          {
            "widths": [
              2,
              8,
              2
            ],
            "besides": [
              null,
              {
                "type": "card",
                "contents": {
                  "name": "627cdd",
                  "type": "view",
                  "view": "ShowLead",
                  "state": "shared"
                },
                "isFormula": {}
              },
              null
            ]
          }
        ]
      },
      "min_role": 100,
      "description": "",
      "fixed_states": {},
      "root_page_for_roles": []
    },
    {
      "name": "LandingPage",
      "title": "WidgetCo - Widgets for all your needs",
      "layout": {
        "above": [
          {
            "type": "container",
            "block": true,
            "bgType": "Image",
            "hAlign": "center",
            "margin": [
              0,
              0,
              0,
              0
            ],
            "vAlign": "middle",
            "bgColor": "#ffffff",
            "padding": [
              0,
              0,
              0,
              0
            ],
            "bgFileId": 1,
            "contents": {
              "type": "blank",
              "contents": "Widgets so spiffy you'll be done in a jiffy",
              "isFormula": {},
              "textStyle": "h1"
            },
            "imageSize": "cover",
            "isFormula": {},
            "minHeight": "400",
            "textColor": "#ffffff",
            "widthUnit": "px",
            "heightUnit": "px",
            "borderStyle": "solid",
            "showForRole": [],
            "setTextColor": true,
            "minHeightUnit": "px"
          },
          {
            "type": "line_break"
          },
          {
            "widths": [
              6,
              6
            ],
            "besides": [
              {
                "above": [
                  {
                    "type": "blank",
                    "block": true,
                    "contents": "In the widget business, we're the cream of the crop",
                    "isFormula": {},
                    "textStyle": "h3"
                  },
                  {
                    "type": "line_break"
                  },
                  {
                    "type": "blank",
                    "contents": "

Our widgets are some of the finest ever produced. With our widgets you will be:

\n\n
    \n\t
  • Spick and span in no time
  • \n\t
  • Covered by our exclusive ValueBack Guarantee
  • \n\t
  • Joining thousands of widget intermediaries in trusting WidgetCo
  • \n\t
  • Look really good in front of your most suggestible clients
  • \n\t
  • if you are still reading this, you must be desperate for widgets. We will not let you down
  • \n
\n", "isFormula": {} }, { "type": "line_break" } ] }, { "above": [ { "type": "blank", "contents": "Don't miss out on the best in widgets", "isFormula": {}, "textStyle": "h3" }, { "name": "2e9b20", "type": "view", "view": "LeadCapture", "state": "shared" }, { "type": "line_break" }, { "type": "line_break" } ] } ], "breakpoint": "sm" }, { "type": "container", "block": true, "bgType": "Color", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#cfcfcf", "padding": [ 0, 0, 0, 0 ], "bgFileId": 1, "contents": { "above": [ { "type": "line_break" }, { "type": "line_break" }, { "widths": [ 1, 5, 5, 1 ], "besides": [ null, { "type": "blank", "contents": "\"Thank you thank you thank you thank you thank you thank you thank you\"", "isFormula": {}, "textStyle": "font-italic" }, { "type": "blank", "contents": "\"I was nearly done for in the widget business, until I found WidgetCo. The X-514 turned my life around\"", "isFormula": {}, "textStyle": "font-italic" }, null ], "breakpoint": "sm" }, { "type": "line_break" }, { "type": "line_break" } ] }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "minHeightUnit": "px" }, { "type": "line_break" }, { "type": "container", "block": true, "bgType": "None", "hAlign": "center", "margin": [ 0, 0, 0, 0 ], "vAlign": "middle", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "contents": { "type": "blank", "contents": "Many kinds of widgets", "isFormula": {}, "textStyle": "h2" }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "minHeightUnit": "px" }, { "widths": [ 4, 4, 4 ], "besides": [ { "type": "card", "contents": { "above": [ { "alt": "Screenshot of an accordion user interface", "type": "image", "fileid": "9" }, { "type": "blank", "contents": "Accordions", "isFormula": {}, "textStyle": "h4" } ] }, "isFormula": {} }, { "type": "card", "contents": { "above": [ { "type": "container", "block": true, "bgType": "None", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "contents": { "above": [ { "alt": "A picture of an actuator", "type": "image", "fileid": "8" }, { "type": "blank", "contents": "Actuators", "isFormula": {}, "textStyle": "h4" } ] }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "minHeightUnit": "px" }, null ] }, "isFormula": {} }, { "type": "card", "contents": { "above": [ { "type": "container", "block": true, "bgType": "None", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "contents": { "above": [ { "alt": "A picture of an acorn", "type": "image", "fileid": "5" }, { "type": "blank", "contents": "Acorns", "isFormula": {}, "textStyle": "h4" } ] }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "minHeightUnit": "px" }, null ] }, "isFormula": {} } ], "breakpoint": "sm" }, { "type": "line_break" }, { "type": "container", "block": true, "bgType": "None", "hAlign": "center", "margin": [ 0, 0, 0, 0 ], "vAlign": "middle", "bgColor": "#ffffff", "padding": [ 0, 0, 0, 0 ], "contents": { "type": "blank", "contents": "...and that is just the ones starting with A. Ac, in fact.", "isFormula": {} }, "imageSize": "contain", "isFormula": {}, "textColor": "#ffffff", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "minHeightUnit": "px" }, { "type": "line_break" }, { "type": "container", "block": true, "bgType": "Color", "hAlign": "left", "margin": [ 0, 0, 0, 0 ], "vAlign": "top", "bgColor": "#404040", "padding": [ 0, 0, 0, 0 ], "bgFileId": 1, "contents": { "above": [ { "type": "line_break" }, { "type": "blank", "contents": "Photo by Paweł Czerwiński on Unsplash", "isFormula": {} }, { "type": "line_break" }, { "type": "blank", "contents": "Photo by Vinicius Wiesehofer on Unsplash. ", "isFormula": {} }, { "type": "line_break" }, { "type": "blank", "contents": "Photo by Yerlin Matu on Unsplash", "isFormula": {} }, { "type": "line_break" }, { "type": "line_break" }, { "type": "blank", "contents": "Do not try and find WidgetCo, that's impossible. Instead, 
only try to realize the truth...there is no WidgetCo
", "isFormula": {} }, { "type": "line_break" }, { "type": "line_break" } ] }, "imageSize": "contain", "isFormula": {}, "textColor": "#ededed", "widthUnit": "px", "heightUnit": "px", "borderStyle": "solid", "showForRole": [], "setTextColor": true, "minHeightUnit": "px" } ] }, "min_role": 100, "description": "Retailer of widgets for miscellaneous users", "fixed_states": {}, "root_page_for_roles": [ "public" ] } ], "views": [ { "name": "ShowLead", "table": "leads", "min_role": 100, "viewtemplate": "Show", "configuration": { "layout": { "above": [ { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "contents": "First Name", "isFormula": {} } ] }, { "above": [ null, { "type": "field", "fieldview": "as_text", "field_name": "first_name" } ] } ] }, { "type": "line_break" }, { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "contents": "Last Name", "isFormula": {} } ] }, { "above": [ null, { "type": "field", "fieldview": "as_text", "field_name": "last_name" } ] } ] }, { "type": "line_break" }, { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "contents": "Email", "isFormula": {} } ] }, { "above": [ null, { "type": "field", "fieldview": "as_text", "field_name": "email" } ] } ] }, { "type": "line_break" }, { "widths": [ 2, 10 ], "besides": [ { "above": [ null, { "type": "blank", "contents": "Company Name", "isFormula": {} } ] }, { "above": [ null, { "type": "field", "fieldview": "as_text", "field_name": "company_name" } ] } ] }, { "type": "line_break" } ] }, "columns": [ { "type": "Field", "fieldview": "as_text", "field_name": "first_name" }, { "type": "Field", "fieldview": "as_text", "field_name": "last_name" }, { "type": "Field", "fieldview": "as_text", "field_name": "email" }, { "type": "Field", "fieldview": "as_text", "field_name": "company_name" } ], "viewname": "ShowLead" }, "default_render_page": "ThankYou" }, { "name": "LeadCapture", "table": "leads", "min_role": 100, "viewtemplate": "Edit", "configuration": { "layout": { "above": [ { "widths": [ 6, 6 ], "besides": [ { "above": [ null, { "type": "blank", "contents": "First Name", "labelFor": "first_name", "isFormula": {} }, { "type": "line_break" }, { "type": "field", "fieldview": "edit", "field_name": "first_name" } ] }, { "above": [ { "type": "blank", "contents": "Last Name", "labelFor": "last_name", "isFormula": {} }, null, { "type": "line_break" }, { "type": "field", "fieldview": "edit", "field_name": "last_name" } ] } ] }, { "type": "line_break" }, { "type": "blank", "contents": "Email", "labelFor": "email", "isFormula": {} }, { "type": "line_break" }, { "type": "field", "fieldview": "edit", "field_name": "email" }, { "type": "line_break" }, { "type": "blank", "contents": "Company Name", "labelFor": "company_name", "isFormula": {} }, { "type": "line_break" }, { "type": "field", "fieldview": "edit", "field_name": "company_name" }, { "type": "line_break" }, { "type": "action", "rndid": "19af18", "minRole": 100, "isFormula": {}, "action_name": "Save", "action_label": "Tell me more", "action_style": "btn-primary", "configuration": {} } ] }, "columns": [ { "type": "Field", "fieldview": "edit", "field_name": "first_name" }, { "type": "Field", "fieldview": "edit", "field_name": "last_name" }, { "type": "Field", "fieldview": "edit", "field_name": "email" }, { "type": "Field", "fieldview": "edit", "field_name": "company_name" }, { "type": "Action", "rndid": "19af18", "minRole": 10, "isFormula": {}, "action_name": "Save", "action_label": "Tell me more", "action_style": "btn-primary", "configuration": {} } ], "viewname": "LeadCapture", "view_when_done": "ShowLead" }, "default_render_page": "" } ], "tables": [ { "name": "leads", "fields": [ { "name": "first_name", "type": "String", "label": "First Name", "stored": false, "required": true, "is_unique": false, "attributes": { "regexp": "", "options": "", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null }, { "name": "last_name", "type": "String", "label": "Last Name", "stored": false, "required": true, "is_unique": false, "attributes": { "regexp": "", "options": "", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null }, { "name": "email", "type": "String", "label": "Email", "stored": false, "required": true, "is_unique": false, "attributes": { "regexp": "", "options": "", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null }, { "name": "company_name", "type": "String", "label": "Company Name", "stored": false, "required": false, "is_unique": false, "attributes": { "regexp": "", "options": "", "max_length": null, "min_length": null, "re_invalid_error": "" }, "calculated": false, "expression": null } ], "triggers": [], "versioned": false, "constraints": [], "min_role_read": 1, "min_role_write": 100, "ownership_field_name": null } ], "plugins": [ { "name": "any-bootstrap-theme", "source": "npm", "location": "@saltcorn/any-bootstrap-theme", "configuration": { "theme": "sandstone", "toppad": 2, "css_url": null, "in_card": false, "fixedTop": false, "colorscheme": "navbar-light", "css_integrity": null } } ] }