mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-08 16:46:37 +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.
20 lines
531 B
TypeScript
20 lines
531 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
import { LegalPageLayout } from '@/components/common/docs/legal-page-layout';
|
|
import {
|
|
TERMS_LAST_UPDATED,
|
|
getTermsSections,
|
|
} from '@/components/common/docs/terms';
|
|
|
|
export default async function TermsOfServicePage() {
|
|
const t = await getTranslations('docs');
|
|
|
|
return (
|
|
<LegalPageLayout
|
|
title={t('terms.title')}
|
|
lastUpdated={TERMS_LAST_UPDATED}
|
|
sections={getTermsSections(t)}
|
|
description={<span>{t('terms.description')}</span>}
|
|
/>
|
|
);
|
|
}
|