Skip to content

Commit cc1a57e

Browse files
author
huycozy
committed
Add IndieHunt badge to homepage and style adjustments
1 parent ddb6f94 commit cc1a57e

2 files changed

Lines changed: 30 additions & 0 deletions

File tree

assets/css/style.css

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,6 +211,28 @@ header {
211211
opacity: 0.9;
212212
}
213213

214+
.indiehunt-badge {
215+
display: flex;
216+
justify-content: center;
217+
padding: 2rem 1.5rem 0;
218+
}
219+
220+
.indiehunt-badge a {
221+
display: inline-flex;
222+
transition: transform 0.2s, opacity 0.2s;
223+
}
224+
225+
.indiehunt-badge a:hover {
226+
transform: translateY(-2px);
227+
opacity: 0.9;
228+
}
229+
230+
.indiehunt-badge img {
231+
display: block;
232+
max-width: 100%;
233+
height: auto;
234+
}
235+
214236
.macos-btn {
215237
white-space: nowrap;
216238
}

index.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ <h1>Fast, private file sharing on your local network.</h1>
8181
</div>
8282
</section>
8383

84+
<div class="indiehunt-badge">
85+
<a href="https://indiehunt.io/project/netshare-fast-private-local-file-sharing" target="_blank"
86+
rel="noopener">
87+
<img src="https://indiehunt.io/badges/indiehunt-badge-dark.svg" alt="Featured on IndieHunt"
88+
width="265" height="58">
89+
</a>
90+
</div>
91+
8492
<!-- Value Propositions -->
8593
<section id="features">
8694
<div class="container">

0 commit comments

Comments
 (0)