Skip to content

Commit

Permalink
Banner update (#62)
Browse files Browse the repository at this point in the history
* fix: 详情页,移动端隐藏勋章logo

* feat: 新增合作社区,详情页logo替换

* fix: rename logo-award

* fix: conflict

* feat: 合作社区增加

* update: banner

* update: banner delete year infromation
  • Loading branch information
shuashuai authored Aug 23, 2024
1 parent 3d12993 commit 94340d8
Show file tree
Hide file tree
Showing 7 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion themes/OpenSouceWin/layout/_partial/detail.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<div class="container">
<div class="row justify-content-center">
<div class="col-12 col-md-8">
<%- image_tag('img/banner-detail.png', {class: 'home-head', alt: 'logo'}) %>
<%- image_tag('img/banner-detail-new.png', {class: 'home-head', alt: 'logo'}) %>
</div>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion themes/OpenSouceWin/layout/_partial/head.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
<% if (description) { %>
<meta name="twitter:description" content="<%= description %>">
<% } %>
<meta name="twitter:image" content="https://raw.githubusercontent.com/OpenSourceWin/OpenSourceWin.github.io/main/themes/OpenSouceWin/source/img/banner-index.png">
<meta name="twitter:image" content="https://raw.githubusercontent.com/OpenSourceWin/OpenSourceWin.github.io/main/themes/OpenSouceWin/source/img/banner-index-new.png">

<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet">
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js"></script>
Expand Down
2 changes: 1 addition & 1 deletion themes/OpenSouceWin/layout/_partial/ranking_detail.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%- partial('_partial/menu') %>
<!-- 头部内容 -->
<div class="container">
<%- image_tag('img/banner-index.png', {class: 'home-head', alt: '中国开源码力榜', loading: 'lazy'}) %>
<%- image_tag('img/banner-index-new.png', {class: 'home-head', alt: '中国开源码力榜', loading: 'lazy'}) %>
</div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion themes/OpenSouceWin/layout/index.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<%- partial('_partial/menu') %>
<!-- 头部内容 -->
<div class="container">
<%- image_tag('img/banner-index.png', {class: 'home-head', alt: '中国开源码力榜', loading: 'lazy'}) %>
<%- image_tag('img/banner-index-new.png', {class: 'home-head', alt: '中国开源码力榜', loading: 'lazy'}) %>
</div>
</div>

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed themes/OpenSouceWin/source/img/banner-index.png
Binary file not shown.

0 comments on commit 94340d8

Please sign in to comment.