mirror of
https://github.com/supabase/supabase.git
synced 2026-10-16 14:49:10 +03:00
* fix ent quotes logos * mobile hp product cards * mobile customers section * mobile examples * update sitemap * mobile customers slider * remove autoplay
57 lines
1.8 KiB
TypeScript
57 lines
1.8 KiB
TypeScript
import Image from 'next/image'
|
|
import React from 'react'
|
|
import { cn } from 'ui'
|
|
|
|
interface Props {
|
|
className?: string
|
|
}
|
|
|
|
const AuthVisual: React.FC<Props> = ({ className }) => {
|
|
return (
|
|
<figure
|
|
className={cn('group absolute inset-0 z-0 -top-16 xl:top-0 xl:bottom-0', className)}
|
|
role="img"
|
|
aria-label="Supabase Authentication provides Row Level Security which enables you to define custom Policies to restrict access to your database"
|
|
>
|
|
<Image
|
|
src="/images/index/products/auth.svg"
|
|
alt="Supabase Authentication user db rows"
|
|
fill
|
|
sizes="100%"
|
|
priority
|
|
quality={100}
|
|
className="hidden dark:block absolute inset-0 object-cover object-center xl:object-bottom"
|
|
/>
|
|
<Image
|
|
src="/images/index/products/auth-active.svg"
|
|
alt="Supabase Authentication user db rows"
|
|
fill
|
|
sizes="100%"
|
|
quality={100}
|
|
className="hidden dark:block absolute inset-0 object-cover object-center xl:object-bottom opacity-0 group-hover:opacity-100 transition-opacity"
|
|
aria-hidden
|
|
/>
|
|
<Image
|
|
src="/images/index/products/auth-light.svg"
|
|
alt="Supabase Authentication user db rows"
|
|
fill
|
|
sizes="100%"
|
|
priority
|
|
quality={100}
|
|
className="dark:hidden absolute inset-0 object-cover object-center xl:object-bottom"
|
|
/>
|
|
<Image
|
|
src="/images/index/products/auth-active-light.svg"
|
|
alt="Supabase Authentication user db rows"
|
|
fill
|
|
sizes="100%"
|
|
quality={100}
|
|
className="dark:hidden absolute inset-0 object-cover object-center xl:object-bottom opacity-0 group-hover:opacity-100 transition-opacity"
|
|
aria-hidden
|
|
/>
|
|
</figure>
|
|
)
|
|
}
|
|
|
|
export default AuthVisual
|