Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit 59b74c7

Browse files
Merge branch 'main' into rrhyne-patch-3
2 parents 5563ed6 + ff67b67 commit 59b74c7

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

src/components/Banner.tsx

+18-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,24 @@ import React from 'react'
77
export function Banner({ path }: { path: string }): JSX.Element {
88
// Banners should each be an <aside> with the appropriate className to indicate the
99
// 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+
]
1128

1229
// Inject warning banners to pages with cloud in the path - this helps us communicate
1330
// to customers that for finalized documentation, they should refer elsewhere.

0 commit comments

Comments
 (0)