-
Notifications
You must be signed in to change notification settings - Fork 2
/
contribution.html
65 lines (64 loc) · 3.56 KB
/
contribution.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
---
layout: page
title: "Contribution to Arena of Evolution: Red Tides Strategy"
description: Have found a new strategy and want to share with others? Thank you, we need your contribution!
comment: no
---
<p>Our website is lack of content. We need your help!</p>
<h3>Can you use Git?</h3>
<div class="row">
<div class="col-md-6">
<div class="feature-link"><a id="issue-toggle" onclick="showissue()">No. I'm a Human!</a></div>
</div>
<div class="col-md-6">
<div class="feature-link"><a id="git-toggle" onclick="showgit()">Yes. I'm also a Developer!</a></div>
</div>
</div>
<div id="issue" class="hidden">
<p>You can contribute your experience by sharing tips, strategy, guide,... You just have to follow these simple steps to get your post appear on the site!</p>
<div>
<h3>Step 1: Go to this <a href="https://github.com/evolutionchess/evolutionchess.github.io/issues" target="_blank" title="Issues">link</a> and create an issue</h3>
<img src="assets/img/pages/contribution/issue-1.png">
<h3>Step 2: Set the label</h3>
<img src="assets/img/pages/contribution/issue-2.png">
<h3>Step 3: Write your content</h3>
<img src="assets/img/pages/contribution/issue-3.png">
<h3>Step 4: Submit!</h3>
<img src="assets/img/pages/contribution/issue-4.png">
</div>
</div>
<div id="git" class="hidden">
<p>Arena of Evolution Strategy Guide is a Jekyll website hosted on Github. Here is the repository link: <a href="{{ site.repository_link }}" target="_blank">evolutionchess.github.io</a></p>
<h3>You don't have to submit an issue</h3>
<p>Issues is not a place for sharing content, we sorry for it! But sadly not everyone can use Jekyll and Git so <a href="#" onclick="showissue()">we borrow Issues as a place to post contribution</a>. Feel free to share your content via Issue, or create a new post directly in the repository's source code (it can be a HTML or a Markdown file inside <a href="https://github.com/evolutionchess/evolutionchess.github.io/tree/master/_posts" target="_blank">_posts folder</a>) and make a pull request. We will take a review and your post will be published as soon as we saw it.</p>
<p>If you need any special permission, tell us your Github account and we will grant it for you!</p>
<h3>Feel free to contribute anything, from content to source code!</h3>
<p>Our website have weird looking, it's true. Feel free to be our designer, write some css and make a pull request. We love having your contribution!</p>
<p>Our stats is outdated, sorry about that! Feel free to update the stats, they are stored as csv files inside <a href="https://github.com/evolutionchess/evolutionchess.github.io/tree/master/_data" target="_blank">_data folder</a>. You can send us a pull request after you finish the update or tell us to grant you write permisson and you can push the code directly into the master branch.</p>
</div>
<script>
issue = {
content: document.getElementById('issue'),
toggle: document.getElementById('issue-toggle')
}
git = {
content: document.getElementById('git'),
toggle: document.getElementById('git-toggle')
}
function hideall() {
issue.content.classList.add('hidden');
issue.toggle.classList.remove('stripped');
git.content.classList.add('hidden');
git.toggle.classList.remove('stripped');
}
function showissue() {
hideall();
issue.content.classList.remove('hidden');
issue.toggle.classList.add('stripped');
}
function showgit() {
hideall();
git.content.classList.remove('hidden');
git.toggle.classList.add('stripped');
}
</script>