Merge pull request #1678

optimize cumulative layout shift in the home
This commit is contained in:
luigi1111 2021-06-28 14:43:52 -04:00 committed by GitHub
commit b8473cb769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -47,7 +47,7 @@
<li><a href="{{ site.baseurl }}/legal/" class="white footer-link">{% t footer.legal %}</a></li>
<li><a href="https://github.com/monero-project/monero-site" class="white footer-link">{% t footer.source %}</a></li>
<li><a href="{{ site.baseurl}}/sitemap.xml" class="white footer-link">Sitemap</a></li>
<li><a class="white" href="{{ site.baseurl_root }}/feed.xml"><img src="/img/feed.svg" alt="Feed icon">{% t footer.feed %}</a></li>
<li><a class="white" href="{{ site.baseurl_root }}/feed.xml"><img src="/img/feed.svg" width="30" height="30" alt="Feed icon">{% t footer.feed %}</a></li>
</ul>
</div>
</div>

View File

@ -93,7 +93,7 @@
{{ site.baseurl_root }}/{{site.lang}}
{% endif %}"><img src="/img/monero-logo.png" alt="Monero Logo" class="monero-logo"></a>
{% endif %}"><img src="/img/monero-logo.png" width="500" height="135" alt="Monero Logo" class="monero-logo"></a>
</div>
<div class="col-lg-8 col-md-8 col-sm-8 topnav-list end-xs">
<div class="row end-xs middle-xs">
@ -103,7 +103,7 @@
<a href="https://translate.getmonero.org" class="top-link">Translate</a>
<div href="#" class="dropdown top-link language-change">
<input class="burger-checkdropdown" id="langdrop" type="checkbox" tabindex="0">
<label for="langdrop"><img src="/img/language.png" alt="Language selector icon" class="icon-language"/>{{ site.data.languages.langs.[site.lang] }}
<label for="langdrop"><img src="/img/language.png" width="500" height="500" alt="Language selector icon" class="icon-language"/>{{ site.data.languages.langs.[site.lang] }}
<div class="arrow-down"></div></label>
<div class="dropdown-content text-center">
{% for lang in site.languages %}
@ -181,11 +181,11 @@
{{ site.baseurl_root }}/{{site.lang}}
{% endif %}"><img src="/img/monero-logo.png" alt="Monero Logo" class="monero-logo"></a>
{% endif %}"><img src="/img/monero-logo.png" width="500" height="135" alt="Monero Logo" class="monero-logo"></a>
</div>
<div class="dropdown col-xs-6 text-center mob-language-change">
<input class="burger-checkdropdown" id="moblangdrop" type="checkbox" tabindex="0">
<label for="moblangdrop"><img src="/img/language.png" alt="Lang" class="icon-language"/><div class="arrow-down"></div></label>
<label for="moblangdrop"><img src="/img/language.png" width="500" height="500" alt="Lang" class="icon-language"/><div class="arrow-down"></div></label>
<div class="mob dropdown-content text-center">
<p class="mob-lang-change mob-lang-selected">{{ site.data.languages.langs.[site.lang] }}</p>
{% for lang in site.languages %}