Skip to content

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

chore: optimise images

Francesco Sansalvadoreeb1d9d2ad039
diff --git a/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx b/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx
index d05ba05721a..0414880d5ff 100644
--- a/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx
+++ b/apps/www/_blog/2023-04-11-edge-runtime-self-hosted-deno-functions.mdx
@@ -7,7 +7,7 @@ tags:
date: '2023-04-11'
to_depth: 3
author: laktek,inian
-image: launch-week-7/day-2-edge-runtime/edge-runtime-og.png
+image: launch-week-7/day-2-edge-runtime/edge-runtime-og.jpg
thumb: launch-week-7/day-2-edge-runtime/edge-runtime-thumb.jpeg
---
diff --git a/apps/www/_blog/2023-04-12-storage-v3-resumable-uploads.mdx b/apps/www/_blog/2023-04-12-storage-v3-resumable-uploads.mdx
index d023b4b9dbd..c992b597219 100644
--- a/apps/www/_blog/2023-04-12-storage-v3-resumable-uploads.mdx
+++ b/apps/www/_blog/2023-04-12-storage-v3-resumable-uploads.mdx
@@ -7,8 +7,8 @@ tags:
date: '2023-04-12'
to_depth: 3
author: fabrizio,inian
-image: launch-week-7/day-3-storage-resumable-uploads/storage-v3.jpg
-thumb: launch-week-7/day-3-storage-resumable-uploads/thumb-day3.jpg
+image: launch-week-7/day-3-storage-v3/storage-v3-og.jpg
+thumb: launch-week-7/day-3-storage-v3/storage-v3-thumb.jpg
---
Supabase Storage is receiving a major upgrade, implementing many of the most requested features from our users: Resumable Uploads , Quality Filters, Next.js support, and WebP support.
diff --git a/apps/www/components/Blog/ShareArticleActions.tsx b/apps/www/components/Blog/ShareArticleActions.tsx
index 351bf951dc6..f4d68458657 100644
--- a/apps/www/components/Blog/ShareArticleActions.tsx
+++ b/apps/www/components/Blog/ShareArticleActions.tsx
@@ -50,10 +50,11 @@ const ShareArticleActions = ({ title, slug }: { title: string; slug: string }) =
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
- <path d="M22.7969 0.878906H0.703125V22.9727H22.7969V0.878906Z" fill="currentColor" />
<path
- d="M11.0093 13.3976L7.17969 6.25391H8.94719L11.1566 10.7463C11.1566 10.8199 11.2302 10.8936 11.3039 10.9672C11.3775 11.0409 11.3775 11.1145 11.4511 11.2618L11.5248 11.3355V11.4091C11.5984 11.5564 11.5984 11.6301 11.6721 11.7773C11.7457 11.851 11.7457 11.9983 11.8194 12.0719C11.893 11.851 12.0403 11.7037 12.114 11.4091C12.1876 11.1882 12.3349 10.9672 12.4822 10.7463L14.6916 6.25391H16.3118L12.4822 13.4712V18.0372H11.0093V13.3976Z"
- fill="#1C1C1C"
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M0.703125 0.878906H22.7031V22.8789H0.703125V0.878906ZM7.1522 6.23109L10.9656 13.3445V17.9644H12.4322V13.4177L16.2455 6.23109H14.6322L12.4322 10.7044C12.2855 10.9244 12.1389 11.1444 12.0656 11.3644C12.0233 11.5332 11.9568 11.6534 11.894 11.767C11.8477 11.8508 11.8033 11.931 11.7722 12.0244C11.7355 11.9877 11.7171 11.9327 11.6988 11.8776C11.6805 11.8227 11.6622 11.7677 11.6255 11.731C11.5888 11.6577 11.5704 11.6026 11.5521 11.5475C11.5338 11.4926 11.5155 11.4376 11.4789 11.3644V11.2911L11.4055 11.2177C11.3775 11.1617 11.3602 11.1164 11.3454 11.0777C11.3215 11.015 11.3042 10.9697 11.2589 10.9244C11.1855 10.8511 11.1122 10.7777 11.1122 10.7044L8.9122 6.23109H7.1522Z"
+ fill="currentColor"
/>
</svg>
</a>
diff --git a/apps/www/components/LaunchWeek/HackernewsShare.tsx b/apps/www/components/LaunchWeek/HackernewsShare.tsx
deleted file mode 100644
index 89ed624f49f..00000000000
--- a/apps/www/components/LaunchWeek/HackernewsShare.tsx
+++ /dev/null
@@ -1,32 +0,0 @@
-import Image from 'next/image'
-import React from 'react'
-import days from '~/components/LaunchWeek/lw7_days'
-
-const HackernewsShare = ({ url, title }: { url: string; title: string }) => {
- const hackerNewsLink = `https://news.ycombinator.com/submitlink?u=${encodeURIComponent(
- url
- )}&t=${encodeURIComponent(title)}`
-
- return (
- <div className="flex gap-4 lg:gap-6">
- <p className="text-lg">Start a conversation about this topic</p>
- <a href={hackerNewsLink} target="_blank" rel="noopener noreferrer">
- <svg
- width="23"
- height="23"
- viewBox="0 0 23 23"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <path d="M22.7969 0.878906H0.703125V22.9727H22.7969V0.878906Z" fill="#A0A0A0" />
- <path
- d="M11.0093 13.3976L7.17969 6.25391H8.94719L11.1566 10.7463C11.1566 10.8199 11.2302 10.8936 11.3039 10.9672C11.3775 11.0409 11.3775 11.1145 11.4511 11.2618L11.5248 11.3355V11.4091C11.5984 11.5564 11.5984 11.6301 11.6721 11.7773C11.7457 11.851 11.7457 11.9983 11.8194 12.0719C11.893 11.851 12.0403 11.7037 12.114 11.4091C12.1876 11.1882 12.3349 10.9672 12.4822 10.7463L14.6916 6.25391H16.3118L12.4822 13.4712V18.0372H11.0093V13.3976Z"
- fill="#1C1C1C"
- />
- </svg>
- </a>
- </div>
- )
-}
-
-export default HackernewsShare
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx b/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx
index 8b724c80785..122a0b64a15 100644
--- a/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx
+++ b/apps/www/components/LaunchWeek/Releases/LW7/LW7Releases.tsx
@@ -555,7 +555,7 @@ export default function LW7Releases() {
<motion.div
className={`
relative overflow-hidden group/2 flex-1 flex flex-col items-center gap-5 lg:items-start justify-between
- w-full border rounded-xl h-full px-4 sm:px-8 lg:px-14 py-14 xs:text-2xl text-xl text-center shadow-lg
+ w-full border rounded-xl h-full px-8 lg:px-14 py-14 xs:text-2xl text-xl text-center shadow-lg
`}
initial="default"
animate="default"
diff --git a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx
index 3dbe9b5da2e..31527f8701c 100644
--- a/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx
+++ b/apps/www/components/LaunchWeek/Releases/LW7/components/index.tsx
@@ -159,7 +159,7 @@ export const ChipLink = ({
target={target ?? '_self'}
rel="noopener"
className={[
- 'flex justify-between w-full min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444480] to-[#19191980] hover:from-[#4e4e4e80] hover:to-[#19191980] backdrop-blur-sm rounded-full text-sm py-2 pl-3 pr-2',
+ 'flex justify-between w-full min-h-[43px] sm:w-auto items-center border border-[#232323] bg-gradient-to-r text-white from-[#46444490] to-[#19191980] hover:from-[#4e4e4e90] hover:to-[#19191980] backdrop-blur-xl rounded-full text-sm py-2 pl-3 pr-2',
className,
].join(' ')}
>
diff --git a/apps/www/components/LaunchWeek/lw7_days.ts b/apps/www/components/LaunchWeek/lw7_days.ts
index a7e8869a342..da0a8f0e866 100644
--- a/apps/www/components/LaunchWeek/lw7_days.ts
+++ b/apps/www/components/LaunchWeek/lw7_days.ts
@@ -5,7 +5,7 @@ const images = {
'0-ogImages-03-mobile': '/images/launchweek/seven/day0/ai-images/ai-image-text-input.png',
'0-ogImages-04': '/images/launchweek/seven/day0/ai-images/images/img_3.png',
'0-ogImages-05': '/images/launchweek/seven/day0/ai-images/ai-images-overlay.png',
- '0-supavisor-01': '/images/launchweek/seven/day0/supavisor/supavisor_01.png',
+ '0-supavisor-01': '/images/launchweek/seven/day0/supavisor/supavisor_01.svg',
'0-supavisor-02': '/images/launchweek/seven/day0/supavisor/supavisor_02.svg',
'01-self-hosted-logs-01': '/images/launchweek/seven/day1/self-hosted-logs-base.jpg',
'01-self-hosted-logs-01-mobile':
@@ -175,7 +175,8 @@ const days: WeekDayProps[] = [
steps: [
{
title: 'Storage v3: Resumable Uploads with support for 50GB files',
- blog: '/blog/resumable-uploads-with-postgres-advisory-locks',
+ description: 'Resumable Uploads with support for 50GB files',
+ blog: '/blog/storage-v3-resumable-uploads',
thumb: images['03-storage-thumb'],
video: 'https://www.youtube.com/watch?v=pT2PcZFq_M0',
docs: '/docs/guides/storage/uploading',
diff --git a/apps/www/pages/blog/[slug].tsx b/apps/www/pages/blog/[slug].tsx
index a36670a7840..58eea27ee2b 100644
--- a/apps/www/pages/blog/[slug].tsx
+++ b/apps/www/pages/blog/[slug].tsx
@@ -12,7 +12,7 @@ import DefaultLayout from '~/components/Layouts/Default'
import BlogLinks from '~/components/LaunchWeek/7/BlogLinks'
import { generateReadingTime } from '~/lib/helpers'
import ShareArticleActions from '~/components/Blog/ShareArticleActions'
-import useActiveAnchors from '~/hooks/useActiveAnchors'
+// import useActiveAnchors from '~/hooks/useActiveAnchors'
import mdxComponents from '~/lib/mdx/mdxComponents'
import { mdxSerialize } from '~/lib/mdx/mdxSerialize'
import { getAllPostSlugs, getPostdata, getSortedPosts } from '~/lib/posts'
@@ -208,7 +208,7 @@ function BlogPostPage(props: any) {
{author.map((author: any, i: number) => {
return (
<div className="mr-4 w-max" key={i}>
- <Link href={author.author_url}>
+ <Link href={author.author_url} target="_blank">
<a className="cursor-pointer">
<div className="flex items-center gap-3">
{author.author_image_url && (
diff --git a/apps/www/public/images/blog/launch-week-7/day-2-edge-runtime/edge-runtime-og.jpg b/apps/www/public/images/blog/launch-week-7/day-2-edge-runtime/edge-runtime-og.jpg
new file mode 100644
index 00000000000..7acefe0a675
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-7/day-2-edge-runtime/edge-runtime-og.jpg differ
diff --git a/apps/www/public/images/blog/launch-week-7/day-3-storage-v3/storage-v3-og.jpg b/apps/www/public/images/blog/launch-week-7/day-3-storage-v3/storage-v3-og.jpg
new file mode 100644
index 00000000000..3ea897453cc
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-7/day-3-storage-v3/storage-v3-og.jpg differ
diff --git a/apps/www/public/images/blog/launch-week-7/day-3-storage-v3/storage-v3-thumb.jpg b/apps/www/public/images/blog/launch-week-7/day-3-storage-v3/storage-v3-thumb.jpg
new file mode 100644
index 00000000000..c818bf2a6e8
Binary files /dev/null and b/apps/www/public/images/blog/launch-week-7/day-3-storage-v3/storage-v3-thumb.jpg differ