diff --git a/www/components/AuthWidget/AuthComponentExample.tsx b/www/components/AuthWidget/AuthComponentExample.tsx
index 690ed397654..106d30c9e9c 100644
--- a/www/components/AuthWidget/AuthComponentExample.tsx
+++ b/www/components/AuthWidget/AuthComponentExample.tsx
@@ -62,7 +62,7 @@ function AuthComponentExample() {
initialSlide={0}
spaceBetween={0}
slidesPerView={1}
- speed={400}
+ speed={300}
autoHeight={true}
allowTouchMove={false}
>
diff --git a/www/components/BuiltWithSupabase/index.tsx b/www/components/BuiltWithSupabase/index.tsx
index 084857f29bc..222ed94f876 100644
--- a/www/components/BuiltWithSupabase/index.tsx
+++ b/www/components/BuiltWithSupabase/index.tsx
@@ -42,34 +42,14 @@ const BuiltExamples = () => {
{Examples.slice(0, 6).map((example, i) => {
return (
-
+
2 && `sm:hidden lg:block`}`}
+ >
)
})}
-
- {/*
*/}
)
}
diff --git a/www/components/Carousels/ImageCarousel.tsx b/www/components/Carousels/ImageCarousel.tsx
index 28f4f23e37e..8f350d2652b 100644
--- a/www/components/Carousels/ImageCarousel.tsx
+++ b/www/components/Carousels/ImageCarousel.tsx
@@ -96,7 +96,7 @@ function ImageCarousel(props: ImageCarouselProps) {
initialSlide={0}
spaceBetween={0}
slidesPerView={1}
- speed={400}
+ speed={300}
autoHeight={true}
allowTouchMove={false}
>
@@ -147,7 +147,7 @@ function ImageCarousel(props: ImageCarouselProps) {
// @ts-ignore
onSwiper={setSwiperDetails}
initialSlide={0}
- speed={400}
+ speed={300}
allowTouchMove={false}
autoHeight={true}
>
diff --git a/www/components/Carousels/SplitCodeBlockCarousel.tsx b/www/components/Carousels/SplitCodeBlockCarousel.tsx
index 6bebca92e3d..c731adf2f40 100644
--- a/www/components/Carousels/SplitCodeBlockCarousel.tsx
+++ b/www/components/Carousels/SplitCodeBlockCarousel.tsx
@@ -83,7 +83,7 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
initialSlide={apiSwiperActiveIndex}
spaceBetween={0}
slidesPerView={1}
- speed={400}
+ speed={300}
autoHeight={true}
allowTouchMove={false}
>
@@ -108,7 +108,7 @@ function SplitCodeBlockCarousel(props: SplitCodeBlockCarousel) {
slidesPerView={1}
direction="horizontal"
// style={{ overflow: 'hidden' }}
- speed={400}
+ speed={300}
allowTouchMove={false}
>
{props.content.map((extension, i) => {
diff --git a/www/components/MadeForDevelopers/index.tsx b/www/components/MadeForDevelopers/index.tsx
index 7a230919eb5..086bf0c9892 100644
--- a/www/components/MadeForDevelopers/index.tsx
+++ b/www/components/MadeForDevelopers/index.tsx
@@ -11,6 +11,8 @@ const MadeForDevelopers = () => {
return (
Instant APIs
@@ -25,7 +27,6 @@ const MadeForDevelopers = () => {
]}
// @ts-ignore
content={CodeExamples}
- size="small"
footer={[
{DeveloperFeatures.map((feature: any, idx: number) => {
diff --git a/www/components/Sections/APISection.tsx b/www/components/Sections/APISection.tsx
index 5be568bc6fc..0ac98cd4883 100644
--- a/www/components/Sections/APISection.tsx
+++ b/www/components/Sections/APISection.tsx
@@ -16,6 +16,7 @@ interface Props {
title: string | React.ReactNode
footer?: React.ReactNode
text?: React.ReactNode
+ autoHeight?: boolean
}
function APISection(props: Props) {
@@ -60,8 +61,9 @@ function APISection(props: Props) {
initialSlide={apiSwiperActiveIndex}
spaceBetween={0}
slidesPerView={1}
- speed={400}
+ speed={300}
allowTouchMove={false}
+ autoHeight={props.autoHeight ? props.autoHeight : false}
>
{props.content &&
props.content.map((content: Example, i) => (
diff --git a/www/components/Sections/TwitterSocialProof.tsx b/www/components/Sections/TwitterSocialProof.tsx
index d20531953c3..2f454f91083 100644
--- a/www/components/Sections/TwitterSocialProof.tsx
+++ b/www/components/Sections/TwitterSocialProof.tsx
@@ -1,13 +1,39 @@
+import { useRef } from 'react'
+
import { useRouter } from 'next/router'
+
import { Swiper, SwiperSlide } from 'swiper/react'
-import { Button, Typography, IconMessageCircle, Space } from '@supabase/ui'
+// import Swiper core and required modules
+import SwiperCore, { Navigation, Pagination } from 'swiper'
+
+import {
+ Button,
+ Typography,
+ IconMessageCircle,
+ Space,
+ IconAlignLeft,
+ IconArrowLeft,
+ IconArrowRight,
+} from '@supabase/ui'
import Examples from '../../data/tweets/Tweets.json'
import TweetCard from '../TweetCard'
+// Import Swiper styles
+import 'swiper/swiper.min.css'
+import 'swiper/components/navigation/navigation.min.css'
+import 'swiper/components/pagination/pagination.min.css'
+
+// install Swiper modules
+SwiperCore.use([Navigation, Pagination])
+
function TwitterSocialProof() {
// base path for images
const { basePath } = useRouter()
+
+ const prevRef = useRef(null)
+ const nextRef = useRef(null)
+
return (
<>
@@ -28,24 +54,37 @@ function TwitterSocialProof() {
-