Skip to content

Commit

Permalink
fix docs link (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
zjy365 authored May 23, 2024
1 parent bb3c166 commit a193709
Show file tree
Hide file tree
Showing 7 changed files with 53 additions and 45 deletions.
74 changes: 41 additions & 33 deletions projects/fastgpt/config/site.ts
Original file line number Diff line number Diff line change
@@ -1,70 +1,78 @@
import { SiteConfig } from "@/types/siteConfig";
import { BsGithub, BsTwitterX, BsWechat } from "react-icons/bs";
import { MdEmail } from "react-icons/md";
import { SiBuymeacoffee, SiJuejin } from "react-icons/si";
import { SiteConfig } from '@/types/siteConfig';
import { BsGithub, BsTwitterX, BsWechat } from 'react-icons/bs';
import { MdEmail } from 'react-icons/md';
import { SiBuymeacoffee, SiJuejin } from 'react-icons/si';

const OPEN_SOURCE_URL = 'https://github.com/labring/FastGPT'
const OPEN_SOURCE_URL = 'https://github.com/labring/FastGPT';

const baseSiteConfig = {
name: "FastGPT",
name: 'FastGPT',
description:
"A free, open-source, and powerful AI knowledge base platform, offers out-of-the-box data processing, model invocation, RAG retrieval, and visual AI workflows. Easily build complex Q&A systems.",
url: "https://fastgpt.in",
ogImage: "https://landingpage.weijunext.com/og.png",
'A free, open-source, and powerful AI knowledge base platform, offers out-of-the-box data processing, model invocation, RAG retrieval, and visual AI workflows. Easily build complex Q&A systems.',
url: 'https://fastgpt.in',
ogImage: 'https://landingpage.weijunext.com/og.png',
metadataBase: '/',
keywords: ["rag", "ai", "workflow", "llm", "langchain", "gpt", "gpt4", "orchestration"],
commercial: "https://doc.fastai.site/docs/commercial/intro/",
keywords: ['rag', 'ai', 'workflow', 'llm', 'langchain', 'gpt', 'gpt4', 'orchestration'],
commercial: 'https://doc.fastgpt.in/docs/commercial/intro/',
authors: [
{
name: "labring",
url: "https://fastgpt.in",
twitter: 'https://github.com/labring/FastGPT',
name: 'labring',
url: 'https://fastgpt.in',
twitter: 'https://github.com/labring/FastGPT'
}
],
creator: '@fastgpt',
openSourceURL: 'https://github.com/labring/FastGPT',
themeColors: [
{ media: '(prefers-color-scheme: light)', color: 'white' },
{ media: '(prefers-color-scheme: dark)', color: 'black' },
{ media: '(prefers-color-scheme: dark)', color: 'black' }
],
nextThemeColor: 'dark', // next-theme option: system | dark | light
icons: {
icon: "/favicon.ico",
shortcut: "/favicon-16x16.png",
apple: "/logo.svg",
icon: '/favicon.ico',
shortcut: '/favicon-16x16.png',
apple: '/logo.svg'
},
headerLinks: [
{ name: 'repo', href: OPEN_SOURCE_URL, icon: BsGithub },
{ name: 'weChat', href: "https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg", icon: BsWechat }
{
name: 'weChat',
href: 'https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg',
icon: BsWechat
}
],
footerLinks: [
{ name: 'email', href: "mailto:[email protected]", icon: MdEmail },
{ name: 'github', href: "https://github.com/labring/FastGPT", icon: BsGithub },
{ name: 'weChat', href: "https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg", icon: BsWechat }
{ name: 'email', href: 'mailto:[email protected]', icon: MdEmail },
{ name: 'github', href: 'https://github.com/labring/FastGPT', icon: BsGithub },
{
name: 'weChat',
href: 'https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg',
icon: BsWechat
}
],
footerProducts: [
{ url: 'https://sealos.io', name: 'Sealos' },
{ url: 'https://doc.fastai.site', name: 'Docs' },
{ url: 'https://doc.fastai.site/docs/community/', name: 'Forum' },
{ url: 'https://uuhyahynnudq.hzh.sealos.run/status/in', name: 'Status' },
{ url: 'https://doc.fastgpt.in', name: 'Docs' },
{ url: 'https://doc.fastgpt.in/docs/community/', name: 'Forum' },
{ url: 'https://uuhyahynnudq.hzh.sealos.run/status/in', name: 'Status' }
]
}
};

export const siteConfig: SiteConfig = {
...baseSiteConfig,
openGraph: {
type: "website",
locale: "en_US",
type: 'website',
locale: 'en_US',
url: baseSiteConfig.url,
title: baseSiteConfig.name,
description: baseSiteConfig.description,
siteName: baseSiteConfig.name,
siteName: baseSiteConfig.name
},
twitter: {
card: "summary_large_image",
card: 'summary_large_image',
title: baseSiteConfig.name,
description: baseSiteConfig.description,
images: [`${baseSiteConfig.url}/og.png?${new Date().getTime()}`],
creator: baseSiteConfig.creator,
},
}
creator: baseSiteConfig.creator
}
};
8 changes: 4 additions & 4 deletions projects/fastgpt/locales/ar.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
{
"video": {
"speed": "سرعة التشغيل",
"normal": "عادي"
"normal": "عادي"
},
"links": [
{
"label": "الميزات",
"href": "#Ability"
},
{
"label": "الأسعار",
"label": "الأسعار",
"href": "#Pricing"
},
{
Expand All @@ -18,7 +18,7 @@
},
{
"label": "الوثائق",
"href": "https://doc.fastai.site/"
"href": "https://doc.fastgpt.in/"
}
],
"Hero": {
Expand Down Expand Up @@ -55,7 +55,7 @@
"description3": "ودمجه",
"description4": "مع منتجاتك،",
"description5": "وسرّع",
"description6":"نموك!"
"description6": "نموك!"
},
"CTAButton": {
"title": "ابدأ الآن"
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"label": "Docs",
"href": "https://doc.fastai.site/"
"href": "https://doc.fastgpt.in/"
}
],
"Hero": {
Expand Down
6 changes: 3 additions & 3 deletions projects/fastgpt/locales/es.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
{
"video": {
"speed": "Velocidad",
"speed": "Velocidad",
"normal": "Normal"
},
"links": [
{
"label": "Características",
"href": "#Ability"
"href": "#Ability"
},
{
"label": "Precios",
Expand All @@ -18,7 +18,7 @@
},
{
"label": "Documentación",
"href": "https://doc.fastai.site/"
"href": "https://doc.fastgpt.in/"
}
],
"Hero": {
Expand Down
4 changes: 2 additions & 2 deletions projects/fastgpt/locales/ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@
},
{
"label": "よくある質問",
"href": "#FAQ"
"href": "#FAQ"
},
{
"label": "ドキュメント",
"href": "https://doc.fastai.site/"
"href": "https://doc.fastgpt.in/"
}
],
"Hero": {
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/locales/ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"label": "Документация",
"href": "https://doc.fastai.site/"
"href": "https://doc.fastgpt.in/"
}
],
"Hero": {
Expand Down
2 changes: 1 addition & 1 deletion projects/fastgpt/locales/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
{
"label": "文档",
"href": "https://doc.fastai.site/"
"href": "https://doc.fastgpt.in/"
},
{
"label": "商务咨询",
Expand Down

0 comments on commit a193709

Please sign in to comment.