Skip to content

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

fix build issues.

Jonathan Summers-Muira1b965d3ee0b
diff --git a/www/components/Carousels/ImageCarousel.tsx b/www/components/Carousels/ImageCarousel.tsx
index 407283b1455..5ba5b1f262c 100644
--- a/www/components/Carousels/ImageCarousel.tsx
+++ b/www/components/Carousels/ImageCarousel.tsx
@@ -159,21 +159,23 @@ function ImageCarousel(props: ImageCarouselProps) {
<SwiperSlide key={i}>
<div className="bg-white dark:bg-gray-800">
<Typography.Title level={4}>{content.title}</Typography.Title>
- <Typography.Text>
- <Link href={content.url} as={content.url}>
- <a>
- <p className="text-base">{content.text}</p>
- <Button
- className="mb-8"
- type="outline"
- size="small"
- icon={<IconArrowUpRight />}
- >
- {content.cta ? content.cta : 'View documentation'}
- </Button>
- </a>
- </Link>
- </Typography.Text>
+ {content.url && (
+ <Typography.Text>
+ <Link href={content.url} as={content.url}>
+ <a>
+ <p className="text-base">{content.text}</p>
+ <Button
+ className="mb-8"
+ type="outline"
+ size="small"
+ icon={<IconArrowUpRight />}
+ >
+ {content.cta ? content.cta : 'View documentation'}
+ </Button>
+ </a>
+ </Link>
+ </Typography.Text>
+ )}
</div>
</SwiperSlide>
)
diff --git a/www/components/Sections/GithubExamples.tsx b/www/components/Sections/GithubExamples.tsx
index 517b9bcafdc..a1f35a14a76 100644
--- a/www/components/Sections/GithubExamples.tsx
+++ b/www/components/Sections/GithubExamples.tsx
@@ -105,7 +105,10 @@ function GithubExamples() {
320: {
slidesPerView: 1,
},
- 991: {
+ 920: {
+ slidesPerView: 3,
+ },
+ 1024: {
slidesPerView: 3,
},
}}
diff --git a/www/components/Sections/TwitterSocialProof.tsx b/www/components/Sections/TwitterSocialProof.tsx
index 12e52439900..a4606d6872d 100644
--- a/www/components/Sections/TwitterSocialProof.tsx
+++ b/www/components/Sections/TwitterSocialProof.tsx
@@ -87,7 +87,10 @@ function TwitterSocialProof() {
320: {
slidesPerView: 1,
},
- 991: {
+ 920: {
+ slidesPerView: 3,
+ },
+ 1024: {
slidesPerView: 3,
},
}}