mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-03 15: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.
22 lines
670 B
TypeScript
22 lines
670 B
TypeScript
import { getTranslations } from 'next-intl/server';
|
|
import { LegalPageLayout } from '@/components/common/docs/legal-page-layout';
|
|
import { getHowToUseSections } from '@/components/common/docs/how-to-use';
|
|
import { DOCS_LAST_UPDATED } from '@/components/common/docs/api';
|
|
|
|
export default async function HowToUsePage() {
|
|
const t = await getTranslations('docs');
|
|
|
|
return (
|
|
<LegalPageLayout
|
|
title={t('howToUse.title')}
|
|
lastUpdated={DOCS_LAST_UPDATED}
|
|
sections={getHowToUseSections(t)}
|
|
description={
|
|
<p className='text-muted-foreground text-sm leading-relaxed'>
|
|
{t('howToUse.description')}
|
|
</p>
|
|
}
|
|
/>
|
|
);
|
|
}
|