feat(web): add Privacy Policy and Terms of Service pages

- Create /chinh-sach-bao-mat (Privacy Policy) with 10 sections
- Create /dieu-khoan-su-dung (Terms of Service) with 11 sections
- Add legal link group to footer (vi + en i18n)
- Add legalLinks prop to Footer for bottom-bar display
- Wire links into public layout

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
Ho Ngoc Hai
2026-04-24 00:50:55 +07:00
parent bafc3ddc2f
commit 579856795a
9 changed files with 588 additions and 8 deletions

View File

@@ -117,6 +117,13 @@ export default function PublicLayout({ children }: { children: React.ReactNode }
{ label: t('common.register'), href: '/register' },
],
},
{
title: t('footer.legal'),
links: [
{ label: t('footer.privacyPolicy'), href: '/chinh-sach-bao-mat' },
{ label: t('footer.termsOfService'), href: '/dieu-khoan-su-dung' },
],
},
];
return (
@@ -163,6 +170,10 @@ export default function PublicLayout({ children }: { children: React.ReactNode }
description={t('footer.description')}
linkGroups={footerLinkGroups}
copyright={t('common.allRightsReserved')}
legalLinks={[
{ label: t('footer.privacyPolicy'), href: '/chinh-sach-bao-mat' },
{ label: t('footer.termsOfService'), href: '/dieu-khoan-su-dung' },
]}
contact={{
address: 'TP. Hồ Chí Minh, Việt Nam',
phone: '1900 xxxx',