Skip to content

Commit 940c1ed

Browse files
author
huycozy
committed
Add Discord community section
1 parent ae9bbf4 commit 940c1ed

4 files changed

Lines changed: 101 additions & 1 deletion

File tree

assets/css/style.css

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

214+
.discord-button {
215+
display: inline-flex;
216+
align-items: center;
217+
justify-content: center;
218+
gap: 0.85rem;
219+
min-height: 58px;
220+
padding: 0.75rem 1.3rem;
221+
border: 1px solid rgba(88, 101, 242, 0.36);
222+
border-radius: 12px;
223+
background: rgba(88, 101, 242, 0.12);
224+
color: var(--text-primary);
225+
font-weight: 700;
226+
line-height: 1;
227+
transition: transform 0.2s, border-color 0.2s, background 0.2s;
228+
}
229+
230+
.discord-button:hover {
231+
transform: translateY(-2px);
232+
border-color: rgba(88, 101, 242, 0.62);
233+
background: rgba(88, 101, 242, 0.2);
234+
}
235+
236+
.discord-button img {
237+
display: block;
238+
width: clamp(42px, 9vw, 64px);
239+
height: auto;
240+
flex-shrink: 0;
241+
}
242+
214243
.indiehunt-badge {
215244
display: flex;
216245
justify-content: center;
@@ -371,6 +400,30 @@ footer {
371400
color: var(--accent);
372401
}
373402

403+
.discord-icon-link {
404+
display: inline-flex;
405+
align-items: center;
406+
justify-content: center;
407+
width: 48px;
408+
height: 48px;
409+
border: 1px solid rgba(88, 101, 242, 0.36);
410+
border-radius: 12px;
411+
background: rgba(88, 101, 242, 0.12);
412+
transition: transform 0.2s, border-color 0.2s, background 0.2s;
413+
}
414+
415+
.discord-icon-link:hover {
416+
transform: translateY(-2px);
417+
border-color: rgba(88, 101, 242, 0.62);
418+
background: rgba(88, 101, 242, 0.2);
419+
}
420+
421+
.discord-icon-link img {
422+
display: block;
423+
width: 32px;
424+
height: auto;
425+
}
426+
374427
.social-links {
375428
display: flex;
376429
flex-direction: column;
@@ -448,6 +501,27 @@ footer {
448501
color: var(--text-primary);
449502
}
450503

504+
.community-section {
505+
margin-top: 3rem;
506+
padding: 3rem 0 0;
507+
border-top: 1px solid var(--card-border);
508+
text-align: center;
509+
}
510+
511+
.community-section h2 {
512+
margin-bottom: 1rem;
513+
}
514+
515+
.community-section h3 {
516+
margin-bottom: 0.75rem;
517+
font-size: 1.35rem;
518+
}
519+
520+
.community-section p {
521+
max-width: 620px;
522+
margin: 0 auto 1.5rem;
523+
}
524+
451525
/* Mobile Responsive */
452526
@media (max-width: 768px) {
453527
h1 {
@@ -470,4 +544,9 @@ footer {
470544
.policy-content {
471545
padding: 1.5rem;
472546
}
547+
548+
.discord-button {
549+
width: min(100%, 320px);
550+
min-height: 56px;
551+
}
473552
}

assets/images/Discord.png

13.5 KB
Loading

index.html

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,10 @@ <h2>Your network. Your data. Your control.</h2>
216216
</section>
217217

218218
<div class="coffee-support" style="text-align: center; padding: 2rem 0; color: #a1a1aa;">
219-
💙 If you liked this app, consider <a href="https://buymeacoffee.com/huynguyennovem" target="_blank" rel="noopener" style="color: #007bff; text-decoration: underline;">buying me a coffee</a>
219+
💙 If you liked this app, consider <a href="https://buymeacoffee.com/huynguyennovem" target="_blank"
220+
rel="noopener" style="color: #007bff; text-decoration: underline;">buying me a coffee</a>
220221
</div>
222+
221223
</main>
222224

223225
<footer>
@@ -227,6 +229,13 @@ <h2>Your network. Your data. Your control.</h2>
227229
<h4>Netshare</h4>
228230
<p style="font-size: 0.9rem;">Open source local file sharing.</p>
229231
</div>
232+
<div class="footer-links">
233+
<h4>Community</h4>
234+
<a href="https://discord.gg/bDuY7qrJE" class="discord-icon-link" target="_blank" rel="noopener"
235+
aria-label="Join the Netshare Discord community">
236+
<img src="assets/images/Discord.png" alt="" aria-hidden="true">
237+
</a>
238+
</div>
230239
<div class="footer-links">
231240
<h4>Legal</h4>
232241
<ul>

support/index.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,18 @@ <h3>Contact Us</h3>
4747
style="width: 100%; margin-top: 1rem;">Email Us</a>
4848
</div>
4949
</div>
50+
51+
<section class="community-section">
52+
<h2>Community</h2>
53+
<h3>Join the Discord community.</h3>
54+
<p>Connect with other Netshare users, ask quick questions, and get updates from the project in Discord.
55+
</p>
56+
<a href="https://discord.gg/bDuY7qrJE" class="discord-button" target="_blank" rel="noopener"
57+
aria-label="Join the Discord community">
58+
<img src="../assets/images/Discord.png" alt="" aria-hidden="true">
59+
<span>Join Discord</span>
60+
</a>
61+
</section>
5062
</div>
5163
</main>
5264

0 commit comments

Comments
 (0)