Skip to content

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

966 B
Raw Blame
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-linear-to-t from-background to-transparent" />
    </div>
  )
}

export default LW12Background