diff --git a/frontend/stylesheets/components/_list-speaker.scss b/frontend/stylesheets/components/_list-speaker.scss index cbcb98a..5c04a08 100644 --- a/frontend/stylesheets/components/_list-speaker.scss +++ b/frontend/stylesheets/components/_list-speaker.scss @@ -30,6 +30,7 @@ margin-block-start: 1rem; font-size: map-get(variables.$font-sizes, 'lg'); + line-height: 1.4; @include media-breakpoint-up('sm') { font-size: map-get(variables.$font-sizes, 'xl'); @@ -47,11 +48,15 @@ &-link:not(:hover) { color: variables.$base-font-color; - } + } } &__bio { margin-top: 1rem; + + &--mini { + margin-top: 0.6rem; + } } } @@ -61,4 +66,4 @@ @include media-breakpoint-up('sm') { grid-template-columns: repeat(3, 1fr); } -} +} diff --git a/frontend/stylesheets/screens/_home.scss b/frontend/stylesheets/screens/_home.scss index 1c41a5a..ae8da85 100644 --- a/frontend/stylesheets/screens/_home.scss +++ b/frontend/stylesheets/screens/_home.scss @@ -63,8 +63,8 @@ body.home .app-content { body.home .speaker-lineup { .list-speaker { - @include media-breakpoint-up('sm') { - grid-template-columns: repeat(3, 1fr); + @include media-breakpoint-up('md') { + grid-template-columns: repeat(4, 1fr); } &__photo { diff --git a/src/_components/card_talk.liquid b/src/_components/card_talk.liquid index 57d0655..e1727a3 100644 --- a/src/_components/card_talk.liquid +++ b/src/_components/card_talk.liquid @@ -26,7 +26,7 @@ {% endif %}
- {{ speaker.first_name }} {{ speaker.last_name }} + {{ speaker.first_name }} {{ speaker.last_name }} {% if speaker.twitter_handle %}
diff --git a/src/_components/list_speaker.liquid b/src/_components/list_speaker.liquid index 4da5ef9..4a21282 100644 --- a/src/_components/list_speaker.liquid +++ b/src/_components/list_speaker.liquid @@ -5,7 +5,7 @@ {{ speaker.first_name | smartify }} {{ speaker.last_name | smartify }}
- {{ speaker.first_name }} {{ speaker.last_name }} + {{ speaker.first_name }} {{ speaker.last_name }}
{% if with_info == true %}
@@ -19,6 +19,12 @@ {% endif %}

{{ speaker.bio }}

+ {% else %} + {% if speaker.mini_bio %} + + {{ speaker.mini_bio }} + + {% endif %} {% endif %} {% endfor %} diff --git a/src/_data/speakers.yml b/src/_data/speakers.yml index 474ab60..4efff26 100644 --- a/src/_data/speakers.yml +++ b/src/_data/speakers.yml @@ -11,18 +11,25 @@ twitter_handle: matz photo_url: /images/speakers/matz.jpg type: keynote - bio: | + mini_bio: Creator of Ruby - id: bernard-banta first_name: Bernard last_name: Banta twitter_handle: Bantab photo_url: /images/speakers/banta.jpg type: keynote - bio: | + mini_bio: Ruby Kenya, founder of Finplus - id: jemma-issroff first_name: Jemma last_name: Issroff twitter_handle: jemmaissroff photo_url: /images/speakers/jemma.jpg type: keynote - bio: | + mini_bio: Founder of wnb.rb, GC expert +- id: ben-halpern + first_name: Ben + last_name: Halpern + twitter_handle: bendhalpern + photo_url: /images/speakers/ben.jpg + type: keynote + mini_bio: Creator of DEV, founder of Forem diff --git a/src/images/speakers/ben.jpg b/src/images/speakers/ben.jpg new file mode 100644 index 0000000..b5a5123 Binary files /dev/null and b/src/images/speakers/ben.jpg differ