|
1 | 1 | {% extends "layout.html" %}
|
2 | 2 | {% block title %}{{ this.title }}{% endblock %}
|
3 | 3 | {% block body %}
|
4 |
| - {{ this.body }} |
| 4 | + <p>This is a list of all our open source software projects at Creative Commons.</p> |
| 5 | + <p>Please read the <a href="/contributing-code">Contributing Code</a> page for general information on how to contribute code to these projects. For contribution guidelines specific to a project, please read tha README and the CONTRIBUTING file in the project repository. Not all repositories have these files yet (we're working on it!); if you'd like to contribute to a repository with no guidelines available, please talk to us through <a href="/community">one of our community forums</a> or open a GitHub issue.</p> |
| 6 | + <h2>Featured Projects</h2> |
| 7 | + <div class="card-deck"> |
| 8 | + {% for repo in bag('repos.repos') %} |
| 9 | + {% if repo.featured %} |
| 10 | + <div class="card featured-project-card border-dark mb-4"> |
| 11 | + <div class="card-body"> |
| 12 | + <h5 class="card-title"><strong>{{ repo.english_name }}</strong> |
| 13 | + <div class="float-right"> |
| 14 | + <a class="btn btn-outline-secondary" href="{{ repo.url }}"><img src="{{ this.attachments.get('mark-github.svg')|url }}" alt="GitHub"/></a> |
| 15 | + {% if repo.website %} |
| 16 | + <a class="btn btn-outline-secondary" href="{{ repo.website }}"><img src="{{ this.attachments.get('link-external.svg')|url }}" alt="website"/></a> |
| 17 | + {% endif %} |
| 18 | + </div> |
| 19 | + </h5> |
| 20 | + <p class="card-text">{{ repo.description }}</p> |
| 21 | + {% for technology in repo.technologies %} |
| 22 | + <span class="badge badge-featured-project mr-1 mb-1">{{ technology }}</span> |
| 23 | + {% endfor %} |
| 24 | + </div> |
| 25 | + </div> |
| 26 | + {% endif %} |
| 27 | + {% endfor %} |
| 28 | + </div> |
| 29 | + <h2>All Projects</h2> |
5 | 30 | <div class="alert alert-warning" role="alert">
|
6 |
| - <strong>Warning:</strong> This page is under construction. Some of these projects have incomplete (or non-existent) documentation, broken links, and/or are no longer maintained or supported. We're working on fixing that and this notice will be removed once the clean-up process is complete. |
| 31 | + <strong>Warning:</strong> This list is under construction. Some of these projects have incomplete (or non-existent) documentation, broken links, and/or are no longer maintained or supported. We're working on fixing that and this notice will be removed once the clean-up process is complete. |
7 | 32 | </div>
|
8 |
| - <p>This is the list of all repositories on the <a href="https://github.com/creativecommons">Creative Commons GitHub organization</a>, which hosts all our currently active software projects.</p> |
9 | 33 | <table class="table table-striped">
|
10 | 34 | <thead class="thead-dark">
|
11 | 35 | <tr>
|
|
34 | 58 | <td>Not specified</td>
|
35 | 59 | {% endif %}
|
36 | 60 | <td style="min-width: 12rem;">
|
37 |
| - <a class="btn btn-dark btn-sm" href="{{ repo.url }}">GitHub</a>{% if repo.website %} <a class="btn btn-info btn-sm" href="{{ repo.website }}">Website</a>{% endif %} |
| 61 | + <a class="btn btn-outline-secondary btn-sm" href="{{ repo.url }}"><img src="{{ this.attachments.get('mark-github.svg')|url }}" alt="GitHub"/> GitHub</a>{% if repo.website %} <a class="btn btn-outline-secondary btn-sm" href="{{ repo.website }}"><img src="{{ this.attachments.get('link-external.svg')|url }}" alt="website"/> Website</a>{% endif %} |
38 | 62 | </td>
|
39 | 63 | </tr>
|
40 | 64 | {% endfor %}
|
|
0 commit comments