mirror of
https://github.com/2930134478/AI-CS.git
synced 2026-06-15 00:44:30 +08:00
新增交流群
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
- [Documentation](#documentation)
|
||||
- [FAQ & Troubleshooting](#faq--troubleshooting)
|
||||
- [Star History](#star-history)
|
||||
- [Community](#community)
|
||||
- [Friendly Links](#friendly-links)
|
||||
- [Contributing](#contributing)
|
||||
- [License](#license)
|
||||
@@ -170,6 +171,13 @@ Paste before `</body>`. Point iframe `src` to `https://your-domain/chat`. The pa
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
<a id="community"></a>
|
||||
|
||||
## Community
|
||||
|
||||
- **Bugs / feature requests**:[GitHub Issues](https://github.com/2930134478/AI-CS/issues) (include deployment method and logs; never post API keys or DB passwords)
|
||||
- **QQ group**:1106804464. It appears in the [demo site footer](https://demo.cscorp.top) under Contact.
|
||||
|
||||
## Friendly Links
|
||||
|
||||
- [Live demo](https://demo.cscorp.top)
|
||||
|
||||
@@ -26,6 +26,7 @@
|
||||
- [相关文档](#docs)
|
||||
- [常见问题与排障](#faq)
|
||||
- [Star History](#star-history)
|
||||
- [交流与反馈](#community)
|
||||
- [Friendly Links](#friendly-links)
|
||||
- [贡献](#contributing)
|
||||
- [许可证](#license)
|
||||
@@ -334,6 +335,13 @@ npm run dev
|
||||
</picture>
|
||||
</a>
|
||||
|
||||
<a id="community"></a>
|
||||
|
||||
## 交流与反馈
|
||||
|
||||
- **Bug / 功能建议**:[GitHub Issues](https://github.com/2930134478/AI-CS/issues)(请附部署方式、后端日志;勿贴 API Key、数据库密码)
|
||||
- **QQ 交流群**:在 `frontend/lib/website-config.ts` 填写 `contact.qqGroupNumber`(可选 `contact.qqGroupJoinUrl` 加群链接)后,[官网 / Demo 页脚](https://demo.cscorp.top)「联系我们」会同步展示
|
||||
|
||||
## Friendly Links
|
||||
|
||||
- [在线演示 · AI-CS Demo](https://demo.cscorp.top)
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
"use client";
|
||||
|
||||
import Link from "next/link";
|
||||
import { Github, Mail, MessageSquare } from "lucide-react";
|
||||
import { Github, Mail, MessageSquare, Users } from "lucide-react";
|
||||
import { websiteConfig } from "@/lib/website-config";
|
||||
import { useI18n } from "@/lib/i18n/provider";
|
||||
|
||||
@@ -113,6 +113,26 @@ export function Footer() {
|
||||
</a>
|
||||
</li>
|
||||
) : null}
|
||||
{websiteConfig.contact.qqGroupNumber ? (
|
||||
<li className="flex items-center space-x-2 text-muted-foreground">
|
||||
<Users className="h-4 w-4 shrink-0" />
|
||||
{websiteConfig.contact.qqGroupJoinUrl ? (
|
||||
<a
|
||||
href={websiteConfig.contact.qqGroupJoinUrl}
|
||||
target="_blank"
|
||||
rel="noopener noreferrer"
|
||||
aria-label={t("footer.qqGroupAria")}
|
||||
className="transition-colors hover:text-foreground"
|
||||
>
|
||||
{t("footer.qqGroup")}: {websiteConfig.contact.qqGroupNumber}
|
||||
</a>
|
||||
) : (
|
||||
<span>
|
||||
{t("footer.qqGroup")}: {websiteConfig.contact.qqGroupNumber}
|
||||
</span>
|
||||
)}
|
||||
</li>
|
||||
) : null}
|
||||
<li className="flex items-center space-x-2 text-muted-foreground">
|
||||
<Github className="h-4 w-4" />
|
||||
<a
|
||||
|
||||
@@ -103,6 +103,8 @@ export type I18nKey =
|
||||
| "footer.poweredBy"
|
||||
| "footer.allRightsReserved"
|
||||
| "footer.emailLabel"
|
||||
| "footer.qqGroup"
|
||||
| "footer.qqGroupAria"
|
||||
| "agent.page.dashboard"
|
||||
| "agent.page.internalChat"
|
||||
| "agent.page.knowledge"
|
||||
@@ -648,6 +650,8 @@ export const DICT: Record<Lang, Record<I18nKey, string>> = {
|
||||
"footer.poweredBy": "Powered by Next.js & Go |",
|
||||
"footer.allRightsReserved": "保留所有权利。",
|
||||
"footer.emailLabel": "邮箱",
|
||||
"footer.qqGroup": "QQ 交流群",
|
||||
"footer.qqGroupAria": "加入 QQ 交流群",
|
||||
"agent.page.dashboard": "对话",
|
||||
"agent.page.internalChat": "知识库测试",
|
||||
"agent.page.knowledge": "知识库",
|
||||
@@ -1211,6 +1215,8 @@ export const DICT: Record<Lang, Record<I18nKey, string>> = {
|
||||
"footer.poweredBy": "Powered by Next.js & Go |",
|
||||
"footer.allRightsReserved": "All rights reserved.",
|
||||
"footer.emailLabel": "Email",
|
||||
"footer.qqGroup": "QQ group",
|
||||
"footer.qqGroupAria": "Join QQ group",
|
||||
"agent.page.dashboard": "Chats",
|
||||
"agent.page.internalChat": "KB Test",
|
||||
"agent.page.knowledge": "Knowledge Base",
|
||||
|
||||
@@ -19,6 +19,10 @@ export const websiteConfig = {
|
||||
contact: {
|
||||
email: "contact@example.com", // 可选:邮箱地址
|
||||
wechat: "", // 可选:微信号或微信群链接
|
||||
/** QQ 交流群号(纯数字或展示文案);留空则页脚不显示 */
|
||||
qqGroupNumber: "",
|
||||
/** 可选:一键加群链接(如 https://qm.qq.com/q/xxxxx ),有则页脚可点击 */
|
||||
qqGroupJoinUrl: "",
|
||||
},
|
||||
|
||||
// 友情链接(用于互相引流)
|
||||
|
||||
Reference in New Issue
Block a user