Skip to content

Commit b2c1ec3

Browse files
committed
Have an alternative for non-JS users
1 parent d6af56e commit b2c1ec3

File tree

3 files changed

+43
-11
lines changed

3 files changed

+43
-11
lines changed

content/contributing-code/issue-finder/contents.lr

+7-1
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@ _model: page
22
---
33
_template: issue_finder.html
44
---
5-
title: Issues for the Community
5+
title: Issue Finder
6+
---
7+
description: Welcome to the CC developer community! We're absolutely delighted to have you here. If you want to contribute but are unsure where to start, you can use this issue finder to find an issue that matches your skills and experience level.
8+
---
9+
body:
10+
11+
Welcome to the CC developer community!

themes/vocabulary_theme/templates/issue_finder.html

+31-10
Original file line numberDiff line numberDiff line change
@@ -5,22 +5,43 @@
55
{% block body %}
66
<div class="issue-finder">
77
<div class="header">
8-
<div class="container">
9-
<h1>Issue Finder</h1>
10-
<p class="description">
11-
Welcome to the CC developer community! We're absolutely delighted to
12-
have you here. If you want to contribute but are unsure where to
13-
start, you can use this issue finder to find an issue that matches
14-
your skills and experience level.
15-
</p>
8+
<div class="container is-paddingless">
9+
<h1>{{ this.title }}</h1>
10+
<div class="description column is-9 is-paddingless">
11+
{{ this.description }}
12+
</div>
1613
</div>
1714
</div>
1815
<div class="body container">
19-
<div id="vue-app">Loading...</div>
16+
<div id="vue-app">
17+
{{ this.body }}
18+
<noscript>
19+
The issue finder requires JavaScript. You can try searching on GitHub
20+
using the links below.
21+
<ul>
22+
<li>
23+
<a href="https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22good+first+issue%22+-linked%3Apr">
24+
issues labeled "good first issue"
25+
</a>
26+
</li>
27+
<li>
28+
<a href="https://github.com/search?q=org%3Acreativecommons+is%3Aissue+is%3Aopen+label%3A%22help+wanted%22+-linked%3Apr">issues
29+
labeled "help wanted"
30+
</a>
31+
</li>
32+
<li>
33+
<a href="https://github.com/search?q=org%3Acreativecommons+is%3Apr+is%3Aopen+label%3A%22help+wanted%22">
34+
PRs labeled "help wanted"
35+
</a>
36+
</li>
37+
</ul>
38+
</noscript>
39+
</div>
2040
</div>
2141
</div>
2242
<script>
2343
// Transfer all issues to the JavaScript domain
24-
window.issues = {{ bag('issues.issues')|tojson }}
44+
window.issues =
45+
{{ bag('issues.issues')|tojson }}
2546
</script>
2647
{% endblock %}

webpack/sass/issue-finder-page.scss

+5
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,10 @@
77
@extend .padding-bottom-xxl;
88

99
line-height: 1.8125;
10+
11+
ul {
12+
list-style: disc;
13+
padding-left: 2em;
14+
}
1015
}
1116
}

0 commit comments

Comments
 (0)