Enhance bot and WebUI functionality with new features and environment updates
- Added support for new environment variables in `.env.example` for public site and legal operator information. - Integrated core commands into the bot's command structure for improved functionality. - Implemented a new `publishBotStatus` function to update bot status in Redis, enhancing monitoring capabilities. - Updated the landing page to include features, invite links, and support server access, improving user experience. - Enhanced localization with new keys for core commands and landing page elements in both English and German. - Improved error handling and logging for bot presence updates and status publishing.
This commit is contained in:
17
apps/webui/src/app/terms/page.tsx
Normal file
17
apps/webui/src/app/terms/page.tsx
Normal file
@@ -0,0 +1,17 @@
|
||||
import { LegalShell } from '@/components/site/legal-shell';
|
||||
import { getLocale, t } from '@/lib/i18n';
|
||||
|
||||
export default async function TermsPage() {
|
||||
const locale = await getLocale();
|
||||
|
||||
return (
|
||||
<LegalShell title={t(locale, 'legal.terms.title')}>
|
||||
<p className="text-sm text-amber-600 dark:text-amber-400">{t(locale, 'legal.scaffoldNotice')}</p>
|
||||
{['p1', 'p2', 'p3', 'p4'].map((key) => (
|
||||
<p key={key} className="text-sm text-muted-foreground">
|
||||
{t(locale, `legal.terms.${key}`)}
|
||||
</p>
|
||||
))}
|
||||
</LegalShell>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user