Add Lenis / js-lib

main
nurbek 2 years ago
parent 1ec6cd45ba
commit 8f57414c7b

@ -0,0 +1,11 @@
<svg width="32" height="32" viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
<g clip-path="url(#clip0_3707_2)">
<path d="M32 0H0V32H32V0Z" fill="#FF98A2"/>
<path d="M8.79849 16.3962C8.2033 15.3567 7.83768 14.4109 7.70164 13.5588C7.5826 12.6896 7.66763 11.8631 7.95672 11.0792C8.24581 10.2782 8.73046 9.47728 9.41068 8.67632C10.0909 7.85832 10.9497 6.97215 11.987 6.01781C11.6299 6.56315 11.3833 7.09996 11.2473 7.62825C11.1282 8.15655 11.1197 8.72744 11.2217 9.34094C11.3238 9.95444 11.5363 10.6361 11.8595 11.386C12.1996 12.1358 12.6417 12.9964 13.1859 13.9678C13.8321 15.1266 14.1722 16.1406 14.2062 17.0097C14.2572 17.8618 14.0702 18.6542 13.645 19.387C13.2199 20.1198 12.5907 20.8185 11.7574 21.4832C10.9242 22.1478 9.94635 22.855 8.82399 23.6049C9.26613 23.264 9.62325 22.8976 9.89534 22.5057C10.1674 22.0967 10.3205 21.6195 10.3545 21.0742C10.3885 20.5118 10.2779 19.8557 10.0229 19.1059C9.7848 18.356 9.37667 17.4528 8.79849 16.3962ZM18.8997 1.79999C19.5969 1.79999 20.2346 1.91076 20.8128 2.1323C21.391 2.3368 21.8841 2.63503 22.2923 3.02699C22.7004 3.40191 23.015 3.86204 23.2361 4.40737C23.4571 4.93566 23.5677 5.5236 23.5677 6.17119C23.5677 7.55156 22.998 8.93194 21.8586 10.3123C20.7193 11.6757 18.9847 13.1072 16.655 14.6068C17.3352 14.1297 17.8879 13.6951 18.313 13.3032C18.7551 12.9112 19.0953 12.5278 19.3333 12.1528C19.5714 11.7609 19.733 11.3689 19.818 10.977C19.92 10.568 19.971 10.1164 19.971 9.62213C19.971 8.94046 19.852 8.31844 19.6139 7.75607C19.3929 7.17665 19.0697 6.69096 18.6446 6.299C18.2195 5.90704 17.7093 5.60029 17.1141 5.37875C16.5189 5.15721 15.8557 5.04644 15.1245 5.04644C14.5803 5.04644 14.0532 5.08904 13.543 5.17425C13.0498 5.25946 12.5822 5.49804 12.14 5.89C12.5822 5.42987 13.0498 4.96123 13.543 4.48406C14.0361 3.98985 14.5633 3.54676 15.1245 3.15481C15.6857 2.7458 16.2724 2.42201 16.8846 2.18343C17.5138 1.9278 18.1855 1.79999 18.8997 1.79999ZM17.2417 30.2C16.2554 30.2 15.3371 30.0296 14.4868 29.6887C13.6535 29.3479 12.8288 28.973 12.0125 28.564C11.2132 28.155 10.397 27.7801 9.56373 27.4392C8.73046 27.0984 7.82918 26.928 6.85987 26.928C6.48575 26.928 6.14564 26.9536 5.83954 27.0047C5.55045 27.0558 5.25286 27.1666 4.94676 27.337C4.64066 27.5074 4.30905 27.763 3.95194 28.1039C3.57782 28.4277 3.12718 28.8622 2.60001 29.4076C3.72237 28.0954 4.69168 27.0473 5.50794 26.2634C6.3242 25.4624 7.02142 24.8574 7.5996 24.4484C8.19479 24.0224 8.69645 23.7412 9.10458 23.6049C9.52972 23.4685 9.92084 23.4004 10.2779 23.4004C11.2643 23.4004 12.2336 23.5623 13.1859 23.886C14.1382 24.2098 15.065 24.5677 15.9663 24.9597C16.8846 25.3516 17.7773 25.7095 18.6446 26.0333C19.5119 26.3571 20.3537 26.519 21.1699 26.519C21.6631 26.519 22.0882 26.4508 22.4453 26.3145C22.8024 26.1611 23.1085 25.9651 23.3636 25.7266C22.8024 26.5957 22.2668 27.32 21.7566 27.8994C21.2464 28.4617 20.7363 28.9134 20.2261 29.2542C19.733 29.595 19.2398 29.8336 18.7466 29.9699C18.2535 30.1233 17.7518 30.2 17.2417 30.2ZM23.5167 25.5987C23.6357 25.3772 23.7207 25.1301 23.7717 24.8574C23.8398 24.5677 23.8738 24.278 23.8738 23.9883C23.8738 23.2214 23.6867 22.4716 23.3126 21.7388C22.9385 20.989 22.4283 20.2647 21.7821 19.566L26.093 15.6805C26.3311 16.0213 26.5436 16.3451 26.7307 16.6518C26.9348 16.9416 27.1048 17.2398 27.2409 17.5465C27.3939 17.8362 27.5044 18.143 27.5725 18.4668C27.6575 18.7906 27.7 19.1399 27.7 19.5149C27.7 20.5033 27.3259 21.4832 26.5776 22.4545C25.8294 23.4259 24.8091 24.474 23.5167 25.5987Z" fill="#0E0E0E"/>
</g>
<defs>
<clipPath id="clip0_3707_2">
<rect width="32" height="32" fill="white"/>
</clipPath>
</defs>
</svg>

After

Width:  |  Height:  |  Size: 3.5 KiB

@ -449,6 +449,18 @@
"scriptSrc": "\\.lengow\\.com/",
"website": "https://www.lengow.com"
},
"Lenis": {
"cats": [
59
],
"description": "Lenis is a smooth scroll library to normalise the scrolling experience across devices.",
"icon": "Lenis.svg",
"js": {
"lenisVersion": "([\\d\\.]+)\\;version:\\1"
},
"oss": true,
"website": "https://lenis.studiofreight.com"
},
"Less": {
"cats": [
19