File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change 22import type { Props } from " @astrojs/starlight/props" ;
33import Default from " @astrojs/starlight/components/TableOfContents.astro" ;
44
5+ import { Icon } from " @astrojs/starlight/components" ;
56import FeedbackPrompt from " ../FeedbackPrompt.tsx" ;
67---
78
89<Default {... Astro .props } />
10+ {
11+ ! Astro .url .pathname .startsWith (" /support/" ) && (
12+ <>
13+ <br />
14+ <div class = " flex gap-2" >
15+ { Astro .props .editUrl && (
16+ <a
17+ href = { Astro .props .editUrl }
18+ class = " h-8 cursor-pointer content-center rounded bg-cl1-brand-orange px-4 text-sm font-medium text-cl1-black"
19+ >
20+ <Icon name = " pencil" />
21+ Edit
22+ </a >
23+ )}
24+ <a
25+ href = " https://github.com/cloudflare/cloudflare-docs/issues/new/choose"
26+ class = " h-8 cursor-pointer content-center rounded bg-cl1-brand-orange px-4 text-sm font-medium text-cl1-black"
27+ >
28+ <Icon name = " github" />
29+ Issue
30+ </a >
31+ </div >
32+ </>
33+ )
34+ }
935<br />
1036<FeedbackPrompt client:idle />
You can’t perform that action at this time.
0 commit comments