From 624e35ce93f93b123f67b1dc7aba517e69273684 Mon Sep 17 00:00:00 2001
From: caishi <1149225589@qq.com>
Date: Sun, 27 Apr 2025 14:44:31 +0800
Subject: [PATCH] update title
---
public/index.html | 24 ++++++++++++------------
src/common/UrlTool.js | 4 ++--
src/common/util/ShareUtil.js | 2 +-
src/forge/Main/CoderDepot.jsx | 4 ++--
src/home/Index.jsx | 2 +-
5 files changed, 18 insertions(+), 18 deletions(-)
diff --git a/public/index.html b/public/index.html
index d38d9124d..5c3f54ab0 100755
--- a/public/index.html
+++ b/public/index.html
@@ -2,21 +2,21 @@
- 星云协同开发平台
+ 学位论文算法数据库
-
+
-
+
-
-
+
+
-
-
-
+
+
+
@@ -27,14 +27,14 @@
-
-
-
+
+
+
-
+
diff --git a/src/common/UrlTool.js b/src/common/UrlTool.js
index 7764bdc5d..6d4a07f5a 100644
--- a/src/common/UrlTool.js
+++ b/src/common/UrlTool.js
@@ -378,10 +378,10 @@ export function setDefaultMeta() {
document = domObj.window.document
}
document.querySelector(`title`).textContent = 'GitLink | 新一代开源创新服务平台';
- document.querySelector(`meta[property='og:title']`).content = '星云协同开发平台';
+ document.querySelector(`meta[property='og:title']`).content = '学位论文算法数据库';
document.querySelector(`meta[property='og:url']`).content = 'https://GitLink.org.cn/';
document.querySelector(`meta[property='og:description']`).content = 'GitLink 是一个新一代的开源创新服务平台,提供分布式协作开发、流水线运维、代码分析等功能,基于 Git 打造分布式代码托管环境。';
- document.querySelector(`meta[property='og:image:alt']`).content = '星云协同开发平台';
+ document.querySelector(`meta[property='og:image:alt']`).content = '学位论文算法数据库';
document.querySelector('meta[name="Keywords"]').content= 'GitLink, git, 开源, 代码托管, 项目管理, 版本控制, 代码分享, 项目协作, 协同开发平台';
document.querySelector(`meta[name='description']`).content = 'GitLink 是一个新一代的开源创新服务平台,提供分布式协作开发、流水线运维、代码分析等功能,基于 Git 打造分布式代码托管环境。';
document.querySelector(`meta[name='go-import']`).content ='GitLink.org.cn git https://GitLink.org.cn';
diff --git a/src/common/util/ShareUtil.js b/src/common/util/ShareUtil.js
index 44bcf4d3c..f2b0dbd7f 100644
--- a/src/common/util/ShareUtil.js
+++ b/src/common/util/ShareUtil.js
@@ -129,7 +129,7 @@ export function configShareForCustom (title, desc, imgUrl, path) {
console.log('configShareForCustom', host)
const _url = window.location.href.split('#')[0];
var shareData = {
- title: title || '星云协同开发平台',
+ title: title || '学位论文算法数据库',
desc: desc || '星云,新一代开源创新服务平台',
link: path ? `${host}/${path}` : _url,
imgUrl: imgUrl || host + '/build/images/share_logo_icon.png'
diff --git a/src/forge/Main/CoderDepot.jsx b/src/forge/Main/CoderDepot.jsx
index 68ea93e29..b37c6a6a0 100644
--- a/src/forge/Main/CoderDepot.jsx
+++ b/src/forge/Main/CoderDepot.jsx
@@ -130,9 +130,9 @@ function CoderDepot(props){
const { author, name, description, default_branch} = projectDetail;
if(branchName && branchName !== default_branch){
// 处于某分支/标签
- document.title = `${author.name}/${name}-${branchName} | 星云协同开发平台`;
+ document.title = `${author.name}/${name}-${branchName} | 学位论文算法数据库`;
}else{
- document.title = `${author.name}/${name}${description?': '+description:''} | 星云协同开发平台` ;
+ document.title = `${author.name}/${name}${description?': '+description:''} | 学位论文算法数据库` ;
}
}
}, [treeValuePath, projectDetail, branchName])
diff --git a/src/home/Index.jsx b/src/home/Index.jsx
index b4ead39b8..7c16430fd 100644
--- a/src/home/Index.jsx
+++ b/src/home/Index.jsx
@@ -134,7 +134,7 @@ function Index(props) {
-
加入星云协同开发平台,和社区伙伴们一起踏上开源创新的辉煌旅程!
+
加入学位论文算法数据库,和社区伙伴们一起踏上开源创新的辉煌旅程!
{ !(current_user && current_user.login) &&
立即注册 }