Skip to content

Commit

Permalink
feat: add the page of release notes (#559)
Browse files Browse the repository at this point in the history
* feat: init release page

* feat: tewak the release notes page

* chore: add mult-language for the release notes
  • Loading branch information
xingwanying authored Dec 4, 2024
1 parent 3d3fbc2 commit 9deebc1
Show file tree
Hide file tree
Showing 22 changed files with 392 additions and 204 deletions.
1 change: 1 addition & 0 deletions client/.kiwi/en/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default {
' is an intelligent Q&A bot solution which designed for community maintainers and developers.',
xiaoMaoMiZhuNi: 'Conquer GitHub with kitten power',
wenDang: 'Documentation',
release: 'Release Notes',
gongZuoTai: 'Workspace',
yanShiAnLi: 'Showcase',
},
Expand Down
2 changes: 2 additions & 0 deletions client/.kiwi/en/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import components from './components';
import edit from './edit';
import utils from './utils';
import app from './app';
import release from './release';
import DeployBotModal from './DeployBotModal';

export default Object.assign(
Expand All @@ -11,6 +12,7 @@ export default Object.assign(
app,
utils,
edit,
release,
DeployBotModal,
},
);
13 changes: 13 additions & 0 deletions client/.kiwi/en/release.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default {
page: {
zuiXinChanPinXin:
'Get the latest product news to stay updated when new features are released',
guanZhu: 'Follow',
xiaoMaoMiJiQi:
'The Little Kitty robot made its debut at the Shanghai Bund Conference, supporting the open-source community with Q&A scenarios',
waiTanDaHuiShou: 'First release at the Bund Conference',
quanLianLuGuoJi:
'Full-link internationalization support, added mobile adaptation for the official website, and productization of multi-platform integration links',
guoJiHuaZhiChi: 'Internationalization Support',
},
};
1 change: 1 addition & 0 deletions client/.kiwi/ja/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default {
'これはコミュニティのメンテナーと開発者のために作られたQ&Aボットソリューションです',
xiaoMaoMiZhuNi: 'Peter CatがあなたのGithub攻略を手助けします',
wenDang: 'ドキュメント',
release: '更新ログ',
gongZuoTai: '作業台',
yanShiAnLi: 'デモケース',
},
Expand Down
2 changes: 2 additions & 0 deletions client/.kiwi/ja/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import components from './components';
import edit from './edit';
import utils from './utils';
import app from './app';
import release from './release';
import DeployBotModal from './DeployBotModal';

export default Object.assign(
Expand All @@ -11,6 +12,7 @@ export default Object.assign(
app,
utils,
edit,
release,
DeployBotModal,
},
);
13 changes: 13 additions & 0 deletions client/.kiwi/ja/release.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default {
page: {
zuiXinChanPinXin:
'新しい機能がリリースされたときに最新情報を取得するための最新の製品ニュース',
guanZhu: 'フォロー',
xiaoMaoMiJiQi:
'子猫ロボットが上海外灘カンファレンスで初登場し、オープンソースコミュニティのQ&Aシナリオを支援',
waiTanDaHuiShou: '外灘カンファレンスで初公開',
quanLianLuGuoJi:
'フルリンク国際化サポート、公式サイトのモバイル端末対応を追加し、マルチプラットフォーム統合リンクの製品化',
guoJiHuaZhiChi: '国際化サポート',
},
};
1 change: 1 addition & 0 deletions client/.kiwi/ko/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ export default {
'커뮤니티 유지보수자와 개발자를 위한 스마트 Q&A 봇 솔루션입니다.',
xiaoMaoMiZhuNi: 'Peter Cat이 당신의 Github 정복을 도와줍니다',
wenDang: '문서',
release: '업데이트 로그',
gongZuoTai: '작업대',
yanShiAnLi: '데모 사례',
},
Expand Down
2 changes: 2 additions & 0 deletions client/.kiwi/ko/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import components from './components';
import edit from './edit';
import utils from './utils';
import app from './app';
import release from './release';
import DeployBotModal from './DeployBotModal';

export default Object.assign(
Expand All @@ -11,6 +12,7 @@ export default Object.assign(
app,
utils,
edit,
release,
DeployBotModal,
},
);
13 changes: 13 additions & 0 deletions client/.kiwi/ko/release.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default {
page: {
zuiXinChanPinXin:
'새로운 기능이 출시될 때 최신 정보를 얻을 수 있는 최신 제품 뉴스',
guanZhu: '팔로우',
xiaoMaoMiJiQi:
'작은 고양이 로봇이 상하이 와이탄 컨퍼런스에서 처음으로 모습을 드러내며 오픈 소스 커뮤니티의 Q&A 시나리오를 지원',
waiTanDaHuiShou: '와이탄 컨퍼런스에서 최초 공개',
quanLianLuGuoJi:
'전체 링크 국제화 지원, 공식 웹사이트의 모바일 버전 지원 추가, 다중 플랫폼 통합 링크 제품화',
guoJiHuaZhiChi: '국제화 지원',
},
};
1 change: 1 addition & 0 deletions client/.kiwi/zh-CN/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default {
shiZhuanWeiSheQu: '是专为社区维护者和开发者打造的智能答疑机器人解决方案',
xiaoMaoMiZhuNi: '小猫咪助你征服 Github',
wenDang: '文档',
release: '更新日志',
gongZuoTai: '工作台',
yanShiAnLi: '演示案例',
},
Expand Down
19 changes: 12 additions & 7 deletions client/.kiwi/zh-CN/index.ts
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
import components from './components';
import release from './release';
import DeployBotModal from './DeployBotModal';
import edit from './edit';
import utils from './utils';
import app from './app';

export default Object.assign({}, {
components,
app,
utils,
edit,
DeployBotModal,
});
export default Object.assign(
{},
{
components,
app,
utils,
edit,
DeployBotModal,
release,
},
);
11 changes: 11 additions & 0 deletions client/.kiwi/zh-CN/release.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default {
page: {
zuiXinChanPinXin: '最新产品新闻, 以便在新版能力发布时获取最新信息',
guanZhu: '关注',
xiaoMaoMiJiQi: '小猫咪机器人首次亮相上海外滩大会,助力开源社区答疑场景',
waiTanDaHuiShou: '外滩大会首次发布',
quanLianLuGuoJi:
'全链路国际化支持,增加官网移动端适配,多平台集成链路产品化',
guoJiHuaZhiChi: '国际化支持',
},
};
1 change: 1 addition & 0 deletions client/.kiwi/zh-TW/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ export default {
shiZhuanWeiSheQu: '是專為社區維護者和開發者打造的智能答疑機器人解決方案',
xiaoMaoMiZhuNi: '小貓咪助你征服 Github',
wenDang: '文檔',
release: '更新日誌',
gongZuoTai: '工作台',
yanShiAnLi: '演示案例',
},
Expand Down
2 changes: 2 additions & 0 deletions client/.kiwi/zh-TW/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import components from './components';
import edit from './edit';
import utils from './utils';
import app from './app';
import release from './release';
import DeployBotModal from './DeployBotModal';

export default Object.assign(
Expand All @@ -11,6 +12,7 @@ export default Object.assign(
app,
utils,
edit,
release,
DeployBotModal,
},
);
11 changes: 11 additions & 0 deletions client/.kiwi/zh-TW/release.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
export default {
page: {
zuiXinChanPinXin: '最新產品新聞,以便在新版能力發布時獲取最新信息',
guanZhu: '關注',
xiaoMaoMiJiQi: '小貓咪機器人首次亮相上海外灘大會,助力開源社區答疑場景',
waiTanDaHuiShou: '外灘大會首次發布',
quanLianLuGuoJi:
'全鏈路國際化支持,增加官網移動端適配,多平台集成鏈路產品化',
guoJiHuaZhiChi: '國際化支持',
},
};
8 changes: 8 additions & 0 deletions client/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@
@tailwind components;
@tailwind utilities;

@font-face {
font-family: 'Solitreo';
src: url('https://mdn.alipayobjects.com/huamei_j8gzmo/afts/file/A*o3yfRIN_sHgAAAAAAAAAAAAADrPSAQ/Solitreo-Regular.ttf') format('truetype');
font-weight: normal;
font-style: normal;
}

html {
background-color: #000 !important;
}
Expand Down Expand Up @@ -239,3 +246,4 @@ div.fp-watermark {
}

}

3 changes: 2 additions & 1 deletion client/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ export default function RootLayout({
<BotProvider>
{pathname === '/' ||
pathname === '/policy' ||
pathname === '/agreement' ? (
pathname === '/agreement' ||
pathname === '/release' ? (
children
) : (
<div className="flex flex-col bg-[#F3F4F6] min-h-screen">
Expand Down
Loading

0 comments on commit 9deebc1

Please sign in to comment.