Skip to content

Commit

Permalink
visual fixes for nav and keynoters
Browse files Browse the repository at this point in the history
  • Loading branch information
benabraham committed Jul 25, 2023
1 parent 47a000c commit ca0fbe7
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
6 changes: 2 additions & 4 deletions templates/__nav_link.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,9 @@
text-uppercase
link-light
nav-link
{% if highlighted %} PC-nav-link-highlight {% endif %}
{# links to currently shown page are different (only those without an anchor) #}
{% if request.path == link and not anchor %}
fw-semibold
{% endif %}
{{ class }}
{% if request.path == link and not anchor %} fw-semibold {% endif %}
"
{% if request.path == link and not anchor %}
aria-current="page"
Expand Down
4 changes: 2 additions & 2 deletions templates/_menu_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
{% endblock %}

{% block link_tickets %}
{% include '__nav_link.html' with url='tickets' link_text='Tickets' class='PC-nav-link-highlight' %}
{% include '__nav_link.html' with url='tickets' link_text='Tickets' highlighted='1' %}
{% if phases.ticket_sale == 'launched' %}{% endif %}
{% endblock %}

Expand All @@ -38,7 +38,7 @@
{% endblock %}

{% block link_call_for_proposals %}
{% comment %}{% include '__nav_link.html' with url='cfp' link_text='Call for Proposals' class="PC-nav-link-highlight" %}{% endcomment %}
{% comment %}{% include '__nav_link.html' with url='cfp' link_text='Call for Proposals' highlighted='1' %}{% endcomment %}
{% include '__nav_link.html' with url='cfp' link_text='Call for Proposals' %}
{% if phases.cfp == 'launched' %} {% endif %}
{% endblock %}
Expand Down
8 changes: 4 additions & 4 deletions templates/pages/__keynoters.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ <h2 class="text-white mt-4 mb-5 h1">Keynote speakers</h2>
<img class="img-fluid" src="{% static 'img/speakers/evelina-gabasova.webp' %}" width="800" height="800" alt="">
</div>
</div>
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2">
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2 pt-xl-3">
<h3 class="h1 mt-3 mt-sm-4">Evelina Gabašová</h3>
<ul class="list-inline font-monospace">
<li class="list-inline-item"><a href="https://github.com/evelinag"><i class="bi-github link-primary me-2"></i>evelinag</a></li>
Expand All @@ -33,7 +33,7 @@ <h3 class="h1 mt-3 mt-sm-4">Evelina Gabašová</h3>
<img class="img-fluid" src="{% static 'img/speakers/prokop-bartonicek.webp' %}" width="800" height="800" alt="">
</div>
</div>
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2">
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2 pt-xl-3">
<h3 class="h1 mt-3 mt-sm-4">Prokop Bartoníček</h3>
<ul class="list-inline font-monospace">
<li class="list-inline-item"><a href="https://www.prokopbartonicek.com"><i class="bi-globe link-primary me-2"></i>prokopbartonicek.com</a></li>
Expand All @@ -52,7 +52,7 @@ <h3 class="h1 mt-3 mt-sm-4">Prokop Bartoníček</h3>
<img class="img-fluid" src="{% static 'img/speakers/karel-minarik.webp' %}" width="800" height="800" alt="">
</div>
</div>
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2">
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2 pt-xl-3">
<h3 class="h1 mt-3 mt-sm-4">Karel Minařík</h3>
<ul class="list-inline font-monospace">
<li class="list-inline-item"><a href="https://github.com/karmi"><i class="bi-github link-primary me-2"></i>karmi</a></li>
Expand All @@ -73,7 +73,7 @@ <h3 class="h1 mt-3 mt-sm-4">Karel Minařík</h3>
<img class="img-fluid" src="{% static 'img/speakers/katerina-falk.webp' %}" width="800" height="800" alt="">
</div>
</div>
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2">
<div class="col px-3 px-xxs-4 px-sm-5 pb-xs-4 pt-2 pt-xl-3">
<h3 class="h1 mt-3 mt-sm-4">Kateřina Falk</h3>
<ul class="list-inline font-monospace">
<li class="list-inline-item"><a href="https://www.linkedin.com/in/katerina-falk-a450147/"><i class="bi-linkedin link-primary me-2"></i>LinkedIn</a></li>
Expand Down

0 comments on commit ca0fbe7

Please sign in to comment.