Add project based mentorship (#115)

* Start working on project mentorship section

* add crates.io section

* fix description for crates.io

* Update _includes/projects.md

Co-Authored-By: Sunjay Varma <sunjay@users.noreply.github.com>

* split experience to an independent bullet

* hopefully make it work with the entire website, how to test??

* fix global lets

* remove crates section

Co-authored-by: Sunjay Varma <sunjay@users.noreply.github.com>
This commit is contained in:
Jane Lusby
2020-08-04 11:16:58 -07:00
committed by GitHub
parent 01fa43198d
commit 7c0d17c5c6
3 changed files with 42 additions and 3 deletions

View File

@@ -42,7 +42,13 @@ Mentors are not expected to...
* Be paid. This is a volunteer service. Please do not plan on asking mentees to pay you for your time.
## Mentors
## Project Mentorship
See https://rustbeginners.github.io/awesome-rust-mentors/
{% include projects.md %}
## Individual Mentorship
See https://rustbeginners.github.io/awesome-rust-mentors/

View File

@@ -279,8 +279,8 @@
<h1 id="mentors-end"></h1>
<script>
let people = [];
let e = document.getElementById("mentors");
var people = [];
var e = document.getElementById("individual-mentorship");
while (e.nextSibling.nodeName != 'H3') e.nextSibling.remove();
e = e.nextSibling;
do {

33
_includes/projects.md Normal file
View File

@@ -0,0 +1,33 @@
### [Turtle](https://turtle.rs/) - Create Animated Drawings Quickly and Easily in Rust
* **Repo**: https://github.com/sunjay/turtle
* **Contact**: https://turtle.zulipchat.com/
* **Spoken Languages**: English, _Canadian English_
* **Recommended Experience**: Beginner - Intermediate
* **Topics**: 2D Computer Graphics, Game Engine, Interprocess-Communication, Async, WebAssembly
<h1 id="projects-end"></h1>
<script>
var people = [];
var e = document.getElementById("project-mentorship");
while (e.nextSibling.nodeName != 'H3') e.nextSibling.remove();
e = e.nextSibling;
do {
let person = [];
do {
person.push(e);
e = e.nextSibling;
} while (!/^H[123]$/i.test(e.nodeName));
people.push(person);
} while (e.nodeName == 'H3');
for (let i = people.length - 1; i > 0; i--) {
const j = Math.floor(Math.random() * (i + 1));
[people[i], people[j]] = [people[j], people[i]];
}
people.forEach(person => {
person.forEach(x => {
e.parentNode.insertBefore(x, e);
});
});
e.remove();
</script>