import { t } from '../../../../i18n';
import { Element } from '@tempi/core-editor';
import {
getColWidthProps,
ParagraphEditor,
WebsiteFooterEditor,
ColEditor,
RowEditor,
ListItemEditorV2,
ListItemIconEditorV2,
Position,
ListItemContentEditorV2,
FormV4Editor,
ButtonSubmitV3Editor,
SocialIconEditor,
ImageEditor,
} from '@tempi/core-elements';
import { UnitEnum } from '@tempi/core-renderer';
export const getWebsiteFooter2 = () => {
const getTitleEditor = (text: string) => (
${text}
`}
commonStyle={{
margin: {
bottom: 20,
},
}}
/>
);
const getTextEditor = (text: string) => (
${text}`}
commonStyle={{
margin: {
bottom: 20,
},
}}
/>
);
const getListItemIconEditor = (iconName: string, text: string) => (
${text}`}
/>
);
const getFormEditor = () => (
${t('Gửi')}`}
buttonStyle={{
borderRadius: 999,
color: 'rgba(255, 255, 255, 1)',
height: 32,
width: 80,
background: 'rgba(115,103,240,1)',
}}
iconConfig={{
position: 'right',
spacing: 8,
show: true,
icon: {
name: 'DirectionAlternativeOutlined',
size: 20,
},
}}
/>
);
const getScoialIconEditor = () => (
);
const BCT_LOGO_IMAGE_URL = `https://lh3.googleusercontent.com/9bylrBU28f6FsaNPYZowE-eu0PkLiBxHwZ8pNt89buj0st60TbFYJLsQgtep6x8ZTe3_lQRZV5fUCsMVibF-G4A8OaNffQE`;
const getLogoEditor = () => (
);
return (
{getTitleEditor(t('CÔNG TY CỔ PHẦN ABC'))}
{getTextEditor(
t(
'Mã số thuế: 123456789 do Sở Kế hoạch và Đầu tư Thành phố ABC cấp ngày 01/01/2020',
),
)}
$
{getListItemIconEditor(
'HomepageAlternativeOutlined',
t('Đường ..., Phường ..., Quận ..., Thành phố ...'),
)}
{getListItemIconEditor('MailOutlined', 'abc@example.com')}
{getListItemIconEditor('PhoneOutlined', '0987654321')}
{getListItemIconEditor('PrinterOutlined', '+84 24 9999 9999')}
{getTitleEditor(t('HƯỚNG DẪN MUA HÀNG'))}
{getTextEditor(t('Hướng dẫn mua hàng'))}
{getTextEditor(t('Khu vực giao hàng'))}
{getTextEditor(t('Phương thức thanh toán'))}
{getTextEditor(t('Chính sách trả hàng và hoàn tiền'))}
{getTextEditor(t('Chính sách bảo mật thông tin'))}
{getTitleEditor(t('ĐĂNG KÝ NHẬN TIN'))}
{getFormEditor()}
{getScoialIconEditor()}
{getLogoEditor()}
);
};