Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add jobs page #4079

Merged
merged 3 commits into from
Apr 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/app/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
re_path(r'^subscribe/$', retail.views.subscribe, name='subscribe'),
re_path(r'^about/?', retail.views.about, name='about'),
re_path(r'^mission/?', retail.views.mission, name='mission'),
re_path(r'^jobs/?', retail.views.jobs, name='jobs'),
re_path(r'^vision/?', retail.views.vision, name='vision'),
re_path(r'^products/?', retail.views.products, name='products'),
path('not_a_token', retail.views.not_a_token, name='not_a_token'),
Expand Down
1 change: 1 addition & 0 deletions app/assets/v2/images/jobs/coathanger.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/v2/images/jobs/human_pyramid.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/v2/images/jobs/open_source.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/v2/images/jobs/palm_tree.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/v2/images/jobs/wrench_hand.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
163 changes: 163 additions & 0 deletions app/retail/templates/jobs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,163 @@
{% comment %}
Copyright (C) 2019 Gitcoin Core

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as published
by the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License
along with this program. If not,see
<http://www.gnu.org/licenses/>.

{% endcomment %}
{% load i18n static %}
<!DOCTYPE html>
<html lang="en">

<head>
{% include 'shared/head.html' %}
{% include 'shared/cards_pic.html' %}
<meta name="title" content="Jobs | Gitcoin">
<meta name="description" content="Jobs at Gitcoin">
</head>

<body class="{{ active }} g-font-muli">
{% include 'shared/tag_manager_2.html' %}
{% include 'shared/top_nav.html' with class='d-md-flex' %}
<div class="container-fluid header">
{% include 'shared/nav.html' %}
{% include 'shared/minihero.html' with h1='Jobs' position_h1_below_logo=1 %}
</div>

<div class="container" id="built_by">
<div class="row py-5 justify-content-center">
<div class="col-lg-5 pt-3 align-items-center">
<h5 class="text-center">
{% trans "We are built by & for coders" %}
</h5>
<div class="pt-4 text-center">
<img class="icon" src="{% static "v2/images/jobs/wrench_hand.svg" %}" />
</div>
</div>
<div class="col-lg-5 pt-3 align-items-center">
<div class="text-center">
<h5>{% trans "Gitcoin is built with Gitcoin" %}</h5>
<h6>{% trans "(we dogfood)" %}</h6>
</div>
<div class="text-center">
<img class="icon" src="{% static "v2/images/jobs/human_pyramid.svg" %}" />
</div>
</div>
</div>
</div>

<div class="container-fluid bg-light" id="we_believe_in">
<div class="row justify-content-center">
<div class="col-lg-7 py-3 align-items-center">
<div class="row py-3 justify-content-center align-items-center">
<div class="col-lg-7 text-center">
<h5>
{% blocktrans %}
We believe in <strong>try-before-you-buy hiring</strong>.
{% endblocktrans %}
</h5>
<h6>{% trans "Want to show off your chops? Contribute to some bounties before applying to jobs." %}</h6>
</div>
<div class="col-lg-3 d-flex justify-content-center">
<img class="icon" src="{% static "v2/images/jobs/coathanger.svg" %}" />
</div>
</div>

<div class="row py-3 justify-content-center align-items-center">
<div class="col-lg-7 text-center">
<h5>
{% blocktrans %}
We believe in <strong>remote work</strong>.
{% endblocktrans %}
<h6>{% trans "We live and travel all over the world." %}</h6>
</div>
<div class="col-lg-3 d-flex justify-content-center">
<img class="icon" src="{% static "v2/images/jobs/palm_tree.svg" %}" />
</div>
</div>

<div class="row py-3 justify-content-center align-items-center">
<div class="col-lg-7 text-center">
<h5>
{% blocktrans %}
We believe in <strong>open source</strong>.
{% endblocktrans %}
</h5>
<h6>{% trans "Gitcoin is completely accessible to the public." %}</h6>
</div>
<div class="col-lg-3 d-flex justify-content-center">
<img class="icon" src="{% static "v2/images/jobs/open_source.svg" %}" />
</div>
</div>
</div>
</div>

