mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-03 23:06:36 +08:00
9f15f42b47
Document that NEXT_PUBLIC_WAVELET_BACKEND_URL must stay unset for local next dev so axios hits /api/* and Next rewrites proxy to the backend.
24 lines
708 B
TypeScript
24 lines
708 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
import { LegalPageLayout } from '@/components/common/docs/legal-page-layout';
|
|
import { getPrivacySections } from '@/components/common/docs/privacy';
|
|
import { TERMS_LAST_UPDATED } from '@/components/common/docs/terms';
|
|
|
|
export default async function PrivacyPolicyPage() {
|
|
const t = await getTranslations('docs');
|
|
|
|
return (
|
|
<LegalPageLayout
|
|
title={t('privacy.title')}
|
|
lastUpdated={TERMS_LAST_UPDATED}
|
|
sections={getPrivacySections(t)}
|
|
description={
|
|
<span>
|
|
{t('privacy.description')}
|
|
<br className='hidden md:block' />
|
|
{t('privacy.descriptionRights')}
|
|
</span>
|
|
}
|
|
/>
|
|
);
|
|
}
|