Fixed minor JS error, optimized website assets (#2357)

* Fixed video onended JS error

* Optimized website assets

666KB -> 544KB, i.e. "Riddikulus" :)
This commit is contained in:
Siim Orasmäe 2017-10-13 22:37:19 +03:00 committed by Guillermo Rauch
parent 8aa7d90ff1
commit 8237ba541f
10 changed files with 16 additions and 46 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.9 KiB

After

Width:  |  Height:  |  Size: 1.2 KiB

File diff suppressed because one or more lines are too long

View file

@ -1,3 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="14" height="16" viewBox="0 0 14 16" fill="#989898" fill-rule="evenodd">
<path d="M13.1092683,12.4146341 C12.8702439,12.9668293 12.5873171,13.475122 12.2595122,13.942439 C11.8126829,14.5795122 11.4468293,15.0204878 11.164878,15.2653659 C10.7278049,15.6673171 10.2595122,15.8731707 9.75804878,15.884878 C9.39804878,15.884878 8.96390244,15.782439 8.45853659,15.5746341 C7.9515122,15.3678049 7.48556098,15.2653659 7.0595122,15.2653659 C6.61268293,15.2653659 6.13346341,15.3678049 5.62087805,15.5746341 C5.1075122,15.782439 4.69395122,15.8907317 4.3777561,15.9014634 C3.89687805,15.9219512 3.41756098,15.7102439 2.93912195,15.2653659 C2.6337561,14.9990244 2.25180488,14.542439 1.7942439,13.8956098 C1.30331707,13.204878 0.899707317,12.4039024 0.583512195,11.4907317 C0.244878049,10.5043902 0.0751219512,9.54926829 0.0751219512,8.62458537 C0.0751219512,7.56536585 0.304,6.65180488 0.762439024,5.8862439 C1.12273171,5.27131707 1.60204878,4.7862439 2.20195122,4.43014634 C2.80185366,4.07404878 3.45004878,3.89258537 4.14809756,3.88097561 C4.53004878,3.88097561 5.03092683,3.99912195 5.65336585,4.23131707 C6.27404878,4.46429268 6.67258537,4.58243902 6.84731707,4.58243902 C6.97795122,4.58243902 7.42068293,4.44429268 8.17121951,4.16887805 C8.88097561,3.91346341 9.48,3.80770732 9.97073171,3.84936585 C11.3004878,3.95668293 12.2995122,4.48087805 12.9639024,5.42526829 C11.7746341,6.14585366 11.1863415,7.15512195 11.1980488,8.44985366 C11.2087805,9.45834146 11.5746341,10.297561 12.2936585,10.9639024 C12.6195122,11.2731707 12.9834146,11.5121951 13.3882927,11.6819512 C13.3004878,11.9365854 13.2078049,12.1804878 13.1092683,12.4146341 L13.1092683,12.4146341 Z M10.0595122,0.413658537 C10.0595122,1.20410732 9.77073171,1.94214634 9.19512195,2.62526829 C8.5004878,3.43736585 7.66029268,3.90663415 6.74917073,3.83258537 C6.73756098,3.7377561 6.73082927,3.63795122 6.73082927,3.53307317 C6.73082927,2.7742439 7.06117073,1.96214634 7.64780488,1.29814634 C7.94068293,0.96195122 8.31317073,0.682409756 8.76487805,0.459414634 C9.21560976,0.239746341 9.64195122,0.118263415 10.0429268,0.0974634146 C10.0546341,0.203131707 10.0595122,0.308809756 10.0595122,0.41364878 L10.0595122,0.413658537 Z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" fill="#989898" fill-rule="evenodd" viewBox="0 0 14 16" width="14"><path d="M13.11 12.415c-.24.552-.523 1.06-.85 1.527-.447.638-.813 1.078-1.095 1.323-.437.402-.905.608-1.407.62-.36 0-.794-.103-1.3-.31-.506-.207-.972-.31-1.398-.31-.447 0-.927.103-1.44.31-.512.207-.926.316-1.242.326-.48.022-.96-.19-1.44-.635-.304-.266-.686-.723-1.144-1.37-.49-.69-.894-1.49-1.21-2.404-.34-.986-.51-1.94-.51-2.865 0-1.06.23-1.973.688-2.74.36-.614.84-1.1 1.44-1.455.6-.356 1.248-.537 1.946-.55.382 0 .883.12 1.505.35.62.234 1.02.352 1.194.352.13 0 .574-.138 1.324-.413.71-.257 1.31-.362 1.8-.32 1.33.107 2.33.63 2.994 1.575-1.19.72-1.778 1.73-1.766 3.025.01 1.008.377 1.848 1.096 2.514.326.31.69.548 1.094.718-.088.255-.18.498-.28.733zm-3.05-12c0 .79-.29 1.527-.865 2.21C8.5 3.437 7.66 3.907 6.75 3.833c-.012-.095-.02-.195-.02-.3 0-.76.33-1.57.918-2.235.293-.336.665-.616 1.117-.84.45-.218.877-.34 1.278-.36.012.105.017.21.017.316z"/></svg>

