Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

remove `loop` from sliderjs, as it's causing ordering issues with images

Jonathan Summers-Muir7e76e9264e0a
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() {
</Typography.Title>
<Typography.Text className="block mb-6">
<p className="text-base lg:text-lg">
- Supported by a network of early advocates, contributors,
- and champions.
+ Supported by a network of early advocates, contributors, and champions.
</p>
</Typography.Text>
<div className="flex space-y-1.5 flex-col lg:space-y-0 lg:space-x-1.5 lg:flex-row justify-center">
@@ -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() {
<div className="mt-6">
<div className={'lg:-mr-32 lg:-ml-32'}>
<Swiper
- style={{ overflow: 'visible' }}
initialSlide={3}
spaceBetween={0}
slidesPerView={4}
speed={300}
- watchOverflow={true}
- loop
navigation={{
prevEl: prevRef.current,
nextEl: nextRef.current,
@@ -78,7 +75,7 @@ function TwitterSocialProof() {
onInit={(swiper: any) => {
swiper.params.navigation.prevEl = prevRef.current
swiper.params.navigation.nextEl = nextRef.current
- swiper.navigation.update()
+ // swiper.navigation.update()
}}
breakpoints={{
320: {