a11y and performance improvements for docs site

This commit is contained in:
Shay Nehmad 2020-07-01 11:10:05 +03:00
parent 5752b08de7
commit 3879efbf26
4 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
<a id="logo" href="{{ .Site.BaseURL }}"> <div style="width: 100%;">
<img src="{{ .Site.BaseURL }}/images/logo.gif" alt="logo"/> <a id="logo" href="{{ .Site.BaseURL }}" style="width: 100%;">
</a> <video autoplay loop muted playsinline style="width: 100%;">
<source src="{{ .Site.BaseURL }}/images/logo.webm" type="video/webm">
<source src="{{ .Site.BaseURL }}/images/logo.mp4" type="video/mp4">
</video>
</a>
</div>

BIN
docs/static/images/logo.mp4 vendored Normal file

Binary file not shown.

BIN
docs/static/images/logo.webm vendored Normal file

Binary file not shown.

2
docs/themes/learn vendored

@ -1 +1 @@
Subproject commit cb533f0e0f2783b3b3889bead2c5efd851092f08 Subproject commit e010f0287ae724c7c072b23e6075f4b123e99b7c