Skip to content

Commit 8901874

Browse files
authored
Updated styles etc. For the donate button (#16)
Signed-off-by: Roger Barker <pendletonroger@gmail.com>
1 parent 52a79ba commit 8901874

File tree

2 files changed

+50
-2
lines changed

2 files changed

+50
-2
lines changed

public/index.html

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<a href="#configure-custom-props" class="dropdown-item">Configure Custom Properties</a>
3232
</div>
3333
</div>
34-
<a href="#support" class="nav-item">Support PWC</a>
34+
<a href="#support" class="nav-item">Support the Devs</a>
3535
</div>
3636
</div>
3737
</nav>
@@ -310,8 +310,14 @@ <h3>
310310

311311
<section id="support" class="section">
312312
<div class="container">
313-
<h2>Support PWC</h2>
313+
<h2>Support Pandas Who Code</h2>
314314
<p>Help us continue building amazing tools for the community.</p>
315+
<div id="donate" class="support-item">
316+
<a href="https://www.paypal.com/donate/?business=Q2D7BPHDKJQV2&no_recurring=0&item_name=Support+the+development+efforts+behind+Pandas+Who+Code&currency_code=USD" class="support-link" target="_blank" rel="noopener noreferrer">
317+
<i class="fab fa-paypal"></i>
318+
<span>Donate with PayPal</span>
319+
</a>
320+
</div>
315321
</div>
316322
</section>
317323

public/styles/index.css

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -291,6 +291,48 @@ p {
291291
margin-top: 1rem;
292292
}
293293

294+
.support-item {
295+
background: rgba(255, 255, 255, 0.1);
296+
border-radius: 15px;
297+
padding: 2rem;
298+
backdrop-filter: blur(10px);
299+
margin-bottom: 2rem;
300+
transition: transform 0.3s ease;
301+
display: inline-block;
302+
}
303+
304+
.support-item:hover {
305+
transform: translateY(-5px);
306+
background: rgba(0, 255, 255, 0.1);
307+
}
308+
309+
.support-link {
310+
display: flex;
311+
align-items: center;
312+
gap: 1rem;
313+
padding: 1.2rem 2rem;
314+
border-radius: 8px;
315+
transition: all 0.3s ease;
316+
border: 2px solid transparent;
317+
color: #ffffff;
318+
text-decoration: none;
319+
font-size: 1.2rem;
320+
}
321+
322+
.support-link:hover {
323+
border-color: #00ffff;
324+
background: rgba(0, 255, 255, 0.1);
325+
}
326+
327+
.support-link i {
328+
font-size: 1.8rem;
329+
color: #00ffff;
330+
}
331+
332+
.support-link:hover i {
333+
transform: scale(1.1);
334+
}
335+
294336
@media (max-width: 768px) {
295337
.section {
296338
padding: 5rem 1rem 3rem;

0 commit comments

Comments
 (0)