Skip to content

Commit

Permalink
Add new sponsor incident.io
Browse files Browse the repository at this point in the history
  • Loading branch information
jinzhu committed Jan 18, 2024
1 parent bf0b9f5 commit 82cd0a4
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 21 deletions.
45 changes: 25 additions & 20 deletions themes/navy/layout/partial/sponsors.swig
Original file line number Diff line number Diff line change
Expand Up @@ -14,21 +14,21 @@

<div class="sponsors">
<h1>Gold Sponsors {% if !homepage %}<i class="far fa-kiss-wink-heart"></i>{% endif %}</h1>
<div class="sponsor_item">
<a href="https://hubuc.com" target="_blank" rel="sponsored noopener" title="hubuc">
<img src="{{ url_for('/sponsors-imgs/hubuc.svg') }}" alt="hubuc">
</a>
</div>
<div class="sponsor_item">
<a href="https://www.bytebase.com/?utm_source=github&utm_medium=github-gorm-sponsor-logo&utm_campaign=gorm-20220715" target="_blank" rel="sponsored noopener" title="bytebase">
<img src="{{ url_for('/sponsors-imgs/bytebase.png') }}" alt="bytebase">
</a>
</div>
<div class="sponsor_item">
<!-- <div class="sponsor_item"> -->
<!-- <a href="https://hubuc.com" target="_blank" rel="sponsored noopener" title="hubuc"> -->
<!-- <img src="{{ url_for('/sponsors-imgs/hubuc.svg') }}" alt="hubuc"> -->
<!-- </a> -->
<!-- </div> -->
<div class="sponsor_item sponsor_item_link">
<a href="https://www.encore.dev/?utm_source=github&utm_medium=github-gorm-sponsor-logo&utm_campaign=gorm-20231215" target="_blank" rel="sponsored noopener" title="Encore">
<img src="{{ url_for('/sponsors-imgs/encore.png') }}" alt="Encore">
</a>
</div>
<div class="sponsor_item sponsor_item_link">
<a href="https://incident.io" target="_blank" rel="sponsored noopener" title="Incident.io">
<img src="{{ url_for('/sponsors-imgs/incident-io.svg') }}" alt="Incident.io">
</a>
</div>

<div class="sponsor_item" title="Help to deliver a better GORM!">
<a class="become-sponsor" href="/contribute.html#Donations">Become a Sponsor!</a>
Expand Down Expand Up @@ -65,19 +65,24 @@

<div class="sponsors">
<h1>Gold Sponsors</h1>
<!-- <div class="sponsor_item"> -->
<!-- <a href="https://chainlinklabs.com" target="_blank" rel="sponsored noopener" title="hubuc"> -->
<!-- <img src="{{ url_for('/sponsors-imgs/hubuc.svg') }}" alt="hubuc"> -->
<!-- </a> -->
<!-- </div> -->
<!-- <div class="sponsor_item"> -->
<!-- <a href="https://www.bytebase.com/?utm_source=github&utm_medium=github-gorm-sponsor-logo&utm_campaign=gorm-20220715" target="_blank" rel="sponsored noopener" title="bytebase"> -->
<!-- <img src="{{ url_for('/sponsors-imgs/bytebase.png') }}" alt="bytebase"> -->
<!-- </a> -->
<!-- </div> -->
<div class="sponsor_item">
<a href="https://chainlinklabs.com" target="_blank" rel="sponsored noopener" title="hubuc">
<img src="{{ url_for('/sponsors-imgs/hubuc.svg') }}" alt="hubuc">
</a>
</div>
<div class="sponsor_item">
<a href="https://www.bytebase.com/?utm_source=github&utm_medium=github-gorm-sponsor-logo&utm_campaign=gorm-20220715" target="_blank" rel="sponsored noopener" title="bytebase">
<img src="{{ url_for('/sponsors-imgs/bytebase.png') }}" alt="bytebase">
<a href="https://www.encore.dev/?utm_source=github&utm_medium=github-gorm-sponsor-logo&utm_campaign=gorm-20231215" target="_blank" rel="sponsored noopener" title="Encore">
<img src="{{ url_for('/sponsors-imgs/encore.png') }}" alt="Encore">
</a>
</div>
<div class="sponsor_item">
<a href="https://www.encore.dev/?utm_source=github&utm_medium=github-gorm-sponsor-logo&utm_campaign=gorm-20231215" target="_blank" rel="sponsored noopener" title="Encore">
<img src="{{ url_for('/sponsors-imgs/encore.png') }}" alt="Encore">
<a href="https://incident.io" target="_blank" rel="sponsored noopener" title="Incident.io">
<img src="{{ url_for('/sponsors-imgs/incident-io.svg') }}" alt="Incident.io">
</a>
</div>

Expand Down
14 changes: 13 additions & 1 deletion themes/navy/source/css/_customize.styl
Original file line number Diff line number Diff line change
Expand Up @@ -157,17 +157,26 @@
background: color-sponsors;
display: none;

.sponsor_item_link {
background: #6ebd9155;
border-radius: 0.5em;
}

.sponsor_item {
display: inline-block;
margin: 0 10px;
padding: 10px 5px;
height: 80px;
vertical-align: middle;
width: 200px;
a, img {
width: 180px;
display: inline-block;
vertical-align: middle;
}

&:hover {
background: #aec8c6;
background: #aec8c6 !important;
border-radius: 0.5em;
a {
font-weight: 800;
Expand All @@ -176,7 +185,10 @@
}
}
}

.become-sponsor {
display: inline-block;
vertical-align: middle;
text-decoration: none;
font-weight: 700;
color: #fb7d00;
Expand Down

0 comments on commit 82cd0a4

Please sign in to comment.