Add TopBar with Beamer

[MAILPOET-4533]
This commit is contained in:
David Remer
2022-09-12 11:15:06 +03:00
committed by Jan Jakeš
parent 6a9e8abb88
commit 31a5c20af8

View File

@@ -7,6 +7,7 @@ import { workflowTemplates } from './config';
import { TemplateListItem } from './components/template-list-item'; import { TemplateListItem } from './components/template-list-item';
import { initializeApi } from '../api'; import { initializeApi } from '../api';
import { PremiumModal } from '../../common/premium_modal'; import { PremiumModal } from '../../common/premium_modal';
import { TopBarWithBeamer } from '../../common/top_bar/top_bar';
function Templates(): JSX.Element { function Templates(): JSX.Element {
const [showModal, setShowModal] = useState(false); const [showModal, setShowModal] = useState(false);
@@ -21,6 +22,7 @@ function Templates(): JSX.Element {
}, []); }, []);
return ( return (
<> <>
<TopBarWithBeamer />
<h1>{__('Choose your automation template', 'mailpoet')}</h1> <h1>{__('Choose your automation template', 'mailpoet')}</h1>
<Button onClick={() => onClickScratchButton()}> <Button onClick={() => onClickScratchButton()}>
{__('From scratch test', 'mailpoet')} {__('From scratch test', 'mailpoet')}