mirror of
https://github.com/supabase/supabase.git
synced 2026-10-12 12:55:06 +03:00
30 lines
968 B
TypeScript
30 lines
968 B
TypeScript
import React from 'react'
|
|
import { cn } from 'ui'
|
|
import { range } from 'lib/helpers'
|
|
|
|
interface Props {
|
|
className?: string
|
|
}
|
|
|
|
const LW12Background = ({ className }: Props) => {
|
|
return (
|
|
<div className={cn('absolute inset-0 w-full h-full flex flex-col', className)}>
|
|
{range(0, 3).map((_) => (
|
|
<div className="w-full aspect-[1/1.536] flex flex-col gap-0 animate-marquee-vertical will-change-transform mx-auto -mt-px">
|
|
<img
|
|
src="/images/launchweek/12/bg-light.svg"
|
|
className="dark:hidden block relative inset-0 w-full overflow-hidden object-cover"
|
|
/>
|
|
<img
|
|
src="/images/launchweek/12/bg-dark.svg"
|
|
className="dark:block hidden relative inset-0 w-full overflow-hidden object-cover"
|
|
/>
|
|
</div>
|
|
))}
|
|
<div className="absolute inset-0 w-full h-full bg-gradient-to-t from-background to-transparent" />
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default LW12Background
|