修改路由、文案
This commit is contained in:
parent
eb92c23db7
commit
027a4adfaf
|
|
@ -56,4 +56,4 @@ export const deepRoutes = [
|
|||
]
|
||||
|
||||
// 不进行组织或个人判断
|
||||
export const specialRoute = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone", "undefined", "admins", "oauth", "competitions", "hiagent","softwareFactory", "development", "governance"]
|
||||
export const specialRoute = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone", "undefined", "admins", "oauth", "competitions", "hiagent","sf", "development", "governance"]
|
||||
|
|
@ -2,21 +2,21 @@
|
|||
<html lang="zh-hans-CN" class="notranslate translated-ltr" translate="no">
|
||||
|
||||
<head>
|
||||
<title>生态治理平台</title>
|
||||
<title>菌队可控开源社区</title>
|
||||
<meta charset="utf-8">
|
||||
<meta name="Keywords" content="生态治理平台, git, 开源, 代码托管, 项目管理, 版本控制, 代码分享, 项目协作, 协同开发平台">
|
||||
<meta name="description" content="生态治理平台 是一个新一代的开源创新服务平台,提供分布式协作开发、流水线运维、代码分析等功能,基于 Git 打造分布式代码托管环境。">
|
||||
<meta property="og:title" content="生态治理平台" />
|
||||
<meta name="Keywords" content="菌队可控开源社区, git, 开源, 代码托管, 项目管理, 版本控制, 代码分享, 项目协作, 协同开发平台">
|
||||
<meta name="description" content="菌队可控开源社区 是一个新一代的开源创新服务平台,提供分布式协作开发、流水线运维、代码分析等功能,基于 Git 打造分布式代码托管环境。">
|
||||
<meta property="og:title" content="菌队可控开源社区" />
|
||||
<meta property="og:type" content="website" />
|
||||
<meta property="og:image:alt" content="生态治理平台" />
|
||||
<meta property="og:site_name" content="生态治理平台" />
|
||||
<meta property="og:image:alt" content="菌队可控开源社区" />
|
||||
<meta property="og:site_name" content="菌队可控开源社区" />
|
||||
<meta property="og:url" content="https://gitlink.org.cn/" />
|
||||
<meta property="og:image" content="https://www.gitlink.org.cn/images/logo.png" />
|
||||
<meta property="og:description" content="生态治理平台 是一个新一代的开源创新服务平台,提供分布式协作开发、流水线运维、代码分析等功能,基于 Git 打造分布式代码托管环境。" />
|
||||
<meta property="og:description" content="菌队可控开源社区 是一个新一代的开源创新服务平台,提供分布式协作开发、流水线运维、代码分析等功能,基于 Git 打造分布式代码托管环境。" />
|
||||
<meta name="keyboard-shortcuts-preference" content="all">
|
||||
<meta name="octolytics-dimension-user_login" content="生态治理平台"></meta>
|
||||
<meta name="octolytics-dimension-repository_nwo" content="生态治理平台"></meta>
|
||||
<meta name="octolytics-dimension-repository_network_root_nwo" content="生态治理平台"></meta>
|
||||
<meta name="octolytics-dimension-user_login" content="菌队可控开源社区"></meta>
|
||||
<meta name="octolytics-dimension-repository_nwo" content="菌队可控开源社区"></meta>
|
||||
<meta name="octolytics-dimension-repository_network_root_nwo" content="菌队可控开源社区"></meta>
|
||||
<meta name="theme-color" content="#000000">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="referrer" content="always">
|
||||
|
|
@ -27,15 +27,15 @@
|
|||
<!-- 按需引用viewport content -->
|
||||
<meta name="viewport" content="">
|
||||
<meta name="keyboard-shortcuts-preference" content="all">
|
||||
<meta name="octolytics-dimension-user_login" content="生态治理平台"></meta>
|
||||
<meta name="octolytics-dimension-repository_nwo" content="生态治理平台"></meta>
|
||||
<meta name="octolytics-dimension-repository_network_root_nwo" content="生态治理平台"></meta>
|
||||
<meta name="octolytics-dimension-user_login" content="菌队可控开源社区"></meta>
|
||||
<meta name="octolytics-dimension-repository_nwo" content="菌队可控开源社区"></meta>
|
||||
<meta name="octolytics-dimension-repository_network_root_nwo" content="菌队可控开源社区"></meta>
|
||||
<meta name="theme-color" content="#000000">
|
||||
<meta content="IE=edge" http-equiv="X-UA-Compatible">
|
||||
<meta name="twitter:site" content="@gitlink">
|
||||
<meta name="twitter:card" content="summary_large_image">
|
||||
<meta name="twitter:title" content="生态治理平台">
|
||||
<meta name="twitter:description" content="生态治理平台 开源创新服务平台 提供分布式协作开发 流水线运维 代码分析等功能 基于 Git 打造分布式代码托管环境">
|
||||
<meta name="twitter:title" content="菌队可控开源社区">
|
||||
<meta name="twitter:description" content="菌队可控开源社区 开源创新服务平台 提供分布式协作开发 流水线运维 代码分析等功能 基于 Git 打造分布式代码托管环境">
|
||||
<meta content="always" name="referrer">
|
||||
<link rel="canonical" href="https://gitlink.org.cn" data-turbo-transient="">
|
||||
<link rel="fluid-icon" href="https://www.gitlink.org.cn/images/logo.png" title="GitLink">
|
||||
|
|
|
|||
|
|
@ -232,7 +232,7 @@ const News = Loadable({
|
|||
});
|
||||
|
||||
// 此处仅维护前端可能的一级路由,不用进行项目或者组织判断的字段。
|
||||
const keyWord = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone", "hiagent","softwareFactory", "development", "governance", "forums", "news", "exploreStore", "factory", "zoneAdmin"];
|
||||
const keyWord = ["explore", "settings", "setting", "mulan", "wiki", "issues", "setting", "trending", "code", "projects", "pulls", "mine", "login", "register", "email", "export", "nopage", "404", "403", "500", "501", "search", "organize", "login", "register", "resetPassword", "aboutus","educoder", "glcc","bindlogin", "softbot","zone", "hiagent","sf", "development", "governance", "forums", "news", "exploreStore", "factory", "zoneAdmin"];
|
||||
|
||||
class App extends Component {
|
||||
constructor(props) {
|
||||
|
|
|
|||
|
|
@ -10,6 +10,7 @@ import gif2 from '../../../images/factory/feature-gif-2.gif'
|
|||
import gif3 from '../../../images/factory/feature-gif-3.webp'
|
||||
import { factoryZoneId, standardId} from '../../../constants/factory'
|
||||
import { getSourceList, httpUrl } from '../../api';
|
||||
import { downloadFunc } from '../../../forge/Utils/utils'
|
||||
|
||||
import logo1 from '../../../images/factory/standard-logo-1.webp'
|
||||
import logo2 from '../../../images/factory/standard-logo-2.webp'
|
||||
|
|
|
|||
|
|
@ -74,7 +74,7 @@
|
|||
line-height: 36px;
|
||||
font-family: alibabareg;
|
||||
font-size: 20px;
|
||||
width: 635px;
|
||||
width: 835px;
|
||||
text-align: center;
|
||||
animation: fadeInUp 2s ease-in-out forwards;
|
||||
animation-delay: 2s;
|
||||
|
|
|
|||
|
|
@ -45,10 +45,11 @@ function Index(props) {
|
|||
extendData = JSON.parse(response.data.data.extendData)
|
||||
}
|
||||
document.title = response.data.data.name
|
||||
if (extendData.content) {
|
||||
setContent(Base64.decode(extendData.content))
|
||||
}
|
||||
setDetail({...response.data.data, ...extendData});
|
||||
if (extendData.content) {
|
||||
const base64content = Base64.decode(extendData.content)
|
||||
setContent(base64content !== '<p><br></p>' ? base64content : '')
|
||||
}
|
||||
setDetail({ ...response.data.data, ...extendData });
|
||||
}
|
||||
}).catch(error => { })
|
||||
}
|
||||
|
|
@ -70,7 +71,7 @@ function Index(props) {
|
|||
</Breadcrumb>
|
||||
<div className="header-content">
|
||||
<h3>{detail.name}</h3>
|
||||
<p title={ detail.summary }>{detail.summary}</p>
|
||||
<p title={detail.summary}>{detail.summary}</p>
|
||||
<div className="tools-info">
|
||||
<div>
|
||||
<span>{detail.downloadCount}</span>
|
||||
|
|
@ -107,11 +108,12 @@ function Index(props) {
|
|||
</div>
|
||||
</div>
|
||||
<div className="news-detail-content">
|
||||
<div className="news-detail-content-wrapper">
|
||||
{
|
||||
content && <RenderHtml className="informations_detail imageLayerParent" value={content} url={props.history.location} />
|
||||
}
|
||||
</div>
|
||||
{
|
||||
content &&
|
||||
<div className="news-detail-content-wrapper">
|
||||
<RenderHtml className="informations_detail imageLayerParent" value={content} url={props.history.location} />
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -221,7 +221,7 @@
|
|||
width: 1600px;
|
||||
height: 100%;
|
||||
margin: 52px auto;
|
||||
margin-top: -100px;
|
||||
margin-top: -130px;
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
|
||||
|
|
@ -241,9 +241,12 @@
|
|||
}
|
||||
|
||||
.news-detail-content-wrapper {
|
||||
width: 1600px;
|
||||
float: left;
|
||||
padding-bottom: 60px;
|
||||
background-image: url('../../../../images/factory/resource/detail-bg.png');
|
||||
background-repeat: no-repeat;
|
||||
background-size: 100% 100%;
|
||||
padding: 30px;
|
||||
border-radius: 16px;
|
||||
margin-bottom: 60px;
|
||||
}
|
||||
|
||||
.news-detail-content-others {
|
||||
|
|
|
|||
|
|
@ -959,7 +959,7 @@
|
|||
|
||||
img {
|
||||
max-width: 80%;
|
||||
max-height: 100%;
|
||||
max-height: 80%;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -128,10 +128,10 @@ function ThirdEdition() {
|
|||
<img src={active === 1 ? bg3 : active===2 ? bg32 :active===3 ? bg33 :bg34 } alt="" width="336px"/>
|
||||
<div className="listbox">
|
||||
<p className="listTitle">
|
||||
{active === 1 ? "生态治理平台分享最新平台资讯、社区活动通知、开源竞赛信息,把握开源生态发展脉搏"
|
||||
: active===2 ? "生态治理平台汇聚精英企业仓库、前沿技术仓库、人气热门仓库,孵化优质开源创新成果"
|
||||
:active===3 ? "生态治理平台集萃社区精选项目介绍、平台使用技巧等优秀文章,助力开源开放协同创新"
|
||||
:"生态治理平台甄选技术研究、心得体会、经验交流等高质量内容,推动社区健康稳定发展"}
|
||||
{active === 1 ? "菌队可控开源社区分享最新平台资讯、社区活动通知、开源竞赛信息,把握开源生态发展脉搏"
|
||||
: active===2 ? "菌队可控开源社区汇聚精英企业仓库、前沿技术仓库、人气热门仓库,孵化优质开源创新成果"
|
||||
:active===3 ? "菌队可控开源社区集萃社区精选项目介绍、平台使用技巧等优秀文章,助力开源开放协同创新"
|
||||
:"菌队可控开源社区甄选技术研究、心得体会、经验交流等高质量内容,推动社区健康稳定发展"}
|
||||
</p>
|
||||
<div style={{minHeight:"260px"}}>
|
||||
{
|
||||
|
|
|
|||
|
|
@ -24,7 +24,7 @@ let setting={
|
|||
function ThirdEditionXing() {
|
||||
return(
|
||||
<div className="xingEdition">
|
||||
<p className="theTitle">生态治理平台操作系统简介</p>
|
||||
<p className="theTitle">菌队可控开源社区操作系统简介</p>
|
||||
<Slider {...setting} className="xingBanner">
|
||||
<div className="regform"><img src={com1} alt="" /></div>
|
||||
<div className="regform"><img src={com2} alt="" /></div>
|
||||
|
|
|
|||
Binary file not shown.
|
After Width: | Height: | Size: 264 KiB |
|
|
@ -47,7 +47,7 @@ function NpmModal(props){
|
|||
width={690}
|
||||
footer={(activeGrade || activeGrade === 0) ? <Button type='primary' style={{width:180}} onClick={submit} disabled={disabled}>提交</Button> : null}
|
||||
>
|
||||
<div className='mt40 font-18'>您向朋友或同事推荐生态治理平台平台的可能性有多大?</div>
|
||||
<div className='mt40 font-18'>您向朋友或同事推荐菌队可控开源社区平台的可能性有多大?</div>
|
||||
<div className='mt30 font-16'>
|
||||
<span>不可能</span>
|
||||
{arr.map(item=>{return <span key={item} className={`oneGradeItem font-18 ml10 ${item<=5? 'grade1' : item<=8? 'grade2' : 'grade3'} ${item === activeGrade ? 'active' : ''}`} onClick={()=>{setActiveGrade(item)}}>{item}</span>})}
|
||||
|
|
@ -55,7 +55,7 @@ function NpmModal(props){
|
|||
</div>
|
||||
{(activeGrade || activeGrade === 0) && <div className='npsContent'>
|
||||
<Divider dashed/>
|
||||
<div className='font-16 mb15'>【选填】你最想吐槽生态治理平台以下的哪个功能?欢迎勾选下方想要吐槽的选项并留言</div>
|
||||
<div className='font-16 mb15'>【选填】你最想吐槽菌队可控开源社区以下的哪个功能?欢迎勾选下方想要吐槽的选项并留言</div>
|
||||
<Checkbox.Group className='gradeCheckbox' onChange={(e)=>{setCheckGroupValue(e)}}>
|
||||
{list.map(item=><Checkbox value={item}>{item}</Checkbox>)}
|
||||
</Checkbox.Group>
|
||||
|
|
|
|||
|
|
@ -332,7 +332,7 @@ export function TPMIndexHOC(WrappedComponent) {
|
|||
}
|
||||
</div>
|
||||
</Spin>
|
||||
{!pathCheck && !path.includes('softwareFactory') && <NewFooter {...this.state} {...this.props} /> }
|
||||
{!pathCheck && !path.includes('/sf') && <NewFooter {...this.state} {...this.props} /> }
|
||||
</div>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue