mirror of
https://github.com/supabase/supabase.git
synced 2026-07-04 05:44:39 +08:00
33 lines
1.2 KiB
TypeScript
33 lines
1.2 KiB
TypeScript
import Link from 'next/link'
|
|
import { Button, IconBookOpen } from '@supabase/ui'
|
|
import TerminalInstructions from './TerminalInstructions'
|
|
|
|
const FunctionsEmptyState = () => {
|
|
return (
|
|
<>
|
|
<div className="grid py-12 lg:grid-cols-12 gap-y-12 lg:gap-x-16 max-w-7xl">
|
|
<div className="col-span-5 space-y-4">
|
|
<p className="max-w-lg text-base text-scale-1200">
|
|
Scalable functions to run your code with no server management.
|
|
</p>
|
|
<p className="max-w-lg text-sm text-scale-1100">
|
|
Edge Functions are server-side Typescript functions, distributed globally at the edge -
|
|
close to your users. They can be used for listening to webhooks or integrating your
|
|
Supabase project with third-parties.
|
|
</p>
|
|
<div className="flex gap-2">
|
|
<Link passHref href="https://supabase.com/docs/guides/functions">
|
|
<Button as="a" type="default" iconRight={<IconBookOpen />}>
|
|
Documentation
|
|
</Button>
|
|
</Link>
|
|
</div>
|
|
</div>
|
|
<TerminalInstructions />
|
|
</div>
|
|
</>
|
|
)
|
|
}
|
|
|
|
export default FunctionsEmptyState
|