From 56a97ef81e3764feb13aac2bf4aef35f2937a4af Mon Sep 17 00:00:00 2001 From: Julian Garnier Date: Tue, 24 Oct 2023 18:38:55 +0200 Subject: [PATCH] Add V4 links --- documentation/assets/css/documentation.css | 11 +- documentation/assets/css/v4.css | 186 +++++++++++++++++++++ documentation/assets/css/website.css | 4 +- documentation/assets/img/sponsor-logo.png | Bin 0 -> 14846 bytes documentation/assets/js/v4.js | 16 ++ documentation/assets/js/website.js | 18 +- documentation/index.html | 51 +++++- index.html | 56 ++++++- 8 files changed, 327 insertions(+), 15 deletions(-) create mode 100644 documentation/assets/css/v4.css create mode 100644 documentation/assets/img/sponsor-logo.png create mode 100644 documentation/assets/js/v4.js diff --git a/documentation/assets/css/documentation.css b/documentation/assets/css/documentation.css index fd46c4ae..28ee8f48 100644 --- a/documentation/assets/css/documentation.css +++ b/documentation/assets/css/documentation.css @@ -86,6 +86,15 @@ h2 { font-weight: 200; } +.description-header a { + text-decoration: none; + color: inherit; +} + +.description-header a:hover { + text-decoration: underline; +} + /* Panes */ .pane { @@ -218,7 +227,7 @@ h2 { } .demo-info code { - font-family: "Input Mono Reg", monospace; + font-family: "InputMono", "Courier New", Courier, monospace; font-size: 14px; line-height: 22px; white-space: pre-wrap; diff --git a/documentation/assets/css/v4.css b/documentation/assets/css/v4.css new file mode 100644 index 00000000..02498d9e --- /dev/null +++ b/documentation/assets/css/v4.css @@ -0,0 +1,186 @@ +/* V4 */ + +body { + transition: padding-top .5s ease-in-out; +} + +body.has-banner { + padding-top: 60px; +} + +#top-banner, +#docs-header { + transition: transform .5s ease-in-out; +} + +body.has-banner #docs-header { + transform: translateY(60px); +} + +body.has-banner #top-banner { + transform: translateY(0%); +} + +#top-banner { + display: flex; + justify-content: center; + align-items: center; + position: fixed; + z-index: 99; + top: 0; + left: 0; + right: 0; + height: 60px; + padding-left: 60px; + padding-right: 10px; + font-size: 16px; + font-weight: 600; + background-color: #F74F4D; + color: #FFFFFF; + transform: translateY(-100%); +} + +#top-banner p { + margin-top: -2px; +} + +#close-banner { + position: absolute; + z-index: 99; + left: 10px; + top: 10px; + height: 40px; + width: 40px; + text-align: center; + background-color: transparent; + color: #FFF; + cursor: pointer; +} + +#banner-cta { + display: inline-flex; + align-items: baseline; + height: 30px; + padding-left: 12px; + padding-right: 12px; + margin-left: 16px; + border-radius: 16px; + white-space: pre; + font-weight: 600; + line-height: 30px; + background-color: #FFF; + color: #F74F4D; + text-decoration: none; + transition: transform .25s ease; +} + +#banner-cta:hover { + transform: scale(1.08); +} + +@media (max-width: 640px) { + #top-banner { + padding-left: 40px; + padding-right: 10px; + font-size: 15px; + } + + #close-banner { + left: 0; + height: 40px; + width: 40px; + } + + #banner-cta { + margin-left: 10px; + } + + #banner-cta span { + display: none; + } +} + +/* Sponsors */ + +.sponsor-logo { + opacity: .5; + text-decoration: none; + transition: opacity .25s ease; + margin-bottom: 20px; +} + +.sponsor-logo:hover { + opacity: 1; +} + +.sponsor-logo img { + width: 100%; + max-width: 92px; + height: auto; + margin-bottom: 10px; +} + +.sponsor-name { + display: block; + color: #FFF; + font-family: "InputMono", "Courier New", Courier, monospace; + font-weight: bold; + font-size: 10px; + text-align: center; + letter-spacing: -.075em; +} + +.sponsors-pane { + display: none; +} + +@media (min-width: 800px) { + .sponsors-pane { + width: 148px; + overflow-y: scroll; + display: block; + border-left: 1px solid rgba(0,0,0,.65); + } +} + +#docs-sponsors-list { + width: 100%; + display: flex; + flex-direction: column; + align-items: center; + padding: 20px; +} + +.sponsors-grid { + opacity: 0; + display: flex; + justify-content: center; + align-items: center; + flex-direction: column; +} + +#home-sponsors-list { + flex-wrap: wrap; + width: 100%; + margin-top: 20px; + margin-bottom: 20px; + display: flex; + flex-direction: row; + justify-content: space-between; +} + +@media (max-width: 739px) { + .sponsors-grid { + justify-content: flex-start; + align-items: flex-start; + padding-top: 40px; + border-top: 1px solid rgba(255,255,255,.3); + } + #home-sponsors-list .sponsor-logo { + width: 33.33%; + padding: 10px; + } + #home-sponsors-list .sponsor-logo img { + max-width: 100%; + } +} diff --git a/documentation/assets/css/website.css b/documentation/assets/css/website.css index 4014f0c9..b938bc8b 100644 --- a/documentation/assets/css/website.css +++ b/documentation/assets/css/website.css @@ -150,6 +150,8 @@ a.main-cta { padding-left: 12px; padding-right: 12px; border-radius: 16px; + font-size: 16px; + font-weight: 600; line-height: 2; background-color: #F64E4D; transition: transform .25s ease; @@ -1059,4 +1061,4 @@ a.feature-icon:hover img { .footer-text a { font-size: 14px; } -} \ No newline at end of file +} diff --git a/documentation/assets/img/sponsor-logo.png b/documentation/assets/img/sponsor-logo.png new file mode 100644 index 0000000000000000000000000000000000000000..d530198a53f46ac8cf2dd318784c71132e9aceab GIT binary patch literal 14846 zcmYMbWmFtZ*ENj01b6q~!3TGD2m}uh+}&M*CqQs_f(HiIAOj(|4DK@cK#;*duKQW* z{eINy>gleUQ@i%r=TujBoR)?nHU>Ec92^|BvXY$6+p+z>f`$SI2hYM!to?R^WGk&M z4F}hhg8B3r`R!czi=ncOx;otZw>laee5^ej(pwGwt&qPJI5>nNg#Y(TdlBOQU;pnS z(+w{H9Gr-|vYfP@AN*N<=wEOBADbW=26~627S_44?|2DRd$_SURFo$P?`GnqBV=Sn zF&uJ)Wp)}+a+OHkv;eFcf00&6C)D`u$zQ7`&{}xL!hU>A|NMZ8NLBRE+r-LxBgBNb z3%mWd?%VKO+dL)lcPIpz!gFTiPcwI|YTEwuBYlt!A0gb!V}IzE zfZiWg&`$;6Vm#^(C|<%S{DpjG8}xzUel696)5BJotAFhDn&cIe0nHI1qwO|{9A8fP zYL@+aq%zZEDen@ENhSJ?l6gbS+1@Z4)=9rEG_w5tI0pA>24le;J!lRdQ3>s>{5vZu z_#GGSnQ)iHxPb%tp$AvVC2KW{^2MA~dV+!kn#)FfZ&C9tFw#ZNf7O zidZ7<B(sq=Na z-M*faVzUhhiFdX5X~_GEf0zHjeVxL)($-Nhwk2ubVl>zMcj})EM9B8p;f_ty{}10! z3{IKx(UaeSnHLG?M+1I527eyKOH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iXsr@OhOqXHO0@2=;Jtr9E3!Qkvv^+TCg!A?Kb!48fpxPSc>~K&=9kR@(e^x zd(@-p(?o1QxydqcLlbK&>jL}H8NZwYyH)P1DvBJ~wd(Z$jcHP&22B-Es3`Dk-Ep!X zZRZAfAb}z}m8Z+4TqAM1;lu|M!)H(T_zX%-EsxlBUBe)uU`%S%1~}g{CWz6jik8;g zGAEh6eP+2sB{_zk?t+h1W)!SI%%Bnd8yLMp@Gayy;AFmP^F}mF4-8t^Mrvu_*QTes-xKLBp z6>$8qROt_0OB;AWO{;QRfS*YYEu-b2&RyD+nT{w8xCHsbjv|fGh<}OZ&e~$gPZU~} zPmTHC1;fZ@$<#-@?o?DKA7VPu=a;aqS1AgSLOtjFjruuPqx#N`tu$;WJZT&&mBl3&tfPQCo_Bu4qYzQW-I7^eX@19s~Xb4 zkgi%Ur}*0TV=he|Nt(l{}8PC|-$^6NJj(ZCQ2^jpt^bR%S# z2*u(^jBJxvQk@9%bl%*;kWZLJrvlhf&u6egbXj#^@@mKD*D{TEm3r9o_p{sPGT|vC z;H^syeU5RCRU~-Hcq|pErNeYQ!8aVGv#W>f$r%c(WBdh*H2i$)mt(A~>4`9(rZ|B& zL4-I#H&K2terWVNL6{AhR=Q5$)lRqoL1sKCvgx?7pJ hPB;URU2Xp>YA_4&@sE}V*nb~kD$8rg)yr5!{C~Qhj5GiM literal 0 HcmV?d00001 diff --git a/documentation/assets/js/v4.js b/documentation/assets/js/v4.js new file mode 100644 index 00000000..dc5f2b3a --- /dev/null +++ b/documentation/assets/js/v4.js @@ -0,0 +1,16 @@ +// V4 + +const $banner = document.querySelector('#top-banner'); +const $closeBanner = document.querySelector('#close-banner'); + +function showBanner() { + document.body.classList.add('has-banner'); +} + +function closeBanner() { + document.body.classList.remove('has-banner'); +} + +setTimeout(showBanner, 2500); + +$closeBanner.onclick = closeBanner; diff --git a/documentation/assets/js/website.js b/documentation/assets/js/website.js index 595c3de5..6332f4ff 100644 --- a/documentation/assets/js/website.js +++ b/documentation/assets/js/website.js @@ -289,7 +289,7 @@ var headerIntroAnimation = anime.timeline({ autoplay: false }) .add({ - targets: ['.header a', '.secondary-menu a', '.section-intro .feature-description-text'], + targets: ['.header a', '.secondary-menu a', '.section-intro .feature-description-text', '.sponsors-grid'], opacity: {value: [0.001, 1], easing: 'linear', duration: 300}, translateY: [40, 0], translateZ: 0, @@ -574,7 +574,7 @@ var advancedStaggeringAnimation = (function() { .add({ targets: '.stagger-visualizer .cursor', keyframes: [ - { scale: .75, duration: 120}, + { scale: .75, duration: 120}, { scale: 2.5, duration: 220}, { scale: 1.5, duration: 450}, ], @@ -699,7 +699,7 @@ var timeControlAnimation = (function() { end: time.start, easing: 'spring(.3, 200, 5, 1)', update: function() { timelineAnimation.seek(time.end); }, - complete: function() { + complete: function() { controlAnimationCanMove = true; moveControlAnimation(); } @@ -822,10 +822,10 @@ var layeredAnimation = (function() { complete: function(anim) { animateShape(anim.animatables[0].target); }, }) .add({ - translateX: createKeyframes(function(el) { + translateX: createKeyframes(function(el) { return el.classList.contains('large') ? anime.random(-300, 300) : anime.random(-520, 520); }), - translateY: createKeyframes(function(el) { + translateY: createKeyframes(function(el) { return el.classList.contains('large') ? anime.random(-110, 110) : anime.random(-280, 280); }), rotate: createKeyframes(function() { return anime.random(-180, 180); }), @@ -846,7 +846,7 @@ var layeredAnimation = (function() { if (polyEl) { animation.add({ targets: polyEl, - points: createKeyframes(function() { + points: createKeyframes(function() { var scale = anime.random(72, 180) / 100; return trianglePoints.map(function(p) { return p * scale; }).join(' '); }), @@ -869,12 +869,12 @@ var layeredAnimation = (function() { complete: function(anim) { animateProgress(anim.animatables[0].target); }, }) .add({ - transformOrigin: createKeyframes(function(el) { + transformOrigin: createKeyframes(function(el) { return anime.random(0, 100) + '%'; }) }, 0) .add({ - scaleX: createKeyframes(function(el) { + scaleX: createKeyframes(function(el) { return anime.random(10, 100) / 100; }) }, 0); @@ -894,4 +894,4 @@ scrollToGettingStartedLink.addEventListener('click', function(e) { scrollToElement(document.querySelector('#getting-started')); }) -window.onload = introEasingsAnimation.init; \ No newline at end of file +window.onload = introEasingsAnimation.init; diff --git a/documentation/index.html b/documentation/index.html index cf62c1ad..adf40ddf 100644 --- a/documentation/index.html +++ b/documentation/index.html @@ -25,20 +25,27 @@ + +
+ +

+ Anime.js V4 is now in early access for GitHub Sponsors! +

+ +
+ + diff --git a/index.html b/index.html index 01456a25..d3c2e2b7 100644 --- a/index.html +++ b/index.html @@ -24,6 +24,7 @@ + @@ -36,7 +37,13 @@ - +
+ +

+ Anime.js V4 is now in early access for GitHub Sponsors! +

+ +