Skip to content

Commit 37fdb5a

Browse files
committed
Added landing page for Google Summer of Code.
1 parent d6a3eb0 commit 37fdb5a

File tree

17 files changed

+46
-20
lines changed

17 files changed

+46
-20
lines changed

assets/static/style.css

+7
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,10 @@ body {
4444
background-color: #00b5da;
4545
border: none;
4646
}
47+
48+
.dropdown:hover .dropdown-menu {
49+
display: block;
50+
}
51+
.dropdown-menu {
52+
margin-top: 0px;
53+
}

content/contents.lr

+3-5
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
_model: page
22
---
3-
title: Home
3+
title: Technology at Creative Commons
44
---
55
body:
66

7-
### Getting Involved with Technology at Creative Commons
8-
97
Our core mission at Creative Commons includes [supporting technical infrastructure to maximize creativity, sharing, and innovation](https://creativecommons.org/about/mission-and-vision/) and we've been building free software to that end for more than a decade. That's a lot of projects and the tech team isn't very big so we really appreciate volunteers who are willing to help us build or test our tools and products.
108

119
We just started an effort to make individual projects easier to find and contribute to, but for now, you can browse through [the repositories on our main GitHub organization](https://github.com/creativecommons/) to see what we're working on.
1210

1311
<hr/>
1412

15-
#### Give us feedback about our software
13+
## Get Involved
1614

1715
Using our tools (such as [the new CC Search beta](http://ccsearch.creativecommons.org/)) and letting us know how it's working for you is fantastic! We're looking for bug reports, feature requests, general comments – any form of feedback is excellent, no matter how small.
1816

1917
You can send us feedback by [creating a GitHub issue](https://help.github.com/articles/creating-an-issue/) on the repository corresponding to the project. If you're not sure what that means or you don't know the correct repository, please create an issue [on the main creativecommons.org repository](https://github.com/creativecommons/creativecommons.org/issues). If you don't have a GitHub account, you'll need to make one to do this.
2018

2119
You can also give us feedback in the `#cc-usability` channel [on the CC Slack](https://creativecommons.org/2016/10/18/slack-announcement/).
2220

23-
#### Contribute code
21+
### Contribute code
2422

2523
We are working on contribution guidelines and documentation for our projects. Watch this space!

content/gsoc-2019/contents.lr

+9
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
_model: page
2+
---
3+
title: Google Summer of Code 2019
4+
---
5+
body:
6+
7+
Creative Commons is applying to be a mentoring organization for [Google Summer of Code 2019](https://summerofcode.withgoogle.com/).
8+
9+
Check out our [Project Ideas page](/gsoc-2019/project-ideas)!
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_model: project-ideas
2+
---
3+
title: Project Ideas for GSoC 2019

content/project-ideas/contents.lr

-7
This file was deleted.

templates/layout.html

+19-6
Original file line numberDiff line numberDiff line change
@@ -19,16 +19,28 @@
1919
</button>
2020

2121
<div class="collapse navbar-collapse" id="navbarSupportedContent">
22-
<ul class="navbar-nav ml-auto">
22+
<ul class="navbar-nav">
2323
<li class="nav-item{% if this._path == '/' %} active{% endif
2424
%}"><a class="nav-link" href="{{ '/'|url }}">Home</a></li>
25+
<!-- UNCOMMENT THIS FOR NON-DROPDOWN NAV ITEMS
2526
{% for href, title in [
26-
['/project-ideas', 'GSoC Project Ideas'],
27+
['/url', 'Link Text'],
2728
] %}
28-
<li class="nav-item{% if this.is_child_of(href) %} active{% endif
29-
%}"><a class="nav-link"
30-
href="{{ href|url }}">{{ title }}</a></li>
31-
{% endfor %}
29+
<li class="nav-item{% if this.is_child_of(href) %} active{% endif%}">
30+
<a class="nav-link" href="{{ href|url }}">{{ title }}</a>
31+
</li>
32+
{% endfor %} -->
33+
<li class="nav-item dropdown {% if this.is_child_of('/gsoc-2019') %} active{% endif%}">
34+
<a class="nav-link" href="/gsoc-2019/" id="navbarDropdown" role="button">Google Summer of Code 2019</a>
35+
<div class="dropdown-menu" aria-labelledby="navbarDropdown">
36+
{% for href, title in [
37+
['/gsoc-2019/project-ideas', 'Project Ideas'],
38+
] %}
39+
<a class="dropdown-item" href="{{ href|url }}">{{ title }}</a>
40+
{% endfor %}
41+
<!-- <a class="dropdown-item" href="#">Action</a> -->
42+
</div>
43+
</li>
3244
</ul>
3345
</div>
3446
</nav>
@@ -42,6 +54,7 @@
4254
<p class="card-text">This site is under construction and information here may not be accurate. This notice will be removed when the site is ready.</p>
4355
</div>
4456
</div>
57+
<h1>{{ this.title }}</h1>
4558
{% block body %}{% endblock %}
4659
</div>
4760
</div>

templates/project-ideas.html

+5-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,10 @@
22
{% block title %}{{ this.title }}{% endblock %}
33

44
{% block body %}
5-
<a name="ideas-top"><h1>Google Summer of Code 2019 Project Ideas</h1></a>
6-
{% set ideas = site.query('/project-ideas/project-ideas-list').include_undiscoverable(true).all() %}
5+
<a name="ideas-top"></a>
6+
<p class="text-muted">This is the project idea list for the <a href="/gsoc-2019">Google Summer of Code 2019</a> program.
7+
<hr/>
8+
{% set ideas = site.query('/gsoc-2019/project-ideas/project-ideas-list').include_undiscoverable(true).all() %}
79
<div class="mt-4">
810
<div>
911
<ul class="list-unstyled m3">
@@ -12,6 +14,7 @@
1214
{% endfor %}
1315
</ul>
1416
</div>
17+
<hr/>
1518
{% for idea in ideas %}
1619
<div class="project-idea-card m-1 mb-4">
1720
<h2 class="card-header"><a name="{{ idea._slug }}">{{ idea.title }}</a></h5>

0 commit comments

Comments
 (0)