Skip to content

Commit

Permalink
base page design fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
umitdincel authored and ulgens committed Oct 4, 2020
1 parent e1ef773 commit 6cd5715
Show file tree
Hide file tree
Showing 2 changed files with 33 additions and 10 deletions.
36 changes: 29 additions & 7 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
<!--[if lt IE 9]><script src="{% static 'js/html5shiv.js' %}"></script><![endif]-->

<!-- fonts -->
<link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700" rel="stylesheet">
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet">

{% block head %}
{% endblock head %}
Expand All @@ -35,20 +35,41 @@
</p>
<![endif]
-->

<div class="collapse" id="pyistanbul">
<div class="container fixed-info">
<div class="row">
<div class="col-md-4 info what">
<div class="sub-title">Nedir?</div>
<p>İstanbul'daki Python programcıları topluluğudur. Eğer Python ilginizi çekiyorsa siz de bu topluluğa katılabilirsiniz.</p>
</div>
<div class="col-md-4 info contact">
<div class="sub-title">Nasıl iletişim kurabilirim?</div>
<p>Her gün Freenode'daki <a href="#">#pyistanbul</a> kanalında buluşuyoruz.</p>
</div>
<div class="col-md-4 info support">
<div class="sub-title">Desteğe ihtiyacım var</div>
<p>IRC'de ya da python-istanbul e-posta listesinde sorularınızı sorabilirsiniz.</p>
</div>
</div>
</div>
</div>
<header>
<nav class="navbar navbar-expand-sm">
<div class="mx-auto d-sm-flex d-block flex-sm-nowrap">
<div class="collapse navbar-collapse text-center">
<div class="text-center">
<ul class="navbar-nav">
<li class="nav-item"><a href="#">NEDİR?</a></li>
<li class="nav-item"><a href="#">SUNUMLAR</a></li>
<li class="nav-item">
<a data-toggle="collapse" href="#pyistanbul">NEDİR?</a>
</li>
<li class="nav-item">
<a href="{% url 'presentations:index' %}">SUNUMLAR</a>
</li>
<li class="nav-item logo">
<a href="{% url 'blog:home' %}">
<img src="{% static 'images/logo.svg' %}" alt="Pyistanbul">
</a>
</li>
<li class="nav-item active"><a href="#">İNSANLAR</a></li>
<li class="nav-item active"><a href="{% url 'people:index' %}">İNSANLAR</a></li>
<li class="nav-item"><a href="#">İŞ İLANLARI</a></li>
</ul>
</div>
Expand Down Expand Up @@ -87,6 +108,7 @@
</div>
</footer>
<script src="{% static 'js/jquery-3.3.1.min.js' %}"></script>
<script src="{% static 'js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/main.js' %}"></script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
Expand Down
7 changes: 4 additions & 3 deletions templates/base_page.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ <h2>Kişiler</h2>

{% block content %}
<div class="page">
{% block page %}

{% endblock page %}
<div class="container">
{% block page %}
{% endblock page %}
</div>
</div>
{% endblock content %}

0 comments on commit 6cd5715

Please sign in to comment.