Browse Source

home page

tags/v1.22.11.3^2
chenshihai 3 years ago
parent
commit
0ed739e812
5 changed files with 13 additions and 13 deletions
  1. +1
    -1
      options/locale/locale_en-US.ini
  2. +1
    -1
      options/locale/locale_zh-CN.ini
  3. +5
    -5
      public/home/home.js
  4. +1
    -1
      templates/custom/home/home_repo.tmpl
  5. +5
    -5
      templates/custom/home/home_top.tmpl

+ 1
- 1
options/locale/locale_en-US.ini View File

@@ -237,7 +237,7 @@ page_title=Explore Better AI
page_small_title=OpenI AI Development Cooperation Platform
page_description=The one-stop collaborative development environment for AI field provides AI development pipeline integrating code development, data management, model debugging, reasoning and evaluation
page_use=Use Now
page_only_dynamic=Only show the dynamics of open source projects
page_only_dynamic=The dynamics of open source projects
page_recommend_org=Recommended Organizations
page_recommend_org_desc=These excellent organizations are using the OpenI AI Collaboration Platform for collaborative development of projects. To show your organization here,
page_recommend_org_commit=Click here to submit.


+ 1
- 1
options/locale/locale_zh-CN.ini View File

@@ -239,7 +239,7 @@ page_title=探索更好的AI
page_small_title=启智AI协作平台
page_description=面向AI领域的一站式协同开发环境,提供集代码开发、数据管理、模型调试、推理和评测为一体的AI开发流水线
page_use=立即使用
page_only_dynamic=仅展示开源项目动态
page_only_dynamic=社区开源项目动态
page_recommend_org=推荐组织
page_recommend_org_desc=这些优秀的组织正在使用启智AI开发协作平台;你的组织也想展示到这里,
page_recommend_org_commit=点此提交


+ 5
- 5
public/home/home.js View File

@@ -45,10 +45,10 @@ var swiperRepo = new Swiper(".homepro-list", {
slidesPerView: 3,
},
1840: {
slidesPerView: 4,
slidesPerView: 3,
},
1920: {
slidesPerView: 4,
slidesPerView: 3,
},
},
});
@@ -84,11 +84,11 @@ var swiperOrg = new Swiper(".homeorg-list", {
slidesPerColumn: 2,
},
1840: {
slidesPerView: 5,
slidesPerView: 4,
slidesPerColumn: 2,
},
1920: {
slidesPerView: 5,
slidesPerView: 4,
slidesPerColumn: 2,
},
},
@@ -625,7 +625,7 @@ function displayRepo(json){
html += `<div class="ui fluid card" style="border-radius:6px;">
<div class="content">
<img class="left floated mini ui image" src="${repo["Avatar"]}">
<a class="header nowrap" style="color:rgb(50, 145, 248);font-size:14px;" href="/${repo["OwnerName"]}/${repo["Name"]}" title="${repo["Alias"]}"> + ${repo["Alias"]}</a>
<a class="header nowrap" style="color:rgb(50, 145, 248);font-size:14px;" href="/${repo["OwnerName"]}/${repo["Name"]}" title="${repo["Alias"]}">${repo["Alias"]}</a>
<div class="description nowrap-2" style="rgba(136,136,136,1);;font-size:12px;" title="${repo["Description"]}">${repo["Description"]}</div>
`;
// if (repo["Topics"] != null) {


+ 1
- 1
templates/custom/home/home_repo.tmpl View File

@@ -8,7 +8,7 @@
<div class="ui stackable grid">
<div class="sixteen wide tablet four wide computer column">
<h2>{{.page_recommend_repo}}</h2>
<p><span class="ui text grey">{{.page_recommend_repo_desc}}&nbsp;</span><a href="{{.RecommendURL}}">{{.page_recommend_repo_commit}}</a>&nbsp;{{.page_recommend_repo_go}}&nbsp;<a href="{{AppSubUrl}}/explore/">{{.page_recommend_repo_more}}</a></p>
<p><span class="ui text grey">{{.page_recommend_repo_desc}}&nbsp;</span><a href="{{.RecommendURL}}">{{.page_recommend_repo_commit}}</a>&nbsp;<span class="ui text grey">{{.page_recommend_repo_go}}</span>&nbsp;<a href="{{AppSubUrl}}/explore/">{{.page_recommend_repo_more}}</a></p>
</div>
<div class="sixteen wide tablet twelve wide computer column">
<div class="homepro-list">


+ 5
- 5
templates/custom/home/home_top.tmpl View File

@@ -1507,8 +1507,8 @@
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%221%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%220%22%20gradientTransform%3D%22null%22%3E%3Cstop%20stop-color%3D%22%23eb95fa%22%20stop-opacity%3D%221%22%20offset%3D%220%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%2363d0f9%22%20stop-opacity%3D%221%22%20offset%3D%220.5%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%2378fb93%22%20stop-opacity%3D%221%22%20offset%3D%221%22%3E%3C%2Fstop%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%231)%22%3E%3C%2Frect%3E%3C%2Fsvg%3E");
align-items: center;
background: url("data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20xmlns%3Axlink%3D%22http%3A%2F%2Fwww.w3.org%2F1999%2Fxlink%22%20version%3D%221.1%22%3E%3Cdefs%3E%3ClinearGradient%20id%3D%221%22%20x1%3D%220%22%20x2%3D%221%22%20y1%3D%220%22%20y2%3D%220%22%20gradientTransform%3D%22null%22%3E%3Cstop%20stop-color%3D%22%23db00ff%22%20stop-opacity%3D%221%22%20offset%3D%220.03%22%3E%3C%2Fstop%3E%3Cstop%20stop-color%3D%22%230075ff%22%20stop-opacity%3D%221%22%20offset%3D%221%22%3E%3C%2Fstop%3E%3C%2FlinearGradient%3E%3C%2Fdefs%3E%3Crect%20width%3D%22100%25%22%20height%3D%22100%25%22%20fill%3D%22url(%231)%22%3E%3C%2Frect%3E%3C%2Fsvg%3E");
}

._hm-big-btn-2,
@@ -1536,7 +1536,7 @@
display: flex;
justify-content: space-around;
align-items: center;
margin: 60px 10px;
margin: 60px 0px;
flex-wrap: wrap;
}

@@ -1897,7 +1897,7 @@
</div>
<div class="ui container _hm-container">
<div class="_hm-recommend-info ">
<div class="_hm-recommend-info-area _hm-recommend-info-area-1">
<div class="_hm-recommend-info-area _hm-recommend-info-area-1" style="margin-left:0">
<div>
<a style="display:none;" class="_hm-notice" href="javascript:;">
<i class="ri-arrow-right-s-line"></i>
@@ -1930,7 +1930,7 @@
<div class="_hm-recommend-info-area _hm-recommend-info-area-3">
<a href="javascript:;" class="_hm-link"></a>
</div>
<div class="_hm-recommend-info-area _hm-recommend-info-area-4">
<div class="_hm-recommend-info-area _hm-recommend-info-area-4" style="margin-right:0">
<a href="javascript:;" class="_hm-link"></a>
</div>
</div>


Loading…
Cancel
Save