Skip to content

Commit a9707bb

Browse files
Added missing alt attributes to all images.
Added title image set for events page and made it a responsive background image. Added events image author to credits.
1 parent 4e8ad89 commit a9707bb

10 files changed

+36
-20
lines changed

_layouts/post.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,9 @@ <h1 class="post__content-title">Event's sponsors</h1>
8989
<div class="post__logo-col col-sm-3 col-12">
9090
<h3 class="post__sponsor-name">{{ sponsor_obj.sponsor_name }}</h3>
9191
<a class="post__sponsor-container post__sponsor-link" href="{{ sponsor_obj.sponsor_link }}">
92-
<img class="post__sponsor-img" src="{{ site.baseurl }}/{{ sponsor_obj.sponsor_logo }}">
92+
<img class="post__sponsor-img"
93+
src="{{ site.baseurl }}/{{ sponsor_obj.sponsor_logo }}"
94+
alt="Sponsor logo">
9395
</a>
9496
</div >
9597
<div class="post__sponsor-info-col col-12 col-sm-auto col-xl-7 ">

_pages/03_events.html

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -3,27 +3,31 @@
33
title: Events
44
permalink: /events/
55
---
6-
7-
<style>
8-
.events-page__background-img {
9-
background-size: contain;
10-
background: linear-gradient(90deg,
11-
rgba(0, 0, 0, 0.75),
12-
rgba(0, 0, 0, 0.75)),
13-
url("{{ site.baseurl }}/static/images/contact/contact_top_1920x600px.jpg") top center no-repeat;
14-
}
15-
</style>
16-
17-
186
<section class="events-page">
19-
<div class="events-page__background-img">
7+
<div class="events-page__background-img" data-image-type="responsive">
8+
<picture>
9+
<source srcset="../static/images/events_page/events_page_top_480x150px.jpg 480w,
10+
../static/images/events_page/events_page_top_960x300px.jpg 960w,
11+
../static/images/events_page/events_page_top_1920x600px.jpg 1920w"
12+
media="(orientation: landscape)"
13+
sizes="100vw">
14+
<source srcset="../static/images/events_page/events_page_top_750x650px.jpg 750w,
15+
../static/images/events_page/events_page_top_1650x1100px.jpg 1650w"
16+
media="(orientation: portrait)"
17+
sizes="100vw">
18+
<img class="responsive"
19+
src="../static/images/events_page/events_page_top_960x300px.jpg"
20+
alt="Events"
21+
data-overlay="linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 100%)">
22+
</picture>
2023
<div class="row container-fluid">
2124
<div class="col-sm-12">
2225
<h2 class="events-page__page-title">Events</h2>
23-
<h3 class="events-page__page-subtitle">See what's coming up. Check what we did recently.</h3>
26+
<h3 class="events-page__page-subtitle">See what's coming up and what we did recently.</h3>
2427
</div>
2528
</div>
2629
</div>
30+
2731
<!--Contact form-->
2832
<form class="contact__form container" method="POST" action="//formspree.io/[email protected]" role="form">
2933
<div class="row">

_pages/04_contact.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,14 @@
2020
alt="Contact Us"
2121
data-overlay="linear-gradient(180deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.75) 100%)">
2222
</picture>
23-
2423
<div class="row container-fluid">
2524
<div class="col-sm-12">
2625
<h2 class="contact__page-title">Contact Us</h2>
2726
<h3 class="contact__page-subtitle">Got an idea? Can you or your company support us? Let us know.</h3>
2827
</div>
2928
</div>
3029
</div>
30+
3131
<!--Contact form-->
3232
<form class="contact__form container" method="POST" action="//formspree.io/[email protected]" role="form">
3333
<div class="row">

index.html

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,9 @@ <h2 class="upcoming__event-label">Project</h2>
100100
<div class="row">
101101
<div class="upcoming__event-title col-12 text-center">
102102
<a href="{{ post.project_link }}">
103-
<img class="upcoming__project-logo" src="{{ site.baseurl }}/{{ post.project_logo }}">
103+
<img class="upcoming__project-logo"
104+
src="{{ site.baseurl }}/{{ post.project_logo }}"
105+
alt="Upcoming project logo">
104106
</a>
105107
</div>
106108
</div>
@@ -154,7 +156,9 @@ <h2 class="upcoming__event-label">Sponsors</h2>
154156
{% assign sponsor = event_sponsors[sponsor_index] %}
155157
<div class="footer__sponsor-col col-md-12 col-lg-6">
156158
<a class="footer__sponsor-link" href="{{ sponsor.sponsor_link }}">
157-
<img class="footer__img" src="{{ site.baseurl }}/{{ sponsor.sponsor_logo }}">
159+
<img class="footer__img"
160+
src="{{ site.baseurl }}/{{ sponsor.sponsor_logo }}"
161+
alt="Sponsor logo">
158162
</a>
159163
</div>
160164
{% endfor %}
@@ -198,7 +202,9 @@ <h2 class="services__section-title">What Do We Do?</h2>
198202

199203
<div class="row">
200204
<div class="second-on-mobile no-gutters__col col-md-6">
201-
<img class="services__img img-fluid rounded" src="static/images/services/educating_devs_840x561px.jpg">
205+
<img class="services__img img-fluid rounded"
206+
src="static/images/services/educating_devs_840x561px.jpg"
207+
alt="Educating developers">
202208
</div>
203209
<div class="first-on-mobile no-gutters__col col-md-6">
204210
<h2 class="services__title text-right">Helping Beginners To Get Good</h2>
@@ -214,7 +220,9 @@ <h2 class="services__title text-left">Engaging Core Developers</h2>
214220
<p class="services__content text-left">For those of you who are programming on the advanced level there are always new tasks to test your mettle. We fix bugs, we improve implementations and add features. No matter your style you will be able to find a ticket to your liking. The sprints are always advertised well ahead of the time so you can prepare yourself by checking on the issues that will be worked on early enough.</p>
215221
</div>
216222
<div class="no-gutters__col col-md-6">
217-
<img class="services__img img-fluid rounded" src="static/images/services/advanced_lvl_840x560px.jpg">
223+
<img class="services__img img-fluid rounded"
224+
src="static/images/services/advanced_lvl_840x560px.jpg"
225+
alt="Core developers in action">
218226
</div>
219227
</div>
220228
</section>

static/credits.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,5 @@
99

1010
contact photo: Photo by Alejandro Escamilla on Unsplash / Photo by NordWood Themes on Unsplash
1111
contact: <a href='https://www.freepik.com/free-photo/blank-business-cards-and-cup-of-coffee-on-wooden-table-corporate-stationary-branding-mock-up_1187395.htm'>Designed by Freepik</a>
12+
13+
events photo: Photo by Alex Kotliarskyi on Unsplash
Loading
Loading
Loading
Loading
Loading

0 commit comments

Comments
 (0)