/** * WordPress dependencies */ import { useSelect, useDispatch } from '@safe-wordpress/data'; import { NoticeList } from '@safe-wordpress/components'; import { _x } from '@safe-wordpress/i18n'; import { store as NOTICES } from '@safe-wordpress/notices'; /** * External dependencies */ import { isEmpty } from '@nab/utils'; /** * Internal dependencies */ import { ActionButton } from '../action-button'; import './style.scss'; import type { Settings } from '../../types'; import Image from '../../../../../images/screen-recording.svg'; type LayoutProps = { readonly settings: Settings; }; export const Layout = ( { settings }: LayoutProps ): JSX.Element => { const notices = useNotices(); const { removeNotice } = useDispatch( NOTICES ); return ( <> { ! isEmpty( notices ) && ( ) }

{ _x( 'Nelio Session Recordings', 'text', 'nelio-ab-testing' ) }

{ _x( 'See what your visitors see', 'text', 'nelio-ab-testing' ) }

{ _x( 'Put yourself in your customers’ shoes. Watch recordings of actual visitors using your website to learn the truth about their behavior and why they don’t take the action you want them to.', 'user', 'nelio-ab-testing' ) }

); }; // ===== // HOOKS // ===== const useNotices = () => useSelect( ( select ) => select( NOTICES ).getNotices(), [] );