Skip to content

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

chore/lwd2 (#10905)

Francisco Mazzonie06435483a03
diff --git a/apps/www/components/LaunchWeek/lw6_days.json b/apps/www/components/LaunchWeek/lw6_days.json
index 85e9afc98fc..e2f162ad625 100644
--- a/apps/www/components/LaunchWeek/lw6_days.json
+++ b/apps/www/components/LaunchWeek/lw6_days.json
@@ -20,16 +20,31 @@
]
},
{
- "title": "Day 2",
- "shipped": false,
+ "title": "Image Processing: Resize V2 + CDN",
+ "shipped": true,
"date": "13 Dec 2022",
- "description": "Day 2",
+ "description": "Image Transformations",
"d": 2,
"dd": "Tuesday",
"youtube_id": "iqZlPtl_b-I",
"blogpost": "https://supabase.com/blog",
"docs": "https://supabase.com/docs",
- "steps": []
+ "steps": [
+ {
+ "title": "Image Transformations",
+ "blog": "/blog/storage-image-resizing-smart-cdn",
+ "docs": "/docs/guides/storage/image-resizing",
+ "isNew": true,
+ "description": ""
+ },
+ {
+ "title": "Smart CDN",
+ "description": "Faster asset delivery, now even faster.",
+ "blog": "/blog/storage-image-resizing-smart-cdn",
+ "docs": "/docs/guides/storage/cdn",
+ "isNew": true
+ }
+ ]
},
{
"title": "Day 3",
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 9de8012f18e..b62474ab2c8 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -38,7 +38,7 @@ export default function launchweek() {
const { isDarkMode } = useTheme()
const title = 'Launch Week 6'
const description = 'Supabase Launch Week 6 | 12-18 Dec 2022'
- const liveDay = 'Monday'
+ const liveDay = 'Tuesday'
const [supabase] = useState(() =>
createClient(process.env.NEXT_PUBLIC_SUPABASE_URL!, process.env.NEXT_PUBLIC_SUPABASE_ANON_KEY!)
@@ -102,7 +102,7 @@ export default function launchweek() {
<Badge
className={`!bg-transparent !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] !border-[#4d898c] dark:from-white dark:to-[#DFFFF1] dark:!border-[#DFFFF1] h-fit relative ${
shipped
- ? 'after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br after:from-[#dceef0] after:to-[#b6b6b6] dark:text-transparent dark:border-[#1f3738] after:dark:from-[#14292c] after:dark:to-[#141516] after:border-[#c8d8d9] after:dark:border-[#1f3536] after:-z-10 border-[#DFFFF1]'
+ ? 'after:absolute after:rounded-full text-black after:bg-white after:w-full after:h-full after:top-0 after:right-0 after:bottom-0 after:left-0 after:bg-gradient-to-br after:from-[#dceef0] after:to-[#b6b6b6] dark:text-transparent dark:!border-[#163837] after:dark:from-[#14292c] after:dark:to-[#141516] after:border-[#c8d8d9] after:dark:border-[#1f3536] after:-z-10 border-[#DFFFF1]'
: ''
}`}
>
@@ -224,10 +224,10 @@ export default function launchweek() {
<div className="relative flex items-center mb-4 sm:mb-0">
<div className="flex">
<Image
- src="/images/launchweek/antcopple.png"
- className="rounded-xl w-32 h-32"
- width={128}
- height={72}
+ src="/images/launchweek/antcopplecall.png"
+ className="rounded-xl w-32 h-32 brightness-125"
+ width={120}
+ height={80}
></Image>
</div>
<div className="flex flex-col lg:flex-row ml-8 sm:ml-10">
@@ -264,7 +264,7 @@ export default function launchweek() {
justified={false}
bordered={false}
chevronAlign="right"
- defaultValue={[day1.d.toString()]}
+ defaultValue={[day2.d.toString()]}
>
<div className="border-b pb-3">
<Accordion.Item
@@ -321,24 +321,26 @@ export default function launchweek() {
{day2.steps.length > 0 && (
<div className="h-[800px] lg:h-[400px] flex flex-col gap-5 lg:flex-row">
<div
- className={`flex-1 flex flex-col justify-between basis-1/2 lg:basis-2/3 border rounded-xl h-full p-14 text-2xl bg-no-repeat bg-[url('/images/launchweek/image-processing-bg-light.png')] dark:bg-[url('/images/launchweek/image-processing-bg.png')] bg-[right_28px_top_35px] bg-contain`}
+ className={`flex-1 flex flex-col items-center gap-5 lg:items-start justify-between basis-1/2 lg:basis-2/3 border rounded-xl h-full p-14 text-2xl bg-no-repeat bg-[url('/images/launchweek/image-processing-bg-light.png')] dark:bg-[url('/images/launchweek/image-processing-bg.png')] bg-[center_top_35px] lg:bg-[top_25px_right_25px] bg-contain`}
>
- <div className="flex items-center">
+ <div className="flex items-center justify-between flex-col-reverse lg:flex-row lg:justify-start gap-2 text-black dark:text-white">
<div>{day2.steps[0].title}</div>
- <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ <Badge className="!bg-transparent h-fit ml-4 text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
New
</Badge>
</div>
<SectionButtons docs={day2.steps[0].docs} blog={day2.steps[0].blog} />
</div>
<div
- className={`flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/cdn-caching-bg-light.png')] dark:bg-[url('/images/launchweek/cdn-caching-bg.png')] bg-[center_bottom] bg-contain`}
+ className={`flex-1 flex flex-col items-center justify-between basis-1/2 lg:basis-1/3 border rounded-xl h-full bg-no-repeat p-14 text-2xl bg-[url('/images/launchweek/cdn-caching-bg-light.png')] dark:bg-[url('/images/launchweek/cdn-caching-bg.png')] bg-[top_170px_center] lg:bg-[center_bottom] bg-contain`}
>
<div className="flex flex-col items-center gap-2 min-w-[300px]">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973]">
+ <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#DFFFF1]">
New
</Badge>
- <span>{day2.steps[1].title}</span>
+ <span className="text-black dark:text-white">
+ {day2.steps[1].title}
+ </span>
<p className="text-sm text-slate-900">{day2.steps[1].description}</p>
</div>
<SectionButtons docs={day2.steps[1].docs} blog={day2.steps[1].blog} />
@@ -469,7 +471,7 @@ export default function launchweek() {
)}
<SectionContainer className="!pt-0 sm:!pb-20 !pb-40">
<div className="flex flex-col mb-16">
- <Badge className="!bg-transparent h-fit text-sm !py-1 !px-4 text-transparent bg-clip-text bg-gradient-to-r from-[#99bbab] to-[#396f55] border-[#598973] dark:from-white dark:to-[#1a7a4ca1] dark:border-[#598973] w-fit after:bg-white mb-4">
+ <Badge className="mb-4 w-fit bg-gradient-to-r from-[#0E3737C2] to-[#67947F] hover:to-[#39617D94] dark:hover:to-[#A6FFD899] text-whiteA-1200 dark:text-black font-normal !py-1 !px-4 dark:from-white dark:via-white dark:to-[#1a7a4c75] bg-slate-1200">
Happening all week
</Badge>
<h2 className="text-3xl text-black dark:text-white mb-2">Launch Week Hackathon</h2>
@@ -553,7 +555,7 @@ export default function launchweek() {
<div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
<img
src="/images/launchweek/link.svg"
- className="absolute top-[10px] right-[10px] text-brand-900"
+ className="absolute top-[16px] right-[10px] text-brand-900"
></img>
<h3 className="text-black dark:text-white">Supabase Cache Helpers</h3>
<p className="text-slate-1000 text-xs">Previous Best Overall Project Winner</p>
@@ -567,7 +569,7 @@ export default function launchweek() {
<div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
<img
src="/images/launchweek/link.svg"
- className="absolute top-[10px] right-[10px] text-brand-900"
+ className="absolute top-[16px] right-[10px] text-brand-900"
></img>
<h3 className="text-black dark:text-white">Super UI</h3>
<p className="text-slate-1000 text-xs">Previous Best Overall Project Runner Up</p>
@@ -582,7 +584,7 @@ export default function launchweek() {
<div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
<img
src="/images/launchweek/link.svg"
- className="absolute top-[10px] right-[10px] text-brand-900"
+ className="absolute top-[16px] right-[10px] text-brand-900"
></img>
<h3 className="text-black dark:text-white">Quid Faciam Hodie?</h3>
<p className="text-slate-1000 text-xs">Winner Best Flutter Project</p>
@@ -592,7 +594,7 @@ export default function launchweek() {
<div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 mb-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
<img
src="/images/launchweek/link.svg"
- className="absolute top-[10px] right-[10px] text-brand-900"
+ className="absolute top-[16px] right-[10px] text-brand-900"
></img>
<h3 className="text-black dark:text-white">That Hot Dog Game</h3>
<p className="text-slate-1000 text-xs">Previous Winner: Most Fun/Interesting</p>
@@ -607,7 +609,7 @@ export default function launchweek() {
<div className="border border-slate-400 dark:border-[#2E2E2E] rounded-xl pl-5 pr-9 py-4 bg-white dark:bg-[#121212] w-fit relative max-w-[250px]">
<img
src="/images/launchweek/link.svg"
- className="absolute top-[10px] right-[10px] text-brand-900"
+ className="absolute top-[16px] right-[10px] text-brand-900"
></img>
<h3 className="text-black dark:text-white">RepoWatch</h3>
<p className="text-slate-1000 text-xs">Previous Winner Best Realtime Project</p>
@@ -653,7 +655,7 @@ export default function launchweek() {
</div>
<div className="flex-1">
<Badge className="mb-6 bg-gradient-to-r from-[#0E3737C2] to-[#67947F] hover:to-[#39617D94] dark:hover:to-[#A6FFD899] text-whiteA-1200 dark:text-black font-normal !py-1 !px-4 dark:from-white dark:via-white dark:to-[#1a7a4c75] bg-slate-1200">
- Live
+ Currently Happening
</Badge>
<h2 className="text-3xl dark:text-white mb-2">The Supabase Content Storm</h2>
<p className="text-slate-900 md:max-w-[80%] mb-16">
diff --git a/apps/www/public/images/launchweek/antcopplecall.png b/apps/www/public/images/launchweek/antcopplecall.png
new file mode 100644
index 00000000000..9490790f6fd
Binary files /dev/null and b/apps/www/public/images/launchweek/antcopplecall.png differ
diff --git a/apps/www/public/images/launchweek/launch-week-6.jpg b/apps/www/public/images/launchweek/launch-week-6.jpg
index cf7c77d3cda..91c4e1ff343 100644
Binary files a/apps/www/public/images/launchweek/launch-week-6.jpg and b/apps/www/public/images/launchweek/launch-week-6.jpg differ