Skip to content

Commit

Permalink
Add new video to website and add shop link
Browse files Browse the repository at this point in the history
  • Loading branch information
amakarudze committed Jun 6, 2024
1 parent 0bdc3c3 commit af9f371
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 15 deletions.
1 change: 1 addition & 0 deletions static/source/css/event.styl
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ a, a:hover
height: 100%
background: rgba(0,0,0,0.6)
color: white
letter-spacing: 3px
button, input, optgroup, select, textarea
color: initial

Expand Down
30 changes: 20 additions & 10 deletions templates/core/faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,23 @@
<div class="col-md-12">
<h1>{% trans "FAQ: Frequently Asked Questions" %}</h1>

<p>
{% url 'contact:landing' as contact_url %}
{% blocktrans trimmed %}
Django Girls events have been happening all over the world for a while now, and we get some repeat
questions. If you need more help: <a href="{{ contact_url }}">contact us</a>!
{% endblocktrans %}
</p>
<div class="row">
<div class="col-md-6">
<p>
{% url 'contact:landing' as contact_url %}
{% blocktrans trimmed %}
Django Girls events have been happening all over the world for a while now, and we get some repeat
questions. If you need more help: <a href="{{ contact_url }}">contact us</a>!
{% endblocktrans %}
</p>
</div>
<div class="col-md-6">
<iframe src="//player.vimeo.com/video/112325567?title=0&amp;byline=0&amp;portrait=0&amp;color=ff9933" width="585" height="329" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>

</div>



<h2>{% trans "Django Girls workshops" %}</h2>
{% include 'includes/_faq.html' %}
Expand All @@ -25,7 +35,7 @@ <h2>{% trans "Django Girls in general" %}</h2>
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#Django_Girls_sexist">
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#Django_Girls_sexist">
<strong>{% trans "Q: Isn't Django Girls sexist?" %}</strong>
</a>
</div>
Expand Down Expand Up @@ -105,7 +115,7 @@ <h2>{% trans "Django Girls in general" %}</h2>

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#Django_Girls_trans_inclusive">
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#Django_Girls_trans_inclusive">
<strong>{% trans "Q: Are Django Girls events trans-inclusive?" %}</strong>
</a>
</div>
Expand Down Expand Up @@ -134,7 +144,7 @@ <h2>{% trans "Django Girls in general" %}</h2>

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#Django_Girls_for_men"><strong>Q: Is there a Django Girls for men?</strong></a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#Django_Girls_for_men"><strong>Q: Is there a Django Girls for men?</strong></a>
</div>
<div id="Django_Girls_for_men" class="panel-collapse collapse">
<div class="panel-body">
Expand Down
2 changes: 1 addition & 1 deletion templates/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ <h2>{% trans "What is Django Girls?" %}</h2>
{# <p><a href="">Learn more about Django Girls »</a></p> #}
</div>
<div class="col-md-6">
<iframe src="//player.vimeo.com/video/112325567?title=0&amp;byline=0&amp;portrait=0&amp;color=ff9933" width="585" height="329" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
<iframe src="//player.vimeo.com/video/953132851?title=0&amp;byline=0&amp;portrait=0&amp;color=ff9933" width="585" height="329" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe>
</div>
</div>

Expand Down
1 change: 1 addition & 0 deletions templates/global/menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
<ul class="dropdown-menu" aria-labelledby="navbarDropdown">
<li><a class="dropdown-item" href="{% url 'core:events' %}">{% trans "Events" %}</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="https://django-girls.myspreadshop.co.uk" target="_blank">{% trans "Shop" %}</a></li>
<li><a class="dropdown-item" href="{% url 'core:newsletter' %}">{% trans "Newsletter" %}</a></li>
<li><a class="dropdown-item" href="https://blog.djangogirls.org/">{% trans "Our blog" %}</a></li>
</ul>
Expand Down
8 changes: 4 additions & 4 deletions templates/includes/_faq.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<div class="panel-group" id="accordion">
<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#apply"><strong>{% trans "Q: How can I register?" %}</strong></a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#apply"><strong>{% trans "Q: How can I register?" %}</strong></a>
</div>
<div id="apply" class="panel-collapse collapse">
<div class="panel-body">
Expand All @@ -20,7 +20,7 @@

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#too_late"><strong>{% trans "Q: I missed the deadline! Can I still apply to a workshop?" %}</strong></a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#too_late"><strong>{% trans "Q: I missed the deadline! Can I still apply to a workshop?" %}</strong></a>
</div>
<div id="too_late" class="panel-collapse collapse">
<div class="panel-body">
Expand All @@ -38,7 +38,7 @@

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#coach_sponsor"><strong>{% trans "Q: I want to coach or sponsor an event!" %}</strong></a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#coach_sponsor"><strong>{% trans "Q: I want to coach or sponsor an event!" %}</strong></a>
</div>
<div id="coach_sponsor" class="panel-collapse collapse">
<div class="panel-body">
Expand All @@ -49,7 +49,7 @@

<div class="panel panel-default">
<div class="panel-heading">
<a class="accordion-toggle" data-toggle="collapse" data-parent="#accordion" href="#tutorial"><strong>{% trans "Q: I'm following Django Girls tutorial and something is not working in my code: can you help me debug it?" %}</strong></a>
<a class="accordion-toggle" data-bs-toggle="collapse" data-parent="#accordion" href="#tutorial"><strong>{% trans "Q: I'm following Django Girls tutorial and something is not working in my code: can you help me debug it?" %}</strong></a>
</div>
<div id="tutorial" class="panel-collapse collapse">
<div class="panel-body">
Expand Down

0 comments on commit af9f371

Please sign in to comment.