Skip to content

Commit 746409b

Browse files
committed
Add sponsor note
1 parent 121cd95 commit 746409b

File tree

4 files changed

+62
-33
lines changed

4 files changed

+62
-33
lines changed

sass/_layout.scss

+4
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,10 @@ footer {
2929
text-align: center;
3030
a {
3131
color: $color-fg-secondary;
32+
33+
&:hover {
34+
text-decoration: underline;
35+
}
3236
}
3337

3438
@media screen and (max-width: $break-large) {

sass/_responsive.scss

+31-1
Original file line numberDiff line numberDiff line change
@@ -69,5 +69,35 @@ main {
6969
}
7070
}
7171
}
72-
72+
73+
@media (min-width: $break-extra-large) {
74+
#sponsor #section-tiers .tier-cards {
75+
flex-direction: row;
76+
.tier-card {
77+
.tier-card-header {
78+
h1 {
79+
font-size: 1.0rem;
80+
margin-bottom: 0.65rem;
81+
}
82+
small {
83+
font-size: 0.75rem;
84+
}
85+
.tier-card-content {
86+
p {
87+
font-size: 1.35rem;
88+
}
89+
li {
90+
font-size: 0.85rem;
91+
}
92+
}
93+
}
94+
}
95+
}
96+
#sponsor #section-contribution .contribution {
97+
.donation-options {
98+
flex-direction: row;
99+
gap: 10px;
100+
}
101+
}
102+
}
73103
}

sass/sponsor.scss

+21-32
Original file line numberDiff line numberDiff line change
@@ -123,30 +123,7 @@
123123
}
124124
}
125125
}
126-
@media (min-width: 1280px) {
127-
.tier-cards {
128-
flex-direction: row;
129-
.tier-card {
130-
.tier-card-header {
131-
h1 {
132-
font-size: 1.0rem;
133-
margin-bottom: 0.65rem;
134-
}
135-
small {
136-
font-size: 0.75rem;
137-
}
138-
}
139-
.tier-card-content {
140-
p {
141-
font-size: 1.35rem;
142-
}
143-
li {
144-
font-size: 0.85rem;
145-
}
146-
}
147-
}
148-
}
149-
}
126+
150127
}
151128

152129
.common-hr {
@@ -246,16 +223,28 @@
246223
opacity: 1;
247224
margin-bottom: 20px;
248225
}
249-
}
250-
251-
@media (min-width: 1280px) {
252-
.contribution {
253-
.donation-options {
254-
flex-direction: row;
255-
gap: 10px;
226+
227+
.sponsor-note {
228+
margin-top: 20px;
229+
padding: 10px;
230+
background-color: $color-bg; /* Light background to stand out */
231+
border-left: 4px solid #ffcc00; /* Accent border to draw attention */
232+
font-size: 0.9rem; /* Slightly smaller than body text */
233+
color: #ccc; /* Darker text for readability */
234+
line-height: 1.6;
235+
236+
strong {
237+
color: #f7931a; /* Highlight the word "Note" in a bolder color */
238+
}
239+
240+
a {
241+
color: $color-fg-secondary;
242+
243+
&:hover {
244+
text-decoration: underline;
245+
}
256246
}
257247
}
258248
}
259249
}
260-
261250
}

templates/sponsor.html

+6
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ <h2 class="contribution-title">
152152
<i class="fa fa-github"></i> Sponsor on GitHub
153153
</a>
154154
</div>
155+
<p class="sponsor-note">
156+
<strong>Note:</strong> The current sponsorship link directs to my brother, <a href="https://github.com/Chemaclass" target="_blank">Jose María Valera Reales (Chemaclass)</a>. You will be supporting his amazing work until I set up my own sponsorship pages.
157+
</p>
155158
</div>
156159

157160
<!-- One-Time Contribution Section -->
@@ -191,6 +194,9 @@ <h2 class="contribution-title">
191194
<i class="fa-solid fa-bolt"></i> Lightning
192195
</a>
193196
</div>
197+
<p class="sponsor-note">
198+
<strong>Note:</strong> The current sponsorship links direct to my brother, <a href="https://github.com/Chemaclass" target="_blank">Jose María Valera Reales (Chemaclass)</a>. You will be supporting his amazing work until I set up my own sponsorship pages.
199+
</p>
194200
</div>
195201
</section>
196202
</div>

0 commit comments

Comments
 (0)