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

about: add django girls info page #121

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
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
69 changes: 69 additions & 0 deletions pyconbalkan/about/templates/djangogirls.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
{% extends "base.html" %}

{% load static %}

{% block main_content %}

{# Django Girls #}

<h1 class="title title--yellow mb-xs-20" href="https://djangogirls.org/pyconbalkan/">Django Girls PyCon Balkan</h1>

<hr class="line line--blue line--short line--spaced">

<h2 centered title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Free programming workshop for women Build your first website at Django Girls PyCon Balkan!</h2>

</br>
<p>
We believe the IT industry will greatly benefit from bringing more women into technology. We want to give you an opportunity to learn how to program and become one of us – women programmers!

Workshops are free of charge and if you cannot afford coming to Belgrade but are very motivated to learn and then share your knowledge with others, we may have some funds to help you out with your travel costs and accommodation. The applications will be oppened soon! Stay tuned!
</p>
<div class="card">
<a class="menu__list__link menu__list__link--featured" href="https://djangogirls.org/pyconbalkan/"
target="_blank" role="button">Django Girls PyCon Balkan Website</a>
</div>

<hr class="line long">

<h2 title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Applications are now open ❤</h2>
<p>
Application process closes on <b>October 16th</b> and you'll be informed about acceptance or rejection by the end of October(or sooner)!
</p>

<div class="card">
<a class="menu__list__link menu__list__link--featured" href="https://djangogirls.org/pyconbalkan/apply/"
target="_blank" role="button">Apply here!</a>
</div>

<hr class="line long">

<h2 title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Be a Mentor</h2>

<p>
We would be delighted if you would like to join us as a mentor! Fill the form below if you're interested.
</p>
<div class="card">
<a class="menu__list__link menu__list__link--featured" href="https://docs.google.com/forms/d/e/1FAIpQLSebbvAdGGy1XhBcQPcdyejwjfGBBk3GU144b7_ZJJJgfOxPfw/viewform"
target="_blank" role="button">I want to be a Coach!</a>
</div>

<hr class="line long">

<h2 title title--white title--medium title--uppercase mt-xs-20 mb-xs-80>Call For Sponsors</h2>

<p>
We couldn't be here without the support from amazing people and organizations who donated money, knowledge and time to help us make this a reality. If you want to contribute and support our goal, please send us an email to pyconbalkan@djangogirls.org
</p>

<div class="card">
<a class="menu__list__link menu__list__link--featured" href="https://speakerdeck.com/katiayn/django-girls-pycon-balkan-call-for-sponsors"
target="_blank" role="button">Call for Sponsors!</a>
</div>







{% endblock %}
6 changes: 4 additions & 2 deletions pyconbalkan/about/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@

from pyconbalkan.about.models import About
from pyconbalkan.about.serializers import AboutSerializer
from pyconbalkan.coc.views import coc_view
from pyconbalkan.organizers.views import organizers_list


class AboutViewSet(viewsets.ModelViewSet):
Expand All @@ -18,3 +16,7 @@ def about_view(request):
'about': about.first() if about else None,
}
return render(request, 'about.html', context)


def djangogirls_view(request):
return render(request, 'djangogirls.html', {})
3 changes: 3 additions & 0 deletions pyconbalkan/core/templates/includes/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@
<a class="menu__list__link {% if request.path == '/timetable' %}active{% endif %}" href="{% url 'timetable' %}" role="button">Timetable</a>
{% endif %}
</li>
<li class="menu__list__item">
<a class="menu__list__link {% if request.path == '/djangogirls' %}active{% endif %}" href="/djangogirls" role="button">Django Girls Blkn</a>
</li>
<li class="menu__list__item">
<a class="menu__list__link {% if request.path == '/info' %}active{% endif %}" href="/info" role="button">Info</a>
</li>
Expand Down
3 changes: 2 additions & 1 deletion pyconbalkan/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
from markdownx import urls as markdownx

from pyconbalkan.about.api_urls import router as about
from pyconbalkan.about.views import about_view
from pyconbalkan.about.views import about_view, djangogirls_view
from pyconbalkan.cfp.api_urls import router as cfp
from pyconbalkan.cfp.views import cfp_detail, cfp_list, cfp_view
from pyconbalkan.coc.api_urls import router as coc
Expand Down Expand Up @@ -54,6 +54,7 @@
path('volunteers/create/', volunteers_createview, name='volunteers_create'),
path('organizers', organizers_list, name='organizers'),
path('about', about_view, name='about'),
path('djangogirls', djangogirls_view, name='djangogirls'),
path('contact', contact_view, name='contact'),
path('cfp', cfp_view, name='cfp'),
path('cfps', cfp_list, name='cfp_list'),
Expand Down