diff --git a/package.json b/package.json
index 974f6e884..61b5f69d6 100644
--- a/package.json
+++ b/package.json
@@ -203,7 +203,7 @@
"eslintConfig": {
"extends": "react-app"
},
- "proxy": "http://172.20.32.203:4000/",
+ "proxy": "https://testforgeplus.trustie.net/",
"port": "3007",
"devDependencies": {
"@babel/core": "^7.23.6",
diff --git a/src/common/UrlTool.js b/src/common/UrlTool.js
index 319f95d94..a960c5e54 100644
--- a/src/common/UrlTool.js
+++ b/src/common/UrlTool.js
@@ -15,7 +15,7 @@ export function getImageUrl(path) {
// https://testbdweb.trustie.net
// const local = 'http://localhost:3000'
path && !path.startsWith('/') && !path.startsWith('http') && (path = '/'.concat(path));
- const local = 'http://172.20.32.202:4000/';
+ const local = 'https://testforgeplus.trustie.net';
if (isDev) {
return `${local}${path}`
}
diff --git a/src/forge/AboutUs/AboutUs.jsx b/src/forge/AboutUs/AboutUs.jsx
index 7a75fef1a..cd2baa86b 100644
--- a/src/forge/AboutUs/AboutUs.jsx
+++ b/src/forge/AboutUs/AboutUs.jsx
@@ -169,7 +169,7 @@ function AboutUs(){
-
多层次代码分析
+
军事数智生态市场
支持代码溯源分析、
许可证风险分析、开源漏洞检测和加固建议
diff --git a/src/forge/Main/projecthome/Index.jsx b/src/forge/Main/projecthome/Index.jsx
index ba33f9c30..74c5eaf02 100644
--- a/src/forge/Main/projecthome/Index.jsx
+++ b/src/forge/Main/projecthome/Index.jsx
@@ -24,7 +24,7 @@ function Index(props) {
useEffect(()=>{
getCate();
- document.title='开源项目';
+ document.title='可信代码仓库';
},[])
useEffect(()=>{
diff --git a/src/glcc/home/banner/index.jsx b/src/glcc/home/banner/index.jsx
index 381ec9c53..d470a21a2 100644
--- a/src/glcc/home/banner/index.jsx
+++ b/src/glcc/home/banner/index.jsx
@@ -52,11 +52,11 @@ function Banner({register,current_user}) {
{/* style={{backgroundImage:`url(${getImageUrl(i.image)})`}} */}
})
- {
+ {/* {
k +1 === bannerList.length && (!(current_user && current_user.login)) ?
立即注册
:""
- }
+ } */}
)
diff --git a/src/home/FifthEdition.jsx b/src/home/FifthEdition.jsx
index ed60f3c0c..211f38e4b 100644
--- a/src/home/FifthEdition.jsx
+++ b/src/home/FifthEdition.jsx
@@ -74,11 +74,12 @@ function FifthEdition() {
const url =`/topics.json`;
Axios.get(url,{params:{
topic_type:"cooperator",
- limit:30,
+ limit:5,
group_size:5
}}).then(result=>{
if(result){
- setTopics(result.data.topics);
+ let datas = result.data.topics;
+ setTopics(datas);
}
}).catch(error=>{})
}
diff --git a/src/home/Img/2-4-1.png b/src/home/Img/2-4-1.png
index 99fe85e22..05838d2dd 100644
Binary files a/src/home/Img/2-4-1.png and b/src/home/Img/2-4-1.png differ
diff --git a/src/home/Img/2-4-1_old.png b/src/home/Img/2-4-1_old.png
new file mode 100644
index 000000000..99fe85e22
Binary files /dev/null and b/src/home/Img/2-4-1_old.png differ
diff --git a/src/home/Img/3-bg-old.png b/src/home/Img/3-bg-old.png
new file mode 100644
index 000000000..171172a37
Binary files /dev/null and b/src/home/Img/3-bg-old.png differ
diff --git a/src/home/Img/3-bg.png b/src/home/Img/3-bg.png
index 171172a37..2bdaccb9f 100644
Binary files a/src/home/Img/3-bg.png and b/src/home/Img/3-bg.png differ
diff --git a/src/home/Index.jsx b/src/home/Index.jsx
index 5fd935964..3db7672e1 100644
--- a/src/home/Index.jsx
+++ b/src/home/Index.jsx
@@ -1,7 +1,7 @@
import React , { useEffect , useState } from 'react';
import "./Index.scss";
import TopEdition from './TopEdition';
-// import ThirdEdition from './ThirdEdition';
+import ThirdEdition from './ThirdEdition';
import ThirdeditionXing from './ThirdEditionXing';
import { Anchor } from 'antd';
import F41 from './Img/4-1.png';
@@ -9,7 +9,7 @@ import F42 from './Img/4-2.png';
import F43 from './Img/4-3.png';
import F44 from './Img/4-4.png';
import SecondEdition from './SecondEdition';
-// import FifthEdition from './FifthEdition';
+import FifthEdition from './FifthEdition';
import { TPMIndexHOC } from '../modules/tpm/TPMIndexHOC';
import Axios from 'axios';
@@ -97,13 +97,15 @@ function Index(props) {
bannerTab && bannerTab.length > 0 ?
{
- bannerTab.map((i,k)=>{
+ ['《全军软件供应链安全治理指南》正式发布,我院牵头打造首个统一治理平台',
+ '重磅发布:平台首批“可信军用级”基础软件镜像库上线,护航关键系统开发',
+ '案例深度解析:“雷霆”后勤保障信息系统如何通过平台实现依赖组件100%可信治理'
+ ].map((i,k)=>{
return(
- k < 3 &&
- -
- {i.title}
-
-
+ k < 3 &&
+ -
+ {i}
+
)
})
}
@@ -115,58 +117,58 @@ function Index(props) {
-
{name}
+
面向协同创新的一体化开源供应链治理平台
{
flag &&
- changeActive("#hadoop")} className={value === "#hadoop"?"active":""}>分布式协作开发
- changeActive("#oneStop")} className={value === "#oneStop"?"active":""}>一站式过程管理
- changeActive("#highDevops")} className={value === "#highDevops"?"active":""}>高效流水线运维
- {/* - changeActive("#multipleAnalyse")} className={value === "#multipleAnalyse"?"active":""}>多层次代码分析
*/}
+ - changeActive("#multipleAnalyse")} className={value === "#multipleAnalyse"?"active":""}>军事数智生态市场
- changeActive("#multidimensional")} className={value === "#multidimensional"?"active":""}>多维度用户画像
}
- {/* */}
-
+
+ {/* */}
-
加入生态治理平台协同开发平台,和社区伙伴们一起踏上开源创新的辉煌旅程!
+
加入我们,共建安全可信的软硬件创新生态
{ !(current_user && current_user.login) &&
立即注册 }
-
- 发现
- 探索丰富优质的开发资源
+ 洞察
+ 获取经过安全治理的可靠资源
-
- 加入
- 寻找志同道合的协作伙伴
+ 融入
+ 加入社区合规研发团队
-
- 合作
- 开启开放共享的协同之旅
+ 协同
+ 参与跨团队的安全协同开发
-
- 贡献
- 书写开源创新的精彩成就
+ 赋能
+ 为国家级项目贡献可信力量
- {/*
-
开源生态
-
GitLink与各大企业、高校、科研机构开展广泛的技术合作,推动我国开源软件生态的快速构建与发展
+
+
生态聚力
+
携手国内顶尖技术社区,聚力打造自主可控的软件供应链
-
*/}
+
)
}
diff --git a/src/home/Index.scss b/src/home/Index.scss
index 15723cd3f..98015cdc1 100644
--- a/src/home/Index.scss
+++ b/src/home/Index.scss
@@ -53,7 +53,7 @@ body{
}
}
.slick-track{
- height: 560px;
+ height: 679px;
display: flex;
.slick-slide{
position: relative;
@@ -651,14 +651,14 @@ body{
.thirdEdition{
background:url('./Img/3-bg.png') no-repeat center center;
- background-size:cover;
+ background-size:100% 100%;
min-height: 846px;
min-width: 1200px;
display: flex;
flex-direction: column;
align-items: center;
- justify-content: center;
- .title{
+ // justify-content: center;
+ .titleInHome{
height: 53px;
font-size: 38px;
font-weight: 500;
@@ -824,6 +824,14 @@ body{
}
}
+.theTitle{
+ height: 42px;
+ line-height: 42px;
+ font-size: 30px;
+ font-weight: 500;
+ color: #1E1E1E;
+ margin-bottom: 50px!important;
+}
.forthEdition{
background:url('./Img/4-bg.png') no-repeat center center;
background-size:cover;
@@ -833,14 +841,6 @@ body{
flex-direction: column;
align-items: center;
justify-content: center;
- .theTitle{
- height: 42px;
- line-height: 42px;
- font-size: 30px;
- font-weight: 500;
- color: #1E1E1E;
- margin-bottom: 50px!important;
- }
.qulikyreg{
display: inline-block;
width: 137px;
diff --git a/src/home/SecondEdition.jsx b/src/home/SecondEdition.jsx
index a675bd79f..dd9fa9e3b 100644
--- a/src/home/SecondEdition.jsx
+++ b/src/home/SecondEdition.jsx
@@ -182,11 +182,11 @@ function SecondEdition({setValue}) {
让您的代码更加快速、可靠地形成高质量的产品!
- {/*
-
多层次代码分析
+
+
军事数智生态市场
-
提供软件软代码和芯片RTL代码的溯源分析、文件级和组件级许可证识别及风险分析、输入性开源漏洞检测和加固建议,支持分析结果的多层次可视化展示。
-
*/}
+
汇聚国内优秀的可信智能应用,构建开放、创新的军用软件在线体验与推广平台,助力军事智能化成果快速转化和部署。
+
diff --git a/src/home/ThirdEdition.jsx b/src/home/ThirdEdition.jsx
index 2379b3878..705cb9b80 100644
--- a/src/home/ThirdEdition.jsx
+++ b/src/home/ThirdEdition.jsx
@@ -91,9 +91,9 @@ function ThirdEdition() {
return(
-
开发者的家园
-
一个实现群智激发与汇聚,产学研联合面向协同创新的开源社区
-
+
软件资产生态治理信息汇聚
+ {/*
一个实现群智激发与汇聚,产学研联合面向协同创新的开源社区
*/}
+ {/*
- {setFlag(false);setActive(1)}}>
@@ -162,7 +162,6 @@ function ThirdEdition() {
-
{i.title}
{i.visits}
- {/* {i.time} */}
)
}):""
@@ -213,7 +212,7 @@ function ThirdEdition() {
-
+
*/}
)
}
diff --git a/src/home/TopEdition.jsx b/src/home/TopEdition.jsx
index 527502295..077e4c057 100644
--- a/src/home/TopEdition.jsx
+++ b/src/home/TopEdition.jsx
@@ -50,11 +50,11 @@ function TopEdition({register,current_user}) {
{/* style={{backgroundImage:`url(${getImageUrl(i.image)})`}} */}
{if(i.url){window.location.href=i.url}}} style={{cursor: i.url ? 'pointer' : ''}}>
})
- {
+ {/* {
k +1 === bannerList.length && (!(current_user && current_user.login)) ?
立即注册
:""
- }
+ } */}
)