The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Merge branch 'feat/new_website' of github.com:supabase/supabase into feat/new_website
mildtomato620a2ddf5de0
diff --cc www/components/UI/FlyOut.tsxindex 37a1ca864f7,b3fa6874660..219a67340c1--- a/www/components/UI/FlyOut.tsx+++ b/www/components/UI/FlyOut.tsx@@@ -6,37 -6,26 +6,39 @@@ type Props =children?: React.ReactNodeclassName?: stringrenderTriggerElement?: any+ open?: boolean+ handleCancel?: any+ singleBgColor?: boolean}- const FlyOut = forwardRef((props: Props, ref: any) => {- const { title = '', children, className = '', renderTriggerElement = null } = props- // const [show, setShow] = useState(prop.show)+ const FlyOut = (props: Props) => {+ const { title = '', children, className = '', renderTriggerElement = null, singleBgColor = false } = props+ const [show, setShow] = useState(false)+- function handleToggle() {- setShow(!show)- }- useEffect(() => {- // window is accessible here.- window.addEventListener('scroll', function (e) {- // close Fly Out window if user scrolls past 96px from top- if (window.pageYOffset > 96) {- setShow(false)- }- })- }, [])+ // function handleToggle() {+ // setShow(!show)+ // props.handleClick()+ // }++ // useImperativeHandle(+ // ref,+ // () => ({+ // close() {+ // setShow(false)+ // }+ // }),+ // )++ // useEffect(() => {+ // // window is accessible here.+ // window.addEventListener('scroll', function (e) {+ // // close Fly Out window if user scrolls past 96px from top+ // if (window.pageYOffset > 96) {+ // setShow(false)+ // }+ // })+ // }, [])return (<>