This repository was archived by the owner on Jul 2, 2024. It is now read-only.
File tree 1 file changed +18
-1
lines changed
1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,24 @@ import React from 'react'
7
7
export function Banner ( { path } : { path : string } ) : JSX . Element {
8
8
// Banners should each be an <aside> with the appropriate className to indicate the
9
9
// admonition type.
10
- const banners : React . ReactElement [ ] = [ ]
10
+
11
+ const banners : React . ReactElement [ ] = [
12
+ // Deprecation notice
13
+ < aside className = "warning" key = "deprecation-banner" >
14
+ < div >
15
+ ⚠️ We are in the process of migrating to Notion as Sourcegraph's handbook platform.{ ' ' }
16
+ < b >
17
+ This content may represent incomplete, or out-of-date processes - please look for the equivalent
18
+ page in the new site at < a href = "https://sourcegraph.notion.site" > sourcegraph.notion.site</ a > .
19
+ </ b >
20
+ < br />
21
+ < br />
22
+ The contents of this page will only be retained until < b > end of May 2024</ b > . If you own this page,
23
+ please maintain an equivalent in the new{ ' ' }
24
+ < a href = "https://www.notion.so/sourcegraph" > Notion-based handbook</ a > .
25
+ </ div >
26
+ </ aside > ,
27
+ ]
11
28
12
29
// Inject warning banners to pages with cloud in the path - this helps us communicate
13
30
// to customers that for finalized documentation, they should refer elsewhere.
You can’t perform that action at this time.
0 commit comments