Before

Width:  |  Height:  |  Size: 2.2 KiB

After

Width:  |  Height:  |  Size: 961 B

View file

@ -1,10 +1 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="48px" height="28px" viewBox="0 0 48 28" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
<title>Shape</title>
<desc>Created with Sketch.</desc>
<defs></defs>
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
<path d="M47.411,3.2515 L25.545,27.0925 C25.477,27.1925 25.5,27.3235 25.412,27.4125 C25.017,27.8085 24.494,27.9795 23.977,27.9555 C23.465,27.9755 22.949,27.8025 22.557,27.4115 C22.47,27.3235 22.494,27.1945 22.427,27.0975 L0.558,3.2555 C-0.186,2.5105 -0.186,1.3055 0.558,0.5605 C1.302,-0.1825 2.507,-0.1825 3.252,0.5605 L23.982,23.1635 L44.715,0.5595 C45.459,-0.1865 46.665,-0.1865 47.409,0.5595 C48.154,1.3015 48.154,2.5075 47.411,3.2515 L47.411,3.2515 Z" id="Shape" fill="#FFFFFF"></path>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 28"><path fill="#FFF" fill-rule="evenodd" d="M47.41 3.252l-21.865 23.84c-.068.1-.045.232-.133.32-.395.396-.918.568-1.435.544-.512.02-1.028-.154-1.42-.544-.087-.088-.063-.217-.13-.314L.557 3.256c-.743-.745-.743-1.95 0-2.695.745-.743 1.95-.743 2.695 0l20.73 22.603L44.715.56c.744-.747 1.95-.747 2.694 0 .744.742.744 1.947 0 2.692z"/></svg>

Before

Width:  |  Height:  |  Size: 961 B

After

Width:  |  Height:  |  Size: 393 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 21 KiB

After

Width:  |  Height:  |  Size: 7.4 KiB

View file

@ -1,14 +1 @@
<svg width="17px" height="13px" viewBox="0 0 17 13" version="1.1" xmlns="http://www.w3.org/2000/svg">
<g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" stroke-linecap="square">
<g id="hyper.is" transform="translate(-1082.000000, -471.000000)" stroke="#50E3C2">
<g id="Group" transform="translate(1081.000000, 471.000000)">
<path d="M1.5,5.5 L1.5,11.5" id="Line"></path>
<path d="M17.5,5.5 L17.5,11.5" id="Line"></path>
<path d="M9.5,0.5 L9.5,7.57106781" id="Line"></path>
<path d="M6.5,5 L9.32842712,7.82842712" id="Line"></path>
<path d="M9.5,5 L12.3284271,7.82842712" id="Line" transform="translate(10.914214, 6.414214) scale(-1, 1) translate(-10.914214, -6.414214) "></path>
<path d="M1.5,12 L17.5,12" id="Line"></path>
</g>
</g>
</g>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 17 13"><g fill="none" fill-rule="evenodd" stroke="#50E3C2" stroke-linecap="square"><path d="M.5 5.5v6M16.5 5.5v6M8.5.5v7.07M5.5 5l2.828 2.828M11.328 5L8.5 7.828M.5 12h16"/></g></svg>

Before

Width:  |  Height:  |  Size: 917 B

After

Width:  |  Height:  |  Size: 235 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 183 KiB

After

Width:  |  Height:  |  Size: 69 KiB

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View file

@ -1,3 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16">
<path fill="#989898" fill-rule="evenodd" d="M0,2.26533478 L6.53869277,1.37757635 L6.54155105,7.66524117 L0.0059730822,7.70234465 L0,2.26533478 Z M6.53557797,8.38970261 L6.54065326,14.6828472 L0.00507528763,13.78707 L0.00470884087,8.34749015 L6.53557797,8.38970261 Z M7.32822064,1.26144186 L15.9979845,0 L15.9979845,7.58527313 L7.32822064,7.65388892 L7.32822064,1.26144186 Z M16,8.44888407 L15.9979662,16 L7.32820232,14.7801313 L7.31605461,8.43474628 L16,8.44888407 Z"/>
</svg>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 16" width="16"><path fill="#989898" fill-rule="evenodd" d="M0 2.265l6.54-.887.002 6.287-6.536.037L0 2.265zM6.536 8.39l.005 6.293-6.535-.896v-5.44l6.53.043zm.792-7.13L15.998 0v7.585l-8.67.07V1.26zM16 8.45L15.998 16l-8.67-1.22-.012-6.345L16 8.45z"/></svg>

Before

Width:  |  Height:  |  Size: 563 B

After

Width:  |  Height:  |  Size: 309 B