<div class="row pb-5 justify-content-center">
<a class="button button--primary" role="button" href="https://gitcoin.co/mission"
target="_blank" rel="noopener noreferrer">
{% trans "Click to see our values" %}
</a>
</div>
</div>

<div class="container" id="get_started">
<div class="row pt-5 pb-3 justify-content-center">
<div class="col-lg-auto align-items-center">
<h4 class="text-center">
{% trans "Want to try out working with us? Get started with some Bounties!" %}
</h4>
</div>
</div>
<div class="row mt-3 mb-5 pt-1 pb-5 justify-content-center">
<a class="button button--primary" role="button" href="https://gitcoin.co/explorer"
target="_blank" rel="noopener noreferrer">
{% trans "Check out our Issue Explorer" %}
</a>
</div>
</div>

<div class="container-fluid bg-light" id="job-listings">
<div class="row pt-3 justify-content-center">
<div class="col-lg-auto pb-4 text-center">
<h4>{% trans "Already done a few bounties?"%}</h4>
<h6>{% trans "The best way to apply is below"%}</h6>
</div>
</div>
<div class="row py-4 justify-content-center">
{% for job in job_listings %}
<div class="col-lg-3 col-xs-3 text-center">
<h5>{{ job.title }}</h5>
<div class="row px-5 mt-0">
<div class="col-lg-auto">
<span>{{ job.description|join:" " }}</span>
</div>
</div>
<div class="row mt-5 pt-1 pb-5 justify-content-center">
<a class="button button--primary-o" role="button" href="{{ job.link }}"
target="_blank" rel="noopener noreferrer">
{% trans "Apply" %}
</a>
</div>
</div>
{% endfor %}
</div>
</div>


{% include 'shared/footer.html' %}
{% include 'shared/analytics.html' %}
{% include 'shared/footer_scripts.html' %}
{% include 'shared/messages.html' %}
</body>
</html>
4 changes: 2 additions & 2 deletions app/retail/templates/products.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,8 +100,8 @@
<span class="product-desc text-center my-2">
{% trans "Interested in working with us?" %}
</span>
<a href="" class="button button-bounties text-center display-5 ">
{% trans "Get in touch" %}
<a href="{% url 'jobs' %}" class="button button-bounties text-center display-5 ">
{% trans "Check our Jobs Page" %}
</a>
<BR>
<a href="{% url 'mission' %}" class="button button-bounties text-center display-5 ">
Expand Down
1 change: 1 addition & 0 deletions app/retail/templates/shared/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ <h5>{% trans "Business" %}</h5>
<a href="{% url "mission" %}">{% trans "Mission" %}</a>
<a href="{% url "results" %}">{% trans "Results" %}</a>
<a href="{% url "tools" %}">{% trans "Tools" %}</a>
<a href="{% url "jobs" %}">{% trans "Jobs" %}</a>
</div>
<div class="sitenav">
<h5>{% trans "Community" %}</h5>
Expand Down
35 changes: 35 additions & 0 deletions app/retail/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -798,6 +798,41 @@ def mission(request):
return TemplateResponse(request, 'mission.html', context)


def jobs(request):
job_listings = [
{
'link': "mailto:[email protected]",
'title': "Software Engineer",
'description': [
"Gitcoin is always looking for a few good software engineers.",
"If you are an active member of the community, have python + django + html chops",
"then we want to talk to you!"]
},
{
'link': "mailto:[email protected]",
'title': "Community Manager",
'description': [
"We believe that community management is an important skill in the blockchain space.",
"We're looking for a solid community, proactive thinker, and someone who loves people",
"to be our next community manager. Sound like you? Apply below!"]
},
{
'link': "mailto:[email protected]",
'title': "Ad Sales Engineer",
'description': [
"CodeFund is growing like a weed. We could use a helping hand",
"to put CodeFund in front of more great advertisers and publishers.",
"If you want to be our next highly technical, highly engaging, sales engineer apply below!"]
}
]
context = {
'active': 'jobs',
'title': 'Jobs',
'job_listings': job_listings
}
return TemplateResponse(request, 'jobs.html', context)


def vision(request):
"""Render the Vision response."""
context = {
Expand Down