Skip to content

Commit f02c44c

Browse files
Nguyễn Tuấn Việtclaude
andcommitted
Remove Patreon button and improve font styling
- Remove Patreon support button from website - Keep only Buy Me a Coffee donation option - Improve typography: reduce font-weight from 600 to 400 for lighter look - Soften button shadow for more elegant appearance - Adjust border-radius and padding for better visual balance 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
1 parent ba40dec commit f02c44c

2 files changed

Lines changed: 18 additions & 71 deletions

File tree

src/components/BuyMeACoffee/index.tsx

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,15 @@ import styles from './styles.module.css';
33

44
export default function BuyMeACoffee(): JSX.Element {
55
return (
6-
<div className={styles.supportContainer}>
6+
<div className={styles.coffeeContainer}>
77
<a
88
href="https://www.buymeacoffee.com/brewkits"
99
target="_blank"
1010
rel="noopener noreferrer"
1111
className={styles.coffeeButton}
1212
>
1313
<span className={styles.coffeeIcon}></span>
14-
<span className={styles.buttonText}>Buy Me a Coffee</span>
15-
</a>
16-
17-
<a
18-
href="https://www.patreon.com/brewkits"
19-
target="_blank"
20-
rel="noopener noreferrer"
21-
className={styles.patreonButton}
22-
>
23-
<span className={styles.patreonIcon}>🎨</span>
24-
<span className={styles.buttonText}>Support on Patreon</span>
14+
<span className={styles.coffeeText}>Buy Me a Coffee</span>
2515
</a>
2616
</div>
2717
);
Lines changed: 16 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -1,65 +1,40 @@
1-
.supportContainer {
1+
.coffeeContainer {
22
display: flex;
33
justify-content: center;
44
align-items: center;
5-
gap: 1rem;
65
padding: 2rem 0;
7-
flex-wrap: wrap;
86
}
97

10-
/* Common button styles */
11-
.coffeeButton,
12-
.patreonButton {
8+
.coffeeButton {
139
display: inline-flex;
1410
align-items: center;
1511
gap: 0.5rem;
16-
padding: 0.75rem 1.5rem;
17-
border-radius: 8px;
12+
padding: 0.75rem 1.75rem;
13+
background: linear-gradient(135deg, #FFDD00 0%, #FBB034 100%);
14+
color: #000;
15+
border-radius: 10px;
1816
text-decoration: none;
19-
font-weight: 600;
17+
font-weight: 400;
2018
font-size: 1rem;
2119
transition: all 0.3s ease;
22-
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
23-
}
24-
25-
/* Buy Me a Coffee styling */
26-
.coffeeButton {
27-
background: linear-gradient(135deg, #FFDD00 0%, #FBB034 100%);
28-
color: #000;
20+
box-shadow: 0 2px 8px rgba(251, 176, 52, 0.2);
2921
}
3022

3123
.coffeeButton:hover {
3224
transform: translateY(-2px);
33-
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
25+
box-shadow: 0 4px 12px rgba(251, 176, 52, 0.3);
3426
text-decoration: none;
3527
color: #000;
3628
}
3729

38-
/* Patreon styling */
39-
.patreonButton {
40-
background: linear-gradient(135deg, #FF424D 0%, #FF5B61 100%);
41-
color: #fff;
42-
}
43-
44-
.patreonButton:hover {
45-
transform: translateY(-2px);
46-
box-shadow: 0 6px 12px rgba(255, 66, 77, 0.3);
47-
text-decoration: none;
48-
color: #fff;
49-
}
50-
5130
.coffeeIcon {
52-
font-size: 1.25rem;
31+
font-size: 1.3rem;
5332
animation: steam 2s ease-in-out infinite;
5433
}
5534

56-
.patreonIcon {
57-
font-size: 1.25rem;
58-
animation: pulse 2s ease-in-out infinite;
59-
}
60-
61-
.buttonText {
62-
letter-spacing: 0.025em;
35+
.coffeeText {
36+
letter-spacing: 0.01em;
37+
font-weight: 400;
6338
}
6439

6540
@keyframes steam {
@@ -71,27 +46,9 @@
7146
}
7247
}
7348

74-
@keyframes pulse {
75-
0%, 100% {
76-
transform: scale(1);
77-
}
78-
50% {
79-
transform: scale(1.1);
80-
}
81-
}
82-
8349
@media (max-width: 768px) {
84-
.supportContainer {
85-
flex-direction: column;
86-
gap: 0.75rem;
87-
}
88-
89-
.coffeeButton,
90-
.patreonButton {
91-
padding: 0.625rem 1.25rem;
92-
font-size: 0.9rem;
93-
width: 100%;
94-
max-width: 250px;
95-
justify-content: center;
50+
.coffeeButton {
51+
padding: 0.625rem 1.5rem;
52+
font-size: 0.95rem;
9653
}
9754
}

0 commit comments

Comments
 (0)