Skip to content

Commit ec81fe6

Browse files
lw13 end :( (supabase#30984)
* lw13 end * . * wording
1 parent ad4de15 commit ec81fe6

File tree

7 files changed

+23
-32
lines changed

7 files changed

+23
-32
lines changed

apps/www/components/Hero/Hero.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@ const Hero = () => {
2525
<div className="flex flex-col items-center">
2626
<div className="z-40 w-full flex justify-center -mt-4 lg:-mt-12 mb-8">
2727
<AnnouncementBadge
28-
url="/launch-week#day-5"
29-
badge="LW13: Day 5"
30-
announcement="database.build v2"
28+
url="/launch-week"
29+
badge="Launch Week 13"
30+
announcement="Learn more"
3131
/>
3232
</div>
3333
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">

apps/www/components/LaunchWeek/13/Releases/LWStickyNav.tsx

Lines changed: 7 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,7 @@ const LWXStickyNav: FC = () => {
8080
iconRight={<ChevronDown />}
8181
className="md:hidden w-[200px] min-w-[150px] flex justify-between items-center py-2 pointer-events-auto"
8282
>
83-
<span className="flex gap-1 items-center">
84-
{activeNavItem}
85-
{activeNavItem === 'Fri' && (
86-
<span
87-
title="Live"
88-
className="w-1 h-1 ml-1 animate-pulse rounded-full bg-brand mb-2 block"
89-
/>
90-
)}
91-
</span>
83+
<span className="flex gap-1 items-center">{activeNavItem}</span>
9284
</Button>
9385
</DropdownMenuTrigger>
9486
<DropdownMenuContent side="bottom" align="start" className="pointer-events-auto">
@@ -112,11 +104,11 @@ const LWXStickyNav: FC = () => {
112104
</DropdownMenu>
113105
<ul className="w-full lw-sticky-nav flex items-center gap-2 md:gap-4 text-foreground-lighter">
114106
{days.map((day: WeekDayProps) => (
115-
<li key={day.id}>
107+
<li key={day.id} className="hidden md:block">
116108
<Link
117109
href={`#${day.id}`}
118110
className={cn(
119-
'hidden p-1 transition-colors text-foreground-muted hover:text-foreground md:flex items-center pointer-events-auto',
111+
'p-1 transition-colors text-foreground-muted hover:text-foreground md:flex items-center pointer-events-auto',
120112
(day.isToday || day.shipped) && 'text-foreground-light'
121113
)}
122114
>
@@ -130,10 +122,10 @@ const LWXStickyNav: FC = () => {
130122
</Link>
131123
</li>
132124
))}
133-
<li>
125+
<li className="hidden md:block">
134126
<Link
135127
href="#build-stage"
136-
className="hidden md:block p-1 transition-colors hover:text-foreground pointer-events-auto lw-sticky-nav"
128+
className="p-1 transition-colors hover:text-foreground pointer-events-auto lw-sticky-nav"
137129
>
138130
Build <span className="hidden sm:inline">Stage</span>
139131
</Link>
@@ -146,9 +138,7 @@ const LWXStickyNav: FC = () => {
146138
className="p-1 transition-colors hover:text-foreground pointer-events-auto flex gap-1"
147139
>
148140
Hackathon{' '}
149-
<span>
150-
<ArrowUpRight className="w-4 h-5 text-foreground-muted" />
151-
</span>
141+
<ArrowUpRight className="w-4 h-5 text-foreground-muted hidden sm:inline-block" />
152142
</Link>
153143
</li>
154144
<li>
@@ -158,9 +148,7 @@ const LWXStickyNav: FC = () => {
158148
className="p-1 transition-colors hover:text-foreground pointer-events-auto flex gap-1"
159149
>
160150
Meetups{' '}
161-
<span>
162-
<ArrowUpRight className="w-4 h-5 text-foreground-muted" />
163-
</span>
151+
<ArrowUpRight className="w-4 h-5 text-foreground-muted hidden sm:inline-block" />
164152
</Link>
165153
</li>
166154
<li className="hidden sm:block">

apps/www/components/LaunchWeek/13/Releases/data/lw13_build_stage.tsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ export const days: AdventDay[] = [
2929
description: 'A better Postgres storage engine replacing Heap storage',
3030
id: 'orioledb',
3131
is_shipped: true,
32+
className: 'xl:col-span-2',
3233
links: [
3334
{
3435
url: '/blog/orioledb-launch',
@@ -118,5 +119,6 @@ export const days: AdventDay[] = [
118119
},
119120
],
120121
icon: <Flag />,
122+
className: 'sm:col-span-2 xl:col-span-3',
121123
},
122124
]

apps/www/components/LaunchWeek/13/Releases/data/lw13_data.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
225225
d: 5,
226226
dd: 'Fri',
227227
shipped: true,
228-
isToday: true,
228+
isToday: false,
229229
hasCountdown: false,
230230
blog: '/blog/database-build-v2',
231231
date: '6 December',

packages/ui-patterns/PromoToast/PromoToast.tsx

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,15 +39,18 @@ const PromoToast = () => {
3939
return (
4040
<div
4141
className={cn(
42-
'opacity-0 translate-y-3 transition-all grid gap-4 fixed z-50 bottom-4 right-4 sm:bottom-8 sm:right-8 w-[calc(100vw-2rem)] sm:w-[320px] bg-alternative hover:bg-alternative border border-default rounded p-6 shadow-lg overflow-hidden',
42+
'opacity-0 translate-y-3 transition-all grid gap-2 fixed z-50 bottom-4 right-4 sm:bottom-8 sm:right-8 w-[calc(100vw-2rem)] sm:w-[320px] bg-alternative hover:bg-alternative border border-default rounded p-6 shadow-lg overflow-hidden',
4343
visible && 'opacity-100 translate-y-0'
4444
)}
4545
>
4646
<div className="relative z-10 text-foreground-lighter leading-3 flex flex-col font-mono uppercase tracking-wide w-full text-xs">
47-
{announcement.text}
47+
<div className="text-foreground uppercase tracking-wider text-lg -mb-1">Launch Week 13</div>
48+
<p className="text-foreground-lighter uppercase tracking-wider text-xl md:text-lg leading-snug">
49+
2—6 Dec
50+
</p>
4851
</div>
49-
<div className="relative z-10 text-foreground flex flex-col text-xl w-full -mt-1">
50-
Supabase Queues: Durable Message Queues with Guaranteed Delivery
52+
<div className="relative z-10 text-foreground-lighter flex flex-col text-sm uppercase font-mono tracking-widest w-full -mt-1">
53+
A week of new features
5154
</div>
5255

5356
<div className="relative z-10 flex items-center space-x-2 mt-2">

packages/ui/src/layout/banners/LW13CountdownBanner/LW13CountdownBanner.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,7 @@ export function LW13CountdownBanner() {
3636
)}
3737
>
3838
<p className="flex gap-1.5 items-center">{announcement.text}</p>
39-
<div className="hidden sm:block text-foreground-lighter">
40-
database.build v2: Bring-Your-Own-LLM
41-
</div>
39+
<div className="hidden sm:block text-foreground-lighter">A week of new features</div>
4240
<Button size="tiny" type="default" className="px-2 !leading-none text-xs" asChild>
4341
<Link href={announcement.link}>{announcement.cta}</Link>
4442
</Button>
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"show": true,
3-
"text": "Launch Week 13: Day 5",
3+
"text": "Launch Week 13",
44
"launchDate": "2024-12-02T07:00:00.000-08:00",
5-
"link": "/launch-week#day-5",
5+
"link": "/launch-week",
66
"cta": "Learn more"
77
}

0 commit comments

Comments
 (0)