From 35a995c53e86995da962d697ca5e3392fe5809b9 Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Mon, 29 Mar 2021 17:36:46 +0800 Subject: [PATCH 1/2] uncomment --- www/pages/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/www/pages/index.tsx b/www/pages/index.tsx index b65e6b46574..2d42af41cd5 100644 --- a/www/pages/index.tsx +++ b/www/pages/index.tsx @@ -23,7 +23,7 @@ const Index = ({}: Props) => { - {/*
+
@@ -36,7 +36,7 @@ const Index = ({}: Props) => {
-
*/} + From 7e76e9264e0a942bc0c3d9255098e262b1b9629f Mon Sep 17 00:00:00 2001 From: Jonathan Summers-Muir Date: Mon, 29 Mar 2021 17:38:06 +0800 Subject: [PATCH 2/2] remove `loop` from sliderjs, as it's causing ordering issues with images --- www/components/Sections/GithubExamples.tsx | 4 +--- www/components/Sections/TwitterSocialProof.tsx | 5 +---- 2 files changed, 2 insertions(+), 7 deletions(-) diff --git a/www/components/Sections/GithubExamples.tsx b/www/components/Sections/GithubExamples.tsx index 0b45687a9b7..5d30f9033dc 100644 --- a/www/components/Sections/GithubExamples.tsx +++ b/www/components/Sections/GithubExamples.tsx @@ -39,8 +39,7 @@ function GithubExamples() {

- Supported by a network of early advocates, contributors, - and champions. + Supported by a network of early advocates, contributors, and champions.

@@ -86,7 +85,6 @@ function GithubExamples() { autoplay={{ delay: 2400, }} - loop={true} speed={300} navigation={{ prevEl: prevRef.current, diff --git a/www/components/Sections/TwitterSocialProof.tsx b/www/components/Sections/TwitterSocialProof.tsx index a5288275e31..fae6971afde 100644 --- a/www/components/Sections/TwitterSocialProof.tsx +++ b/www/components/Sections/TwitterSocialProof.tsx @@ -62,13 +62,10 @@ function TwitterSocialProof() {
{ swiper.params.navigation.prevEl = prevRef.current swiper.params.navigation.nextEl = nextRef.current - swiper.navigation.update() + // swiper.navigation.update() }} breakpoints={{ 320: {