Skip to content

Commit 04d05ae

Browse files
Add contribution options to footer
1 parent b47f63e commit 04d05ae

File tree

1 file changed

+24
-4
lines changed

1 file changed

+24
-4
lines changed

index.html

Lines changed: 24 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -162,22 +162,36 @@
162162
}
163163

164164
.footer-phrase {
165-
margin-bottom: 0.5rem;
165+
margin-bottom: 1.5rem;
166166
}
167167

168168
.footer-phrase .heart {
169169
color: #dc3545;
170170
}
171171

172-
.app-footer a {
172+
.footer-support {
173+
margin-bottom: 1rem;
174+
font-size: 0.95rem;
175+
}
176+
177+
.footer-support a {
173178
color: var(--pico-primary);
174179
text-decoration: none;
175180
}
176181

177-
.app-footer a:hover {
182+
.footer-support a:hover {
178183
text-decoration: underline;
179184
}
180185

186+
.footer-buttons {
187+
display: flex;
188+
gap: 1rem;
189+
justify-content: center;
190+
align-items: center;
191+
flex-wrap: wrap;
192+
margin-top: 1rem;
193+
}
194+
181195
</style>
182196
</head>
183197
<body>
@@ -225,7 +239,13 @@ <h1>Swim Check 🏊</h1>
225239
<!-- Footer -->
226240
<footer class="app-footer">
227241
<p class="footer-phrase" id="footerPhrase">Made with <span class="heart">❤️</span> in war-torn PDX</p>
228-
<p><a href="https://github.com/ironprogrammer/swimcheck" target="_blank" rel="noopener noreferrer">Contribute</a></p>
242+
<div class="footer-support">
243+
<p>Do you find Swim Check useful?<br>Consider <a href="https://github.com/ironprogrammer/swimcheck" target="_blank" rel="noopener noreferrer">contributing on GitHub</a> or buying me a coffee!</p>
244+
</div>
245+
<div class="footer-buttons">
246+
<iframe src="https://ghbtns.com/github-btn.html?user=ironprogrammer&repo=swimcheck&type=star&count=true&size=large" frameborder="0" scrolling="0" width="170" height="30" title="GitHub"></iframe>
247+
<a href="https://www.buymeacoffee.com/ironprogrammer" target="_blank"><img src="https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png" alt="Buy Me A Coffee" style="height: 60px !important;width: 217px !important;"></a>
248+
</div>
229249
</footer>
230250
</main>
231251

0 commit comments

Comments
 (0)