twitter links

This commit is contained in:
Francesco Sansalvadore committed 2024-11-29 11:44:03 -04:00
1 parent 12fa7e11c3
commit 0ad9d3f0eb
6 files changed
+17 -20

No files matched your search

+1 -1
View File
@@ -27,7 +27,7 @@ const Hero = () => {
<AnnouncementBadge
url="/launch-week#day-1"
badge="Launch Week 13"
announcement="Day 1"
announcement="Day 1: AI Assistant v2"
/>
</div>
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
@@ -1,5 +1,4 @@
import { ReactNode } from 'react'
import { products } from 'shared-data/products'
type StepLinkType = 'productHunt' | 'video' | 'docs' | 'xSpace' | 'blog' | 'podcast'
@@ -77,7 +76,7 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
// },
{
type: 'xSpace',
href: 'https://supabase.link/lw13-xspace-1',
href: 'https://twitter.com/i/spaces/1OyKAZyeQyWGb ',
},
],
steps: [
@@ -115,7 +114,7 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
// },
{
type: 'xSpace',
href: 'https://supabase.link/lw13-xspace-2',
href: 'https://twitter.com/i/spaces/1yoJMyjzVWRJQ',
},
],
steps: [],
@@ -139,7 +138,7 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
// },
{
type: 'xSpace',
href: 'https://supabase.link/lw13-xspace-3',
href: 'https://twitter.com/i/spaces/1eaKbaOAOdaxX',
},
],
steps: [],
@@ -163,7 +162,7 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
// },
{
type: 'xSpace',
href: 'https://supabase.link/lw13-xspace-4',
href: 'https://twitter.com/i/spaces/1ynKODOwObyGR',
},
],
steps: [],
@@ -187,7 +186,7 @@ const days: (isDark?: boolean) => WeekDayProps[] = (isDark = true) => [
// },
{
type: 'xSpace',
href: 'https://supabase.link/lw13-xspace-5',
href: 'https://twitter.com/i/spaces/1zqKVYOEODYxB',
},
],
steps: [],
+1 -1
View File
@@ -1,5 +1,5 @@
export const LOCAL_STORAGE_KEYS = {
TELEMETRY_CONSENT: 'supabase-consent-ph',
HIDE_PROMO_TOAST: 'supabase-hide-promo-toast',
HIDE_PROMO_TOAST: 'supabase-hide-promo-toast-lw13-d1',
BLOG_VIEW: 'supabase-blog-view',
}
+8 -10
View File
@@ -6,7 +6,6 @@ import { useEffect, useState } from 'react'
import { cn } from 'ui/src/lib/utils/cn'
import { Button } from 'ui/src/components/Button/Button'
import { LOCAL_STORAGE_KEYS } from 'common'
import CountdownComponent from 'ui/src/layout/banners/LW13CountdownBanner/Countdown'
import { useTheme } from 'next-themes'
import announcement from 'ui/src/layout/banners/data/Announcement.json'
@@ -40,22 +39,21 @@ const PromoToast = () => {
return (
<div
className={cn(
'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',
'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',
visible && 'opacity-100 translate-y-0'
)}
>
<p className="relative z-10 text-foreground flex flex-col text-xl w-full leading-7">
Launch Week 13
</p>
<div className="relative z-10 text-foreground-lighter uppercase flex flex-col text-sm w-full font-mono mb-2">
<span className="-mb-1">2-6 DECEMBER / 7AM PT</span>
<CountdownComponent date={new Date(announcement.launchDate)} showCard={false} />
<div className="relative z-10 text-foreground-lighter leading-3 flex flex-col font-mono uppercase tracking-wide w-full text-xs">
Launch Week 13: Day 1
</div>
<div className="relative z-10 text-foreground uppercase flex flex-col text-xl w-full font-mono -mt-1">
AI Assistant v2
</div>
<div className="relative z-10 flex items-center space-x-2">
<div className="relative z-10 flex items-center space-x-2 mt-2">
<Button asChild type="secondary">
<Link target="_blank" rel="noreferrer" href={`https://supabase.com${announcement.link}`}>
Claim ticket
Learn more
</Link>
</Button>
<Button type="default" onClick={handleHide}>
@@ -36,7 +36,7 @@ export function LW13CountdownBanner() {
)}
>
<p className="flex gap-1.5 items-center">{announcement.text}</p>
<div className="hidden sm:block text-foreground-lighter">TBD</div>
<div className="hidden sm:block text-foreground-lighter">AI Assistant v2</div>
<Button size="tiny" type="default" className="px-2 !leading-none text-xs" asChild>
<Link href={announcement.link}>{announcement.cta}</Link>
</Button>
@@ -1,6 +1,6 @@
{
"show": true,
"text": "Launch Week 13: Day 1",
"text": "Launch Week 13 - Day 1",
"launchDate": "2024-12-02T07:00:00.000-08:00",
"link": "/launch-week#day-1",
"cta": "Learn more"