This commit is contained in:
parent
059f2d7bb3
commit
78e8eece77
|
|
@ -12,6 +12,7 @@ import { LanguageSwitcher } from '@/components/ui/language-switcher'
|
||||||
|
|
||||||
export default function HomePage() {
|
export default function HomePage() {
|
||||||
const { theme } = useTheme()
|
const { theme } = useTheme()
|
||||||
|
const { t } = useTranslation()
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="flex size-full flex-col items-center justify-center relative">
|
<div className="flex size-full flex-col items-center justify-center relative">
|
||||||
|
|
@ -23,13 +24,13 @@ export default function HomePage() {
|
||||||
<ChatbotUISVG theme={theme === "dark" ? "dark" : "light"} scale={0.3} />
|
<ChatbotUISVG theme={theme === "dark" ? "dark" : "light"} scale={0.3} />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="mt-2 text-4xl font-bold">Chatbot UI</div>
|
<div className="mt-2 text-4xl font-bold">{t("Company Name")}</div>
|
||||||
|
|
||||||
<Link
|
<Link
|
||||||
className="mt-4 flex w-[200px] items-center justify-center rounded-md bg-blue-500 p-2 font-semibold"
|
className="mt-4 flex w-[200px] items-center justify-center rounded-md bg-blue-500 p-2 font-semibold"
|
||||||
href="/login"
|
href="/login"
|
||||||
>
|
>
|
||||||
Start Chatting
|
{t("Clock In")}
|
||||||
<IconArrowRight className="ml-1" size={20} />
|
<IconArrowRight className="ml-1" size={20} />
|
||||||
</Link>
|
</Link>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,5 @@
|
||||||
{
|
{
|
||||||
"Ask anything. Type \"/\" for prompts, \"@\" for files, and \"#\" for tools.": "Ask anything. Type \"/\" for prompts, \"@\" for files, and \"#\" for tools."
|
"Ask anything. Type \"/\" for prompts, \"@\" for files, and \"#\" for tools.": "Ask anything. Type \"/\" for prompts, \"@\" for files, and \"#\" for tools.",
|
||||||
}
|
"Company Name": "Jelly Drops LLC",
|
||||||
|
"Clock In": "Clock In"
|
||||||
|
}
|
||||||
|
|
@ -1,3 +1,6 @@
|
||||||
{
|
{
|
||||||
"Ask anything. Type \"/\" for prompts, \"@\" for files, and \"#\" for tools.": "随便问点什么。输入“/”查找提示,“@”查找文件,“#”查找工具。"
|
"Ask anything. Type \"/\" for prompts, \"@\" for files, and \"#\" for tools.": "随便问点什么。输入“/”查找提示,“@”查找文件,“#”查找工具。",
|
||||||
}
|
"Company Name": "深圳果冻移民咨询有限责任公司",
|
||||||
|
"Clock In": "打卡"
|
||||||
|
}
|
||||||
|
|
||||||
Loading…
Reference in New Issue