bullet03 commented on code in PR #17205:
URL: https://github.com/apache/beam/pull/17205#discussion_r845086963
##########
website/www/site/data/en/quotes.yaml:
##########
@@ -19,3 +19,9 @@
- text: Oriel Research Therapeutics (ORT) is a startup company that utilizes
Apache Beam to process over 1 million samples of genomic data to detect
Leukemia, Sepsis and other medical conditions.
icon: icons/quote-icon.svg
logoUrl: images/logos/powered-by/oriel.png
+- text: Scio is a Scala API for Apache Beam and Google Cloud Dataflow inspired
by Apache Spark and Scalding.
+ icon: icons/quote-icon.svg
+ logoUrl: images/logos/powered-by/scio.png
+- text: Google Cloud Dataflow is a fully managed service for executing Apache
Beam pipelines within the Google Cloud Platform ecosystem.
+ icon: icons/quote-icon.svg
+ logoUrl: images/logos/powered-by/dataflow.png
Review Comment:
done
##########
website/www/site/assets/js/quotes-slider.js:
##########
@@ -10,33 +10,99 @@
// License for the specific language governing permissions and limitations
under
// the License.
-var slider = new KeenSlider("#my-keen-slider", {
- loop: true,
- created: function (instance) {
- var dots_wrapper = document.getElementById("dots");
- var slides = document.querySelectorAll(".keen-slider__slide");
- slides.forEach(function (t, idx) {
- var dot = document.createElement("button");
- dot.classList.add("dot");
- dots_wrapper.appendChild(dot);
- dot.addEventListener("click", function () {
- instance.moveToSlide(idx);
- });
+function calcBodyWidth() {
+ return window.innerWidth && document.documentElement.clientWidth ?
+ Math.min(window.innerWidth, document.documentElement.clientWidth) :
+ window.innerWidth ||
+ document.documentElement.clientWidth ||
+ document.getElementsByTagName('body')[0].clientWidth;
+}
+
+(function () {
+
+ var CountOfSlides = {
+ min: 1,
+ renderedOnDesktop: 3,
+ }
+
+ var Selectors = {
+ desktopSlider: '.quotes-desktop.keen-slider-JS',
+ mobileSlider: '.quote-mobile.keen-slider-JS',
+ oneSlide: '.keen-slider__slide',
+ }
+
+ var classOneSlideExtra = 'wrap-slide';
+ var classOneSlide = 'keen-slider__slide';
+ var classVisible = 'visible';
+
+ var tabletWidth = 1024;
Review Comment:
done
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]