From f933de274f8ffb58d743c4aae6c57b0fe7d7a957 Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Fri, 24 May 2024 16:30:27 +0800 Subject: [PATCH 1/2] Add discord link Signed-off-by: Carson Yang --- projects/fastgpt/README-zh.md | 77 ------------------------------- projects/fastgpt/README.md | 78 -------------------------------- projects/fastgpt/config/site.ts | 12 ++++- projects/fastgpt/locales/en.json | 4 +- projects/fastgpt/locales/zh.json | 4 +- 5 files changed, 15 insertions(+), 160 deletions(-) delete mode 100644 projects/fastgpt/README-zh.md delete mode 100644 projects/fastgpt/README.md diff --git a/projects/fastgpt/README-zh.md b/projects/fastgpt/README-zh.md deleted file mode 100644 index e023cd2..0000000 --- a/projects/fastgpt/README-zh.md +++ /dev/null @@ -1,77 +0,0 @@ -🌍 *[英文](README.md) ∙ [简体中文](README-zh.md)* - -# [Landing page boilerplate](https://landingpage.weijunext.com/) - -这是一个通用的落地页模板,适合各种项目和营销活动。 - -演示地址:https://landingpage.weijunext.com - -文章: -[我为独立开发者开发落地页模板(一)](https://juejin.cn/post/7344567650457010191) -[我为独立开发者开发落地页模板(二)](https://juejin.cn/post/7350200488455520267) - -[![Landing page boilerplate](./public/og.png)](https://landingpage.weijunext.com/) - - -## 技术栈 - -Landing page boilerplate 基于以下技术栈构建: - -- Next.js – 前端 -- TailwindCSS – 样式 -- Google Analytics -- Vercel - 托管 - - -## 本地运行 - -克隆仓库后,您需要复制 `.env.example` 文件来创建一个 `.env` 文件,并填写所需字段。 - -然后,在命令行中运行应用程序,它将在 `http://localhost:3000` 上可用。 - -```bash -npm run dev -``` - -## 创建你的项目 - -修改以下文件: -- `.env` or `.env.example` -- `config/site.ts`, 填写你的网站信息 -- `public`, 修改 logo 文件 -- `public/robots.txt` - - -## 一键部署 - -使用 Vercel 或 Zeabur 部署: - -[![使用 Vercel 部署](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/weijunext/landing-page-boilerplate&project-name=&repository-name=landing-page-boilerplate&demo-title=LandingPageBoilerplate&demo-description=Landing%20page%20boilerplate.&demo-url=https://landingpage.weijunext.com&demo-image=https://landingpage.weijunext.com/og.png) - - - -[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/D92G1L) - -## 关于我 - -**Full-Stack Engineer, Open-Source Next.js Artist & AI Enthusiast.** - -**全栈工程师,Next.js 开源手艺人,AI降临派。** - -[博客](https://weijunext.com) -[Github](https://github.com/weijunext) -[Twitter/X](https://twitter.com/weijunext) -[Medium](https://medium.com/@weijunext) -[掘金](https://juejin.cn/user/26044008768029) -[知乎](https://www.zhihu.com/people/mo-mo-mo-89-12-11) -[微信交流群](https://weijunext.com/make-a-friend) - - -如果这个项目对您有帮助,请给仓库点个star,能赞助一下就更好了👇 - -请我喝咖啡 - - -在爱发电支持我 - -赞赏作者 \ No newline at end of file diff --git a/projects/fastgpt/README.md b/projects/fastgpt/README.md deleted file mode 100644 index e746033..0000000 --- a/projects/fastgpt/README.md +++ /dev/null @@ -1,78 +0,0 @@ -🌍 *[English](README.md) ∙ [简体中文](README-zh.md)* - - -# [Landing page boilerplate](https://landingpage.weijunext.com/) - -A versatile landing page boilerplate, ideal for various projects and marketing campaigns. - -Demo address:https://landingpage.weijunext.com - -Blog: -[我为独立开发者开发落地页模板(一)](https://juejin.cn/post/7344567650457010191) -[我为独立开发者开发落地页模板(二)](https://juejin.cn/post/7350200488455520267) - -[![Landing page boilerplate](./public/og.png)](https://landingpage.weijunext.com/) - -## Tech Stack - -Landing page boilerplate is built on the following stack: - -- Next.js – Frontend/Backend -- TailwindCSS – Styles -- Google Analytics -- Vercel - Hosting - - - -## Running Locally - -After cloning the repo, you need to copy the `.env.example` file to create a `.env` file and fill in the required fields. - -Then, run the application in the command line and it will be available at `http://localhost:3000`. - -```bash -npm run dev -``` - -## Build Your Project - -Edit these files: -- `.env` or `.env.local` -- `config/site.ts`, fill in your website information. -- `public`, change logo file -- `public/robots.txt` -- `app/sitemap.ts` - - - -## One-Click Deploy - -Deploy the example using Vercel or Zeabur: - -[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/weijunext/landing-page-boilerplate&project-name=&repository-name=landing-page-boilerplate&demo-title=LandingPageBoilerplate&demo-description=Landing%20page%20boilerplate.&demo-url=https://landingpage.weijunext.com&demo-image=https://landingpage.weijunext.com/og.png) - -[![Deploy on Zeabur](https://zeabur.com/button.svg)](https://zeabur.com/templates/D92G1L) - -## About Me - -**Full-Stack Engineer, Open-Source Next.js Artist & AI Enthusiast.** - -**全栈工程师,Next.js 开源手艺人,AI降临派。** - -[My Blog](https://weijunext.com) -[Github](https://github.com/weijunext) -[Twitter/X](https://twitter.com/weijunext) -[Twitter/X - En](https://twitter.com/wayne_dev) -[Medium](https://medium.com/@weijunext) -[掘金](https://juejin.cn/user/26044008768029) -[知乎](https://www.zhihu.com/people/mo-mo-mo-89-12-11) -[微信交流群](https://weijunext.com/make-a-friend) - -If this project is helpful to you, star the repo and buy be a coffee, thank you. - -Buy Me A Coffee - - -在爱发电支持我 - -赞赏作者 \ No newline at end of file diff --git a/projects/fastgpt/config/site.ts b/projects/fastgpt/config/site.ts index c52d0b8..957922b 100644 --- a/projects/fastgpt/config/site.ts +++ b/projects/fastgpt/config/site.ts @@ -1,5 +1,5 @@ import { SiteConfig } from '@/types/siteConfig'; -import { BsGithub, BsTwitterX, BsWechat } from 'react-icons/bs'; +import { BsGithub, BsTwitterX, BsWechat, BsDiscord } from 'react-icons/bs'; import { MdEmail } from 'react-icons/md'; import { SiBuymeacoffee, SiJuejin } from 'react-icons/si'; @@ -35,6 +35,11 @@ const baseSiteConfig = { }, headerLinks: [ { name: 'repo', href: OPEN_SOURCE_URL, icon: BsGithub }, + { + name: 'Discord', + href: 'https://discord.gg/mp68xkZn2Q', + icon: BsDiscord + }, { name: 'weChat', href: 'https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg', @@ -44,6 +49,11 @@ const baseSiteConfig = { footerLinks: [ { name: 'email', href: 'mailto:cloud-native-yang@sealos.io', icon: MdEmail }, { name: 'github', href: 'https://github.com/labring/FastGPT', icon: BsGithub }, + { + name: 'Discord', + href: 'https://discord.gg/mp68xkZn2Q', + icon: BsDiscord + }, { name: 'weChat', href: 'https://oss.laf.run/htr4n1-images/fastgpt-qr-code.jpg', diff --git a/projects/fastgpt/locales/en.json b/projects/fastgpt/locales/en.json index 5edb538..f198255 100644 --- a/projects/fastgpt/locales/en.json +++ b/projects/fastgpt/locales/en.json @@ -51,9 +51,9 @@ "CTA": { "title": "Start Building Your Domain-Specific Knowledge Base Now", "description1": "Create", - "description2": "your own AI-powered customer support,", + "description2": " your own AI-powered customer support, ", "description3": "integrate it with", - "description4": "your products, and ", + "description4": " your products, and ", "description5": "accelerate", "description6": " your growth today!" }, diff --git a/projects/fastgpt/locales/zh.json b/projects/fastgpt/locales/zh.json index b58d84d..f8cfd20 100644 --- a/projects/fastgpt/locales/zh.json +++ b/projects/fastgpt/locales/zh.json @@ -55,9 +55,9 @@ "CTA": { "title": "立即构建您的专有领域知识库", "description1": "构建", - "description2": "您的专属 AI 客服,", + "description2": " 您的专属 AI 客服,", "description3": "接入", - "description4": "您的产品,并开始", + "description4": " 您的产品,并开始 ", "description5": "快速增长", "description6": "!" }, From a774a9f3b5113c07d252003f1f289a89817a443a Mon Sep 17 00:00:00 2001 From: Carson Yang Date: Tue, 30 Jul 2024 17:06:40 +0800 Subject: [PATCH 2/2] Fix workflow for building oci image Signed-off-by: Carson Yang --- .github/workflows/fastgpt-home-image.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/fastgpt-home-image.yml b/.github/workflows/fastgpt-home-image.yml index e075899..06eb4ce 100644 --- a/.github/workflows/fastgpt-home-image.yml +++ b/.github/workflows/fastgpt-home-image.yml @@ -5,7 +5,7 @@ on: paths: - 'projects/fastgpt/**' branches: - - 'main + - 'main' jobs: build-fastgpt-landingpage-images: @@ -16,7 +16,8 @@ jobs: - name: Get current date and time id: datetime - run: echo "datetime=$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_OUTPUT" + run: |- + echo "datetime=$(date +'%Y%m%d%H%M%S')" >> "$GITHUB_OUTPUT" - name: Docker meta id: meta