|
|
|
|
@ -427,7 +427,7 @@ var HeaderComponents = function HeaderComponents(_ref) {
|
|
|
|
|
var pathname = window.location.pathname;
|
|
|
|
|
var bool = pathname === null || pathname === void 0 ? void 0 : pathname.includes('/forums');
|
|
|
|
|
var qs = competitions.qs;
|
|
|
|
|
var Url = "https://app-kyxt.pcl.ac.cn"; //`http://10.16.22.23:43001` || `https://code-kyxt.pcl.ac.cn` ||`https://app-kyxt.pcl.ac.cn`
|
|
|
|
|
var Url = "https://openi.pcl.ac.cn"; //`http://10.16.22.23:43001` || `https://code-kyxt.pcl.ac.cn` ||`https://app-kyxt.pcl.ac.cn`
|
|
|
|
|
|
|
|
|
|
if (globalSetting.showHeader && globalSetting.showHeaderFooter) {
|
|
|
|
|
return /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
@ -475,13 +475,13 @@ var HeaderComponents = function HeaderComponents(_ref) {
|
|
|
|
|
href: "".concat(Url, "/explore/datasets"),
|
|
|
|
|
children: '数据集'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
href: "".concat(Url, "/login/oauth/authorize?client_id=cf278592-4023-4073-9fb4-5f581190b98d&redirect_uri=https://app-kyxt.pcl.ac.cn/auth/openi/login&response_type=code&state=STATE"),
|
|
|
|
|
href: "".concat(Url, "/login/oauth/authorize?client_id=5109524b-c405-4809-8bdf-dc4ceb713064&redirect_uri=https://app-kyxt.pcl.ac.cn/auth/openi/login&response_type=code&state=STATE"),
|
|
|
|
|
children: '论坛'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
href: "".concat(Url, "/login/oauth/authorize?client_id=cf278592-4023-4073-9fb4-5f581190b98d&redirect_uri=https://app-kyxt.pcl.ac.cn/auth/openi/login&response_type=code&state=STATE&redirect_type=shixuns "),
|
|
|
|
|
href: "".concat(Url, "/login/oauth/authorize?client_id=5109524b-c405-4809-8bdf-dc4ceb713064&redirect_uri=https://app-kyxt.pcl.ac.cn/auth/openi/login&response_type=code&state=STATE&redirect_type=shixuns"),
|
|
|
|
|
children: '实训'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
href: "".concat(Url, "/login/oauth/authorize?client_id=cf278592-4023-4073-9fb4-5f581190b98d&redirect_uri=https://app-kyxt.pcl.ac.cn/auth/openi/login&response_type=code&state=STATE&redirect_type=competitions"),
|
|
|
|
|
href: "".concat(Url, "/login/oauth/authorize?client_id=5109524b-c405-4809-8bdf-dc4ceb713064&redirect_uri=https://app-kyxt.pcl.ac.cn/auth/openi/login&response_type=code&state=STATE&redirect_type=competitions"),
|
|
|
|
|
children: '竞赛'
|
|
|
|
|
}), /*#__PURE__*/(0,jsx_runtime.jsx)("a", {
|
|
|
|
|
href: "https://data-kyxt.pcl.ac.cn/custom/login",
|