Skip to content

Commit ea9f301

Browse files
committed
Point to Open Source Friday
- Add Open Source Friday to the "How To Contribute" list and tweak the wording to suggest that it's more than just discovery (this applies to other projects in that list too) - On Fridays show a link to Open Source Friday on the index page
1 parent fa5d8fb commit ea9f301

File tree

3 files changed

+14
-1
lines changed

3 files changed

+14
-1
lines changed

_articles/how-to-contribute.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,9 +210,10 @@ You might scan a README and find a broken link or a typo. Or you're a new user a
210210

211211
> [28% of casual contributions](http://www.igor.pro.br/publica/papers/saner2016.pdf) to open source are documentation, such as a typo fix, reformatting, or writing a translation.
212212
213-
You can also use one of the following resources to help you discover new projects:
213+
You can also use one of the following resources to help you discover and contribute to new projects:
214214

215215
* [GitHub Explore](https://github.com/explore/)
216+
* [Open Source Friday](https://opensourcefriday.com)
216217
* [First Timers Only](http://www.firsttimersonly.com/)
217218
* [Your First PR](https://yourfirstpr.github.io/)
218219
* [CodeTriage](https://www.codetriage.com/)

assets/js/index.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,11 @@
1515

1616
$(selector).wrapInner('<span/>');
1717
})();
18+
19+
(function() {
20+
var FRIDAY = 5;
21+
var today = new Date();
22+
if (FRIDAY == today.getDay()) {
23+
$("#opensourcefriday").show();
24+
}
25+
})();

index.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ <h1 class="alt-h1">Open Source Guides</h1>
2525
<p class="alt-lead text-gray mb-md-5 col-md-8 mx-auto">
2626
Open source software is made by people just like you. Learn how to launch and grow your project.
2727
</p>
28+
<p class="alt-lead" id="opensourcefriday" style="display:none">
29+
It's Friday! Invest a few hours contributing to the software you use and love:
30+
<a href='https://opensourcefriday.com'>opensourcefriday.com</a>
31+
</p>
2832
</div>
2933
</header>
3034

0 commit comments

Comments
 (0)