Skip to content

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

lw8: current day widget

Francesco Sansalvadore3d807e4915e8
diff --git a/apps/www/components/LaunchWeek/8/Releases/DayHighlightWidget.tsx b/apps/www/components/LaunchWeek/8/Releases/DayHighlightWidget.tsx
index c0edcfe5a25..c72b13ab13c 100644
--- a/apps/www/components/LaunchWeek/8/Releases/DayHighlightWidget.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/DayHighlightWidget.tsx
@@ -2,20 +2,38 @@ import React from 'react'
import { SmallCard } from './components'
import Link from 'next/link'
import Image from 'next/image'
+import days, { WeekDayProps } from './lw8_data'
const DayHighlightWidget = () => {
+ const [_pre, d1, _d2, _d3, _d4, _d5] = days
+
return (
<div className="w-full max-w-xl">
- <SmallCard
- className="hover:from-scale-900 hover:to-scale-900 border border-surface-200"
- innerClassName="bg-opacity-20 group-hover:bg-opacity-100"
- >
+ <SmallCard className="border hover:border-scale-800" innerClassName="bg-opacity-20">
<Link href="#currentDay">
<a className="flex flex-row justify-between items-center w-full h-full gap-2">
- <div className="relative flex-shrink flex items-center p-2 w-2/3 lg:w-1/2 md:w-auto">
+ <div className="relative flex-shrink flex items-center p-2 w-2/3 md:w-auto">
<div className="flex flex-col gap-1 sm:pl-4">
- <span className="text-white">Join us daily at Twitter Spaces </span>
- <span className="">Next up: Monday – Opening Day</span>
+ <div className="flex items-center gap-2">
+ <div className={['flex min-w-[20px] opacity-50', 'opacity-pulse'].join(' ')}>
+ <svg
+ width="21"
+ height="21"
+ viewBox="0 0 21 21"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ fillRule="evenodd"
+ clipRule="evenodd"
+ d="M5.55025 3.97258C5.94078 4.36311 5.94078 4.99627 5.55025 5.38679C2.81658 8.12046 2.81658 12.5526 5.55025 15.2863C5.94078 15.6768 5.94078 16.31 5.55025 16.7005C5.15973 17.091 4.52656 17.091 4.13604 16.7005C0.62132 13.1858 0.62132 7.4873 4.13604 3.97258C4.52656 3.58206 5.15973 3.58206 5.55025 3.97258ZM15.4498 3.97281C15.8403 3.58229 16.4735 3.58229 16.864 3.97281C20.3787 7.48753 20.3787 13.186 16.864 16.7007C16.4735 17.0913 15.8403 17.0913 15.4498 16.7007C15.0592 16.3102 15.0592 15.677 15.4498 15.2865C18.1834 12.5529 18.1834 8.1207 15.4498 5.38703C15.0592 4.9965 15.0592 4.36334 15.4498 3.97281ZM8.37869 6.80101C8.76921 7.19153 8.76921 7.8247 8.37869 8.21522C7.20711 9.38679 7.20711 11.2863 8.37869 12.4579C8.76921 12.8484 8.76921 13.4816 8.37868 13.8721C7.98816 14.2626 7.355 14.2626 6.96447 13.8721C5.01185 11.9195 5.01185 8.75363 6.96447 6.80101C7.355 6.41048 7.98816 6.41048 8.37869 6.80101ZM12.6213 6.80124C13.0119 6.41072 13.645 6.41072 14.0355 6.80124C15.9882 8.75386 15.9882 11.9197 14.0355 13.8723C13.645 14.2628 13.0119 14.2628 12.6213 13.8723C12.2308 13.4818 12.2308 12.8486 12.6213 12.4581C13.7929 11.2865 13.7929 9.38703 12.6213 8.21545C12.2308 7.82493 12.2308 7.19176 12.6213 6.80124ZM10.5 9.33677C11.0523 9.33677 11.5 9.78449 11.5 10.3368V10.3468C11.5 10.8991 11.0523 11.3468 10.5 11.3468C9.94772 11.3468 9.5 10.8991 9.5 10.3468V10.3368C9.5 9.78449 9.94772 9.33677 10.5 9.33677Z"
+ fill="#F2F2F2"
+ />
+ </svg>
+ </div>
+ <span className="text-white">Live now: Day 1</span>
+ </div>
+ <span className="">{d1.steps[0].title}</span>
</div>
</div>
<div className="relative flex !aspect-video h-[80px] md:h-[100px] gap-2 z-10 rounded overflow-hidden">
@@ -24,6 +42,7 @@ const DayHighlightWidget = () => {
alt="twitter spaces thumbnail"
layout="fill"
objectFit="cover"
+ className="group-hover:scale-105 transition-transform"
/>
</div>
</a>
diff --git a/apps/www/components/LaunchWeek/8/Releases/components/index.tsx b/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
index 5d8632623ab..e71cac91ada 100644
--- a/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/components/index.tsx
@@ -147,9 +147,10 @@ export const AccordionHeader = ({
shippable?: boolean
}) => (
<div
- className={['flex flex-1', shippable && shipped ? 'flex-col sm:flex-row' : 'flex-row'].join(
- ' '
- )}
+ className={[
+ 'flex flex-1 scroll-mt-20',
+ shippable && shipped ? 'flex-col sm:flex-row' : 'flex-row',
+ ].join(' ')}
>
<div className="flex gap-4 w-full sm:w-auto sm:min-w-[240px] md:min-w-[380px] items-center">
<span className="text-scale-900 text-sm">
@@ -194,7 +195,7 @@ export const AccordionHeader = ({
</g>
</svg>
- {day === 1 && <CountdownComponent date={publishedAt} showCard={false} />}
+ {day === 2 && <CountdownComponent date={publishedAt} showCard={false} />}
</span>
)}
</div>
diff --git a/apps/www/components/LaunchWeek/8/Releases/index.tsx b/apps/www/components/LaunchWeek/8/Releases/index.tsx
index a810b05bc15..298440554e9 100644
--- a/apps/www/components/LaunchWeek/8/Releases/index.tsx
+++ b/apps/www/components/LaunchWeek/8/Releases/index.tsx
@@ -94,11 +94,11 @@ export default function LW8Releases() {
const [preRelease, day1, day2, day3, day4, day5] = days
const isTablet = useBreakpoint(1023)
const isDesktop = useBreakpoint(1280)
- const showAll = true
+ const showAll = false
const publishedSections =
days
.filter(
- (day: WeekDayProps) => day.d === 0 || Date.parse(day.publishedAt) <= Date.now() || showAll
+ (day: WeekDayProps) => Date.parse(day.publishedAt) <= Date.now() || day.shipped || showAll
)
.map((day: WeekDayProps) => day.d.toString()) ?? []
@@ -283,7 +283,7 @@ export default function LW8Releases() {
)}
</Accordion.Item>
</div>
- <div className="border-b border-[#111718]" id="currentDay">
+ <div className="border-b border-[#111718] scroll-mt-16" id="currentDay">
<Accordion.Item
header={
<AccordionHeader
diff --git a/apps/www/pages/launch-week/index.tsx b/apps/www/pages/launch-week/index.tsx
index 8e643fa9d2b..04acdef8383 100644
--- a/apps/www/pages/launch-week/index.tsx
+++ b/apps/www/pages/launch-week/index.tsx
@@ -144,7 +144,7 @@ export default function TicketHome({ users, meetups }: Props) {
<LaunchWeekLogoHeader />
</div>
<div className="absolute inset-0 z-0 flex items-center justify-center">
- <div className="absolute z-40 w-full flex justify-center -translate-y-6">
+ <div className="absolute z-40 w-full flex justify-center -translate-y-8">
<DayHighlightWidget />
</div>
<AnimatedParticles />
diff --git a/apps/www/public/customers-rss.xml b/apps/www/public/customers-rss.xml
index ada43cd244f..bbb538fb5db 100644
--- a/apps/www/public/customers-rss.xml
+++ b/apps/www/public/customers-rss.xml
@@ -5,63 +5,63 @@
<link>https://supabase.com</link>
<description>Latest news from Supabase</description>
<language>en</language>
- <lastBuildDate>Mon, 05 Jun 2023 16:00:00 GMT</lastBuildDate>
+ <lastBuildDate>Mon, 05 Jun 2023 22:00:00 GMT</lastBuildDate>
<atom:link href="https://supabase.com/rss.xml" rel="self" type="application/rss+xml"/>
<item>
<guid>https://supabase.com/customers/berriai</guid>
<title>Berri AI Boosts Productivity by Migrating from AWS RDS to Supabase with pgvector</title>
<link>https://supabase.com/customers/berriai</link>
<description>Learn how Berri AI overcame challenges with self-hosting their vector database on AWS RDS and successfully migrated to Supabase.</description>
- <pubDate>Mon, 05 Jun 2023 16:00:00 GMT</pubDate>
+ <pubDate>Mon, 05 Jun 2023 22:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/markprompt</guid>
<title>Markprompt and Supabase - GDPR-Compliant AI Chatbots for Docs and Websites.</title>
<link>https://supabase.com/customers/markprompt</link>
<description>AI-powered chatbot platform, Markprompt, empowers developers to deliver efficient and GDPR-compliant prompt experiences on top of their content, by leveraging Supabase&apos;s secure and privacy-focused database and authentication solutions.</description>
- <pubDate>Tue, 16 May 2023 16:00:00 GMT</pubDate>
+ <pubDate>Tue, 16 May 2023 22:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/mendableai</guid>
<title>Mendable switches from Pinecone to Supabase for PostgreSQL vector embeddings.</title>
<link>https://supabase.com/customers/mendableai</link>
<description>How Mendable boosts efficiency and accuracy of chat powered search for documentation using Supabase with pgvector.</description>
- <pubDate>Thu, 04 May 2023 16:00:00 GMT</pubDate>
+ <pubDate>Thu, 04 May 2023 22:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/happyteams</guid>
<title>HappyTeams unlocks better performance and reduces cost with Supabase.</title>
<link>https://supabase.com/customers/happyteams</link>
<description>How a bootstrapped startup migrated from Heroku to Supabase in 30 minutes and never looked back.</description>
- <pubDate>Wed, 15 Feb 2023 16:00:00 GMT</pubDate>
+ <pubDate>Wed, 15 Feb 2023 23:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/xendit</guid>
<title>Xendit use Supabase and create a full solution shipped to production in less than one week.</title>
<link>https://supabase.com/customers/xendit</link>
<description>As a payment processor, Xendit are responsible for verifying that all transactions are legal.</description>
- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/replenysh</guid>
<title>Replenysh uses Supabase to implement OTP in less than 24 hours.</title>
<link>https://supabase.com/customers/replenysh</link>
<description>With Supabase, Replenysh gets a slick auth experience, reduces DevOps overhead, and continues to scale with Postgres.</description>
- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/mobbin</guid>
<title>How Mobbin migrated 200,000 users from Firebase for a better authentication experience.</title>
<link>https://supabase.com/customers/mobbin</link>
<description>Mobbin helps over 200,000 creators globally search and view the latest design patterns from well-known apps.</description>
- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
</item>
<item>
<guid>https://supabase.com/customers/epsilon3</guid>
<title>Epsilon3 digitize paper-based procedures in the space industry using telemetry data, simplifying testing and operations.</title>
<link>https://supabase.com/customers/epsilon3</link>
<description>Epsilon3 uses Supabase to help teams execute secure and reliable operations in an industry where project spend runs into the billions.</description>
- <pubDate>Mon, 13 Feb 2023 16:00:00 GMT</pubDate>
+ <pubDate>Mon, 13 Feb 2023 23:00:00 GMT</pubDate>
</item>
</channel>