feat: Add Welcome page (#60)

*  feat: Implement chat interface, add session data selectors, and update pages

*  feat: 优化首页路由逻辑

* 💄 style: 优化 welcome 页面样式

* ♻️ refactor: 优化 chat 页面布局实现与样式

---------

Co-authored-by: arvinxx <arvinx@foxmail.com>
This commit is contained in:
CanisMinor
2023-08-11 23:49:07 +08:00
committed by GitHub
parent e8964184eb
commit 810ab0fe18
31 changed files with 550 additions and 73 deletions

View File

@@ -4,6 +4,7 @@
"401": "Sorry, the server has rejected your request. This may be due to insufficient permissions or invalid authentication.",
"403": "Sorry, the server has rejected your request. You do not have permission to access this content.",
"404": "Sorry, the server cannot find the page or resource you requested. Please make sure your URL is correct.",
"405": "Sorry, the server does not support the request method you are using. Please make sure your request method is correct.",
"429": "Sorry, your request is too frequent and the server is a bit tired. Please try again later.",
"500": "Sorry, the server seems to be experiencing some difficulties and is temporarily unable to complete your request. Please try again later.",
"502": "Sorry, the server seems to be lost and is temporarily unable to provide service. Please try again later.",

View File

@@ -1,4 +1,9 @@
{
"debug": {
"arguments": "Arguments",
"function_call": "Function Call",
"response": "Response"
},
"loading": {
"content": "Loading data...",
"plugin": "Plugin is running..."

View File

@@ -0,0 +1,14 @@
{
"button": {
"import": "Import Configuration",
"start": "Start Now"
},
"header": "Welcome",
"pickAgent": "Or choose from the following assistant templates",
"skip": "Skip Creation",
"slogan": {
"desc1": "Unlock the power of your brain and ignite your creativity. Your intelligent assistant is always here.",
"desc2": "Create your first assistant and let's get started~",
"title": "Give yourself a smarter brain"
}
}

View File

@@ -4,6 +4,7 @@
"401": "很抱歉,服务器拒绝了您的请求,可能是因为您的权限不足或未提供有效的身份验证",
"403": "很抱歉,服务器拒绝了您的请求,您没有访问此内容的权限 ",
"404": "很抱歉,服务器找不到您请求的页面或资源,请确认您的 URL 是否正确",
"405": "很抱歉,服务器不支持您使用的请求方法,请确认您的请求方法是否正确",
"429": "很抱歉,您的请求太多,服务器有点累了,请稍后再试",
"500": "很抱歉,服务器似乎遇到了一些困难,暂时无法完成您的请求,请稍后再试",
"502": "很抱歉,服务器似乎迷失了方向,暂时无法提供服务,请稍后再试",

View File

@@ -1,4 +1,9 @@
{
"debug": {
"arguments": "调用参数",
"function_call": "函数调用",
"response": "返回结果"
},
"loading": {
"content": "数据获取中...",
"plugin": "插件运行中..."

View File

@@ -0,0 +1,14 @@
{
"button": {
"import": "导入配置",
"start": "立即开始"
},
"header": "欢迎使用",
"pickAgent": "或从下列助手模板选择",
"skip": "跳过创建",
"slogan": {
"desc1": "开启大脑集群,激发思维火花。你的智能助理,一直都在。",
"desc2": "创建你的第一个助手,让我们开始吧~",
"title": "给自己一个更聪明的大脑"
}
}