mirror of
https://github.com/supabase/supabase.git
synced 2026-10-19 08:09:11 +03:00
update announcement banners
This commit is contained in:
1 parent
7bfb31ea2f
commit
969ded7b6b
2 files changed
+4
-5
No files matched your search
@@ -24,7 +24,7 @@ const Hero = () => {
|
||||
<div className="relative z-10 lg:h-auto pt-[90px] lg:pt-[90px] lg:min-h-[300px] flex flex-col items-center justify-center sm:mx-auto md:w-3/4 lg:mx-0 lg:w-full gap-4 lg:gap-8">
|
||||
<div className="flex flex-col items-center">
|
||||
<div className="z-40 w-full flex justify-center -mt-4 lg:-mt-12 mb-8">
|
||||
<AnnouncementBadge url="/ga-week" badge="GA Week" announcement="Day 1" />
|
||||
<AnnouncementBadge url="/ga-week#day-2" badge="GA Week" announcement="Day 2" />
|
||||
</div>
|
||||
<h1 className="text-foreground text-4xl sm:text-5xl sm:leading-none lg:text-7xl">
|
||||
<span className="block text-[#F4FFFA00] bg-clip-text bg-gradient-to-b from-foreground to-foreground-light">
|
||||
|
||||
@@ -3,7 +3,6 @@ import Link from 'next/link'
|
||||
import { useEffect, useState } from 'react'
|
||||
import { Button, cn } from 'ui'
|
||||
import { LOCAL_STORAGE_KEYS } from 'common'
|
||||
import announcement from '../../layout/banners/data/Announcement.json'
|
||||
import { useTheme } from 'next-themes'
|
||||
|
||||
const LW11BGDark =
|
||||
@@ -41,15 +40,15 @@ const PromoToast = () => {
|
||||
)}
|
||||
>
|
||||
<div className="relative z-10 text-foreground-lighter flex flex-col text-sm w-full mb-2">
|
||||
<p className="relative z-10 text-foreground flex flex-col text-lg w-full leading-6 mb-1">
|
||||
<p className="text-foreground flex flex-col text-lg w-full leading-6 mb-1">
|
||||
General Availability Week
|
||||
</p>
|
||||
<span className="uppercase font-mono">Day 1</span>
|
||||
<span className="uppercase font-mono">Day 2</span>
|
||||
</div>
|
||||
|
||||
<div className="relative z-10 flex items-center space-x-2">
|
||||
<Button asChild type="secondary">
|
||||
<Link target="_blank" rel="noreferrer" href="https://supabase.com/ga-week">
|
||||
<Link target="_blank" rel="noreferrer" href="https://supabase.com/ga-week#day-2">
|
||||
Learn more
|
||||
</Link>
|
||||
</Button>
|
||||
|
||||
Reference in new issue
Block a user