Skip to content

Commit e37bd34

Browse files
committed
fix: improve the footer ui, buttons, icons and newsletter section
1 parent adf196f commit e37bd34

2 files changed

Lines changed: 54 additions & 26 deletions

File tree

web-app/css/styles.css

Lines changed: 39 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3127,21 +3127,6 @@ body.sidebar-collapsed .playground-section {
31273127
gap: 10px;
31283128
}
31293129

3130-
.footer-social-icons a {
3131-
display: flex;
3132-
align-items: center;
3133-
justify-content: center;
3134-
width: 38px;
3135-
height: 38px;
3136-
border-radius: 10px;
3137-
background: var(--bg-glass);
3138-
border: 1px solid var(--border);
3139-
color: var(--text-secondary);
3140-
font-size: 1rem;
3141-
transition: all var(--duration-fast) ease;
3142-
text-decoration: none;
3143-
}
3144-
31453130
.footer-links h3 {
31463131
font-family: var(--font-sans);
31473132
font-size: 0.85rem;
@@ -3594,7 +3579,6 @@ body.sidebar-collapsed .playground-section {
35943579
}
35953580

35963581
.footer-links a:hover,
3597-
.footer-social-icons a:hover,
35983582
.footer-bottom-links a:hover,
35993583
.footer-brand h2:hover,
36003584
.footer-brand p:hover,
@@ -3607,7 +3591,6 @@ body.sidebar-collapsed .playground-section {
36073591
.footer-links h3::after,
36083592
.footer-links a::before,
36093593
.footer-links a::after,
3610-
.footer-social-icons a::after,
36113594
.footer-bottom-links a::after {
36123595
animation: none !important;
36133596
transform: none !important;
@@ -5891,6 +5874,7 @@ button:focus-visible,
58915874
transform: translateY(-5px);
58925875
box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3);
58935876
transform: translateY(-5px) scale(1.08);
5877+
}
58945878

58955879
.project-card:hover {
58965880
transform: translateY(-6px);
@@ -5902,7 +5886,6 @@ button:focus-visible,
59025886
background: #ffffff;
59035887
border-color: rgba(106, 191, 141, 0.4);
59045888
}
5905-
}
59065889

59075890
.footer-social-icons .github:hover i {
59085891
filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5));
@@ -6028,6 +6011,13 @@ button:focus-visible,
60286011
transition: var(--transition);
60296012
}
60306013

6014+
.footer-links a svg {
6015+
font-size: 0.9rem;
6016+
color: var(--accent-color);
6017+
opacity: 0.7;
6018+
transition: var(--transition);
6019+
}
6020+
60316021

60326022
.card-actions .btn-play {
60336023
margin-top: 0;
@@ -7198,4 +7188,35 @@ body.sidebar-collapsed .sidebar-dock .sidebar-footer .sidebar-main-controls {
71987188
color:var(--text);
71997189
}
72007190

7191+
}
7192+
7193+
.newsletter-form{
7194+
display: flex;
7195+
justify-content: center;
7196+
align-items: center;
7197+
gap: 5px;
7198+
margin-top: 10px;
7199+
}
7200+
7201+
.footer-input {
7202+
font-size: larger;
7203+
border-radius: 10px;
7204+
outline: none;
7205+
border: none;
7206+
padding: 5px;
7207+
font-family: var(--font-sans);
7208+
}
7209+
7210+
.newsletter-form button{
7211+
padding: 8px 20px;
7212+
border-radius: 10px;
7213+
font-family: var(--font-sans);
7214+
font-size: 0.85rem;
7215+
font-weight: 600;
7216+
color: var(--text);
7217+
box-shadow: 0 12px 0 rgba(0, 0, 0, 0.06), 0 16px 32px rgba(34, 197, 94, 0.3);
7218+
background: linear-gradient(135deg, #22c55e, #14b8a6);
7219+
border: 1px solid var(--border);
7220+
transition: all var(--duration-fast) ease;
7221+
white-space: nowrap;
72017222
}

web-app/index.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,15 @@ <h2>🎮 Python Mini Projects</h2>
534534
<div class="footer-social-icons">
535535
<a href="https://github.com/steam-bell-92/python-mini-project" target="_blank" class="github"
536536
rel="noopener noreferrer" aria-label="GitHub"><i class="fab fa-github"></i></a>
537-
<a href="https://x.com/AnujKulkarni040" class="twitter" aria-label="X (formerly Twitter)"><i
538-
class="fa fa-x-twitter"></i></a>
537+
<a href="https://x.com/AnujKulkarni040" class="twitter" aria-label="X (formerly Twitter)">
538+
<svg xmlns="http://www.w3.org/2000/svg"
539+
width="15"
540+
height="15"
541+
viewBox="0 0 24 24"
542+
fill="currentColor">
543+
<path d="M18.901 1.153h3.68l-8.04 9.19L24 22.847h-7.406l-5.8-7.584-6.64 7.584H.473l8.6-9.83L0 1.153h7.594l5.243 6.932L18.901 1.153z"/>
544+
</svg>
545+
</a>
539546
<a href="https://www.linkedin.com/in/anujCkulkarni" class="linkedin" aria-label="LinkedIn"><i
540547
class="fab fa-linkedin"></i></a>
541548
<a href="https://www.instagram.com/obscura.nuj" class="instagram" aria-label="Instagram"><i
@@ -545,14 +552,14 @@ <h2>🎮 Python Mini Projects</h2>
545552
<div class="footer-links">
546553
<h3>Quick Links</h3>
547554
<ul>
548-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'games\']').click()">Games</a>
555+
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'games\']').click()"><svg width="20" height="20" data-lucide="gamepad-2"></svg>Games</a>
549556
</li>
550-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'math\']').click()">Math</a>
557+
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'math\']').click()"><svg width="20" height="20" data-lucide="sigma"></svg>Math</a>
551558
</li>
552559
<li><a href="#main-content"
553-
onclick="document.querySelector('[data-category=\'utilities\']').click()">Utilities</a></li>
554-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'favorites\']').click()">Favorites</a></li>
555-
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'playground\']').click()">Playground</a></li>
560+
onclick="document.querySelector('[data-category=\'utilities\']').click()"><svg width="20" height="20" data-lucide="wrench"></svg>Utilities</a></li>
561+
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'favorites\']').click()"><svg width="20" height="20" data-lucide="star"></svg>Favorites</a></li>
562+
<li><a href="#main-content" onclick="document.querySelector('[data-category=\'playground\']').click()"><svg width="20" height="20" data-lucide="terminal"></svg>Playground</a></li>
556563
</ul>
557564
</div>
558565
<div class="footer-links">
@@ -574,7 +581,7 @@ <h3>Resources</h3>
574581
<h3>Stay Updated</h3>
575582
<p>Get notified about new projects and features!</p>
576583
<form class="newsletter-form" onsubmit="event.preventDefault(); alert('Thanks for subscribing!');">
577-
<input type="email" placeholder="Enter your email" required aria-label="Email for newsletter">
584+
<input class="footer-input" type="email" placeholder="Enter your email" required aria-label="Email for newsletter">
578585
<button type="submit" aria-label="Subscribe">
579586
<i class="fas fa-paper-plane"></i>
580587
</button>

0 commit comments

Comments
 (0)