feat: edge functions setup buttons (#9874)

added anchor tag to open in new tab
This commit is contained in:
hallidayo authored and GitHub committed 2022-10-28 13:52:38 +02:00
1 parent 4547450fa5
commit 7e1c987346
2 files changed
+20 -12

No files matched your search

@@ -17,17 +17,21 @@ const FunctionsEmptyState = () => {
</p>
<div className="flex gap-2">
<Link passHref href="https://supabase.com/docs/guides/functions">
<Button as="a" type="default" iconRight={<IconBookOpen />}>
Documentation
</Button>
<a target="_blank" rel="noreferrer">
<Button type="default" iconRight={<IconBookOpen />}>
Documentation
</Button>
</a>
</Link>
<Link
passHref
href="https://github.com/supabase/supabase/tree/chore/stripe-issue/examples/edge-functions/supabase/functions"
>
<Button as="a" type="default" iconRight={<IconCode />}>
Examples
</Button>
<a target="_blank" rel="noreferrer">
<Button type="default" iconRight={<IconCode />}>
Examples
</Button>
</a>
</Link>
</div>
</div>
@@ -133,17 +133,21 @@ const TerminalInstructions: FC<Props> = ({ closable = false }) => {
</div>
<div className="flex gap-2">
<Link passHref href="https://supabase.com/docs/guides/functions">
<Button as="a" type="default" iconRight={<IconBookOpen />}>
Documentation
</Button>
<a target="_blank" rel="noreferrer">
<Button type="default" iconRight={<IconBookOpen />}>
Documentation
</Button>
</a>
</Link>
<Link
passHref
href="https://github.com/supabase/supabase/tree/chore/stripe-issue/examples/edge-functions/supabase/functions"
>
<Button as="a" type="default" iconRight={<IconCode />}>
Examples
</Button>
<a target="_blank" rel="noreferrer">
<Button as="a" type="default" iconRight={<IconCode />}>
Examples
</Button>
</a>
</Link>
</div>
</div>