import * as React from "react";
import { GRP } from "storybook/GRP";
import { withKnobs, text, boolean, number } from "@storybook/addon-knobs";
import Layout from "../Layout";
import { FooterLayouts } from "./types";
import {
EditorWithCustomData,
buildContentData,
mobileStateData,
} from "@sc/modules/page/Builder/Builder.stories";
import {
settings01,
settings02,
settings03,
settings04,
settings05,
settings06,
settings07,
settings08,
settings09,
settings10,
settings11,
// settings12,
settings13,
settings14,
} from "./";
export default {
title: "Plugins|Web Layouts/Footers",
decorators: [withKnobs],
};
export const Footer01: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer02: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer03: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer04: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer05: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer06: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer07: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer08: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer09: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer10: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer11: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer13: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const Footer14: React.FC = () => {
return (
<>
{boolean("Show Section", false) && (
)}
{boolean("Show inspiration", false) && (
)}
{boolean("In the Editor", true) && (
)}
>
);
};
export const InTheEditor: React.FC = () => {
return (
);
};
export const AllFooters: React.FC = () => {
const data = {
section: {
pageMargin: number("Page Margin", 980, {
range: true,
min: 500,
max: 2000,
}),
},
main_headline: {
html: text("Main Headline Text", "I have overrided the text"),
render: boolean("Show Main Headline", true),
},
sub_headline: {
render: boolean("Show Sub Headline", true),
},
hero_video: {
render: boolean("Show Hero Video", true),
},
cta_button: {
render: boolean("Show Button (If Present)", true),
},
};
return (
<>
>
);
};