Skip to content

Commit 598bf9b

Browse files
author
huycozy
committed
add social urls
1 parent c918aae commit 598bf9b

2 files changed

Lines changed: 72 additions & 4 deletions

File tree

assets/css/style.css

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -302,6 +302,38 @@ footer {
302302
color: var(--accent);
303303
}
304304

305+
.social-links {
306+
display: flex;
307+
flex-direction: column;
308+
gap: 0.5rem;
309+
}
310+
311+
.social-item {
312+
display: flex;
313+
align-items: center;
314+
gap: 0.5rem;
315+
color: var(--text-secondary);
316+
font-size: 0.9rem;
317+
transition: color 0.3s ease;
318+
}
319+
320+
.social-item:hover {
321+
color: var(--accent);
322+
}
323+
324+
.social-icon {
325+
width: 14px;
326+
height: 14px;
327+
object-fit: contain;
328+
flex-shrink: 0;
329+
}
330+
331+
.social-icon svg {
332+
display: block;
333+
width: 100%;
334+
height: 100%;
335+
}
336+
305337
.copyright {
306338
text-align: center;
307339
margin-top: 4rem;

index.html

Lines changed: 40 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -154,10 +154,46 @@ <h4>Legal</h4>
154154
</div>
155155
<div class="footer-links">
156156
<h4>Connect</h4>
157-
<ul>
158-
<li><a href="https://github.com/NetShareOSS/netshare" target="_blank">GitHub</a></li>
159-
<li><a href="support/">Support</a></li>
160-
</ul>
157+
<div class="social-links">
158+
<a href="https://github.com/NetShareOSS/netshare" target="_blank" class="social-item">
159+
<div class="social-icon">
160+
<svg viewBox="0 0 24 24" fill="currentColor">
161+
<path
162+
d="M12 .297c-6.63 0-12 5.373-12 12 0 5.303 3.438 9.8 8.205 11.385.6.113.82-.258.82-.577 0-.285-.01-1.04-.015-2.04-3.338.724-4.042-1.61-4.042-1.61C4.422 18.07 3.633 17.7 3.633 17.7c-1.087-.744.084-.729.084-.729 1.205.084 1.838 1.236 1.838 1.236 1.07 1.835 2.809 1.305 3.495.998.108-.776.417-1.305.76-1.605-2.665-.3-5.466-1.332-5.466-5.93 0-1.31.465-2.38 1.235-3.22-.135-.303-.54-1.523.105-3.176 0 0 1.005-.322 3.3 1.23.96-.267 1.98-.399 3-.405 1.02.006 2.04.138 3 .405 2.28-1.552 3.285-1.23 3.285-1.23.645 1.653.24 2.873.12 3.176.765.84 1.23 1.91 1.23 3.22 0 4.61-2.805 5.625-5.475 5.92.43.372.823 1.102.823 2.222 0 1.606-.015 2.896-.015 3.286 0 .315.21.69.825.57C20.565 22.092 24 17.592 24 12.297c0-6.627-5.373-12-12-12" />
163+
</svg>
164+
</div>
165+
<span>GitHub</span>
166+
</a>
167+
<a href="https://x.com/NetShareOSS" target="_blank" class="social-item">
168+
<div class="social-icon">
169+
<svg viewBox="0 0 24 24" fill="currentColor">
170+
<path
171+
d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" />
172+
</svg>
173+
</div>
174+
<span>X (Twitter)</span>
175+
</a>
176+
<a href="https://www.youtube.com/@NetShareOSS" target="_blank" class="social-item">
177+
<div class="social-icon">
178+
<svg viewBox="0 0 24 24" fill="currentColor">
179+
<path
180+
d="M23.498 6.186a3.016 3.016 0 0 0-2.122-2.136C19.505 3.545 12 3.545 12 3.545s-7.505 0-9.377.505A3.017 3.017 0 0 0 .502 6.186C0 8.07 0 12 0 12s0 3.93.502 5.814a3.016 3.016 0 0 0 2.122 2.136c1.871.505 9.376.505 9.376.505s7.505 0 9.377-.505a3.015 3.015 0 0 0 2.122-2.136C24 15.93 24 12 24 12s0-3.93-.502-5.814zM9.545 15.568V8.432L15.818 12l-6.273 3.568z" />
181+
</svg>
182+
</div>
183+
<span>YouTube</span>
184+
</a>
185+
<a href="support/" class="social-item">
186+
<div class="social-icon">
187+
<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"
188+
stroke-linecap="round" stroke-linejoin="round">
189+
<circle cx="12" cy="12" r="10" />
190+
<path d="M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3" />
191+
<line x1="12" y1="17" x2="12.01" y2="17" />
192+
</svg>
193+
</div>
194+
<span>Support</span>
195+
</a>
196+
</div>
161197
</div>
162198
</div>
163199
<div class="copyright">

0 commit comments

Comments
 (0)