Skip to content

Commit

Permalink
Few small perf fixes for home page (#1277)
Browse files Browse the repository at this point in the history
* Few small perf fixes for home page

* Optimised images with calibre/image-actions

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
tunetheweb and github-actions[bot] committed Sep 7, 2020
1 parent 72eecf1 commit 12e5727
Show file tree
Hide file tree
Showing 11 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/static/css/2019.css
Original file line number Diff line number Diff line change
Expand Up @@ -522,7 +522,7 @@ h2.header {
}

.navigation-logo .wa {
font-weight: 600;
font-weight: 700;
letter-spacing: 5px;
font-size: 1.3em;
margin-right: -5px; /* fix letter spacing issue for the last letter */
Expand Down
Binary file modified src/static/images/2019/css/hero_lg.webp
Binary file not shown.
Binary file modified src/static/images/2019/css/hero_sm.webp
Binary file not shown.
Binary file modified src/static/images/2019/markup/hero_lg.webp
Binary file not shown.
Binary file modified src/static/images/2019/markup/hero_sm.webp
Binary file not shown.
Binary file modified src/static/images/2019/page-weight/hero_lg.webp
Binary file not shown.
Binary file modified src/static/images/2019/page-weight/hero_sm.webp
Binary file not shown.
Binary file modified src/static/images/2019/seo/hero_sm.webp
Binary file not shown.
Binary file modified src/static/images/character-star.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/templates/base/2019/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h2>{{ self.intro_sub_title() }}</h2>
<svg viewBox="0 0 50 16">
<text x="7" y="15">{{ year }}</text>
</svg>
<img src="/static/images/home-hero.png" alt="" width="562" height="820">
<img src="/static/images/home-hero.png" alt="" width="820" height="562">
</div>
</section>
{% block featured_chapter_section %}
Expand Down
2 changes: 1 addition & 1 deletion src/templates/base/2020/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ <h2>{{ self.intro_sub_title() }}</h2>
<svg viewBox="0 0 56 16">
<text x="8" y="15">{{ year }}</text>
</svg>
<img src="/static/images/home-hero.png" alt="" width="562" height="820">
<img src="/static/images/home-hero.png" alt="" width="820" height="562">
</div>
</section>
<section id="methodology" class="methodology-container">
Expand Down

0 comments on commit 12e5727

Please sign in to comment.