fix: localize self-hosting prerequisites
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import Link from "next/link";
|
||||
import Image from "next/image";
|
||||
import { getTranslations } from "next-intl/server";
|
||||
import { Server, Database, Key, Palette, Globe, Settings, Cpu } from "lucide-react";
|
||||
import DeepWikiIcon from "@/../public/deepwiki.svg";
|
||||
import Context7Icon from "@/../public/context7.svg";
|
||||
@@ -17,7 +18,9 @@ export const metadata = {
|
||||
description: "Deploy your own prompts.chat instance with customizable branding, themes, and authentication",
|
||||
};
|
||||
|
||||
export default function SelfHostingPage() {
|
||||
export default async function SelfHostingPage() {
|
||||
const t = await getTranslations("selfHosting");
|
||||
|
||||
return (
|
||||
<div className="container max-w-4xl py-10">
|
||||
<h1 className="text-2xl font-bold mb-2">Self-Hosting Guide</h1>
|
||||
@@ -110,9 +113,9 @@ export default function SelfHostingPage() {
|
||||
Prerequisites
|
||||
</h3>
|
||||
<ul className="list-disc list-inside text-muted-foreground space-y-1">
|
||||
<li>Node.js 24.x</li>
|
||||
<li>PostgreSQL database</li>
|
||||
<li>npm</li>
|
||||
<li>{t("prerequisites.nodeJs")}</li>
|
||||
<li>{t("prerequisites.postgresql")}</li>
|
||||
<li>{t("prerequisites.npm")}</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user