// #region [Imports] =================================================================================================== // Libraries import React from 'react'; import { Row, Col, Card, Button } from 'antd'; // CSS import './index.scss'; // Components import AdminHeader from '../../components/AdminHeader'; import FreeGuide from '../../components/FreeGuide'; // #endregion [Imports] // #region [Variables] ================================================================================================= declare var acfwAdminApp: any; declare var acfwpElements: any; // #endregion [Variables] // #region [Interfaces]================================================================================================= interface IHelpCard { title: string; content: string; action: IHelpCardAction; } interface IHelpCardAction { link: string; text: string; } // #endregion [Interfaces] // #region [Component] ================================================================================================= const Help = () => { const { help_page: { title, desc, cards }, } = acfwAdminApp; const { HelpPremium } = acfwpElements; return (
{cards.map((card: IHelpCard, key: number) => (

{card.title}

{card.content}

))}
{HelpPremium ? : null}
); }; export default Help; // #endregion [Component]