Skip to content

Commit fa71c40

Browse files
committed
Add featured projects to site + minor documentation changes.
1 parent 78ccb3f commit fa71c40

File tree

6 files changed

+45
-6
lines changed

6 files changed

+45
-6
lines changed

assets/static/style.css

+13
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,19 @@ h2 {
4646
font-weight: 600;
4747
color: #333333;
4848
}
49+
.featured-project-card {
50+
background-color: #fff;
51+
border-left-color: #00b5da !important;
52+
border-left-width: 10px;
53+
padding-left: 0px;
54+
min-width: 20rem;
55+
max-width: 20rem;
56+
}
57+
.badge-featured-project {
58+
background-color: #00b5da;
59+
color: white;
60+
font-size: 0.8rem;
61+
}
4962
.project-idea-header {
5063
background-color: #fff;
5164
border-color: #00b5da;

content/community/contents.lr

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,6 @@ Join the [current CC Developers mailing list here](https://groups.google.com/a/c
2424
The archives of our [previous mailing list are here](https://lists.ibiblio.org/pipermail/cc-devel/).
2525

2626
## IRC
27-
IRC isn't very active anymore, but we have two channels on [Freenode](https://freenode.net/).
27+
We have two channels on [Freenode](https://freenode.net/).
2828
- `#creativecommons-dev` – for technical discussion
2929
- `#creativecommons` – for general discussion (this is mirrored to the `#general` channel on Slack, use only if you want to reach 4000+ people)

content/gsoc-2019/student-expectations/contents.lr

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ Here's what we expect of students that Creative Commons is mentoring. If you hav
88

99
## During the application process
1010

11-
* Read the [official GSoC student guide](https://google.github.io/gsocguides/student/).
11+
* Read the [official GSoC student guide](https://google.github.io/gsocguides/student/) and the [GSoC FAQ](https://developers.google.com/open-source/gsoc/faq).
1212
* Review our [Project Ideas](/gsoc-2019/project-ideas/all) and ask questions about projects you're potentially interested in on our `#cc-gsoc` Slack channel or developer mailing list.
1313
* Once you've decided on a project, follow our [Application Instructions](/gsoc-2019/application-instructions) to write a draft proposal.
1414
* It is a good idea to learn about what Creative Commons does to provide context to your proposal. Some resources:

content/projects/link-external.svg

+1
Loading

content/projects/mark-github.svg

+1
Loading

templates/project_list.html

+28-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,35 @@
11
{% extends "layout.html" %}
22
{% block title %}{{ this.title }}{% endblock %}
33
{% 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>
530
<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.
732
</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>
933
<table class="table table-striped">
1034
<thead class="thead-dark">
1135
<tr>
@@ -34,7 +58,7 @@
3458
<td>Not specified</td>
3559
{% endif %}
3660
<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 %}
3862
</td>
3963
</tr>
4064
{% endfor %}

0 commit comments

Comments
 (0)