Skip to content

Commit

Permalink
Smaller design improvements using category color for all talk elements
Browse files Browse the repository at this point in the history
  • Loading branch information
lorenzschmid committed Nov 3, 2020
1 parent 08f1a18 commit d0e0db7
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
jekyll-theme-conference (2.3.0)
jekyll-theme-conference (2.3.1)
jekyll (~> 4.0)

GEM
Expand Down
18 changes: 16 additions & 2 deletions _includes/partials/get_link.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,15 @@

{% if talk %}
{% capture modal_header %}
<h3 class="font-weight-light">{{ talk.name }}</h3>
<h3 class="font-weight-light">
{% if talk.hide %}
{{ talk.name }}
{% else %}
<a class="text-reset" href="{{ talk.url | prepend: site.baseurl }}">
{{ talk.name }}
</a>
{% endif %}
</h3>
<p class="mb-0 font-weight-light">
{% include partials/list_speakers.html %}
</p>
Expand All @@ -38,7 +46,13 @@ <h3 class="font-weight-light">{{ talk.name }}</h3>
{% elsif speaker %}
{% capture modal_header %}
<h3 class="mb-0 font-weight-light">
{{ speaker.first_name }} {{ speaker.last_name }}
{% if speaker.hide %}
{{ speaker.first_name }} {{ speaker.last_name }}
{% else %}
<a class="text-reset" href="{{ speaker.url | prepend: site.baseurl }}">
{{ speaker.first_name }} {{ speaker.last_name }}
</a>
{% endif %}
</h3>
{% endcapture %}
{% assign modal_desc = link.name %}
Expand Down
2 changes: 1 addition & 1 deletion _layouts/program.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ <h1 class="display-5 mb-4">
{{ content }}

<div class="sticky-top syncscroll overflow-hidden" name="sync-table">
<table class="table">
<table class="table mb-0">
<thead>
<tr>
<th scope="col" class="text-center">#</th>
Expand Down
4 changes: 2 additions & 2 deletions _layouts/talk-overview.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,9 @@ <h3 class="mt-4 mb-3">

{% include partials/get_link_types.html %}
{% if has_icon_links and site.conference.talks.hide_icons != true %}
<span class="{% if has_sub_categories %}ml-1{% endif %}">
<span class="ml-1">
{% for link in talk.links %}
{% assign link_styleclass = "" %}
{% assign link_styleclass = "text-secondary" %}
{% include partials/get_link.html %}
{% if link_icon %}
{{ link_tag -}}
Expand Down
6 changes: 3 additions & 3 deletions _layouts/talk.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,13 +61,13 @@ <h1 class="font-weight-light">{{ talk.name }}</h1>
{% if has_icon_links %}
<ul class="list-unstyled">
{% for link in talk.links %}
{% assign link_styleclass = "" %}
{% assign link_styleclass = "text-reset" %}
{% include partials/get_link.html %}

{% if link_icon %}
<li class="mb-1 ml-2">
{{ link_tag }}
<i class="fas fa-{{ link_icon }} pr-1"></i>
<i class="fas fa-{{ link_icon }} pr-1 text-{{ main_cat_color }}"></i>
{{ link.name }}
</a>
</li>
Expand All @@ -85,7 +85,7 @@ <h5 class="mt-4 mb-1">{{ site.data.lang[site.conference.lang].more_information |
{% include partials/get_link.html %}

{% unless link_icon %}
<li class="mb-1 ml-2 pl-2 border-soft-primary">
<li class="mb-1 ml-2 pl-2 border-soft-{{ main_cat_color }}">
{{ link_tag }}
{{ link.name }}
</a>
Expand Down
2 changes: 1 addition & 1 deletion jekyll-theme-conference.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |spec|
spec.name = "jekyll-theme-conference"
spec.version = "2.3.0"
spec.version = "2.3.1"
spec.authors = ["Lorenz Schmid"]
spec.email = ["lorenzschmid@users.noreply.github.com"]

Expand Down

0 comments on commit d0e0db7

Please sign in to comment.