@codecademy/brand 3.47.0 → 3.47.1-alpha.37ad4ec4a.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -6,35 +6,11 @@ import { useAppHeaderSectionContext } from '../AppHeaderSection/AppHeaderSection
|
|
|
6
6
|
import { PanelLayout } from '../AppHeaderSection/PanelLayout';
|
|
7
7
|
import { SkillTile } from '../AppHeaderSkillTile';
|
|
8
8
|
import { docsLinks, inspirationLinks, learningToolsLinks, practiceToolsLinks } from './consts';
|
|
9
|
-
import { jsx as _jsx
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
10
|
export const DocsPanel = () => {
|
|
11
|
-
const {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
const {
|
|
15
|
-
tabIndex
|
|
16
|
-
} = useAppHeaderSectionContext();
|
|
17
|
-
const {
|
|
18
|
-
handleClose
|
|
19
|
-
} = useAppHeaderDropdownContext();
|
|
20
|
-
const description = /*#__PURE__*/_jsxs(_Fragment, {
|
|
21
|
-
children: [/*#__PURE__*/_jsx(Box, {
|
|
22
|
-
mb: 8,
|
|
23
|
-
children: "Definitions and guides to help you understand programming languages, frameworks, and concepts. Built and maintained by the coding community."
|
|
24
|
-
}), "Interested in helping build it?", ' ', /*#__PURE__*/_jsx(Anchor, {
|
|
25
|
-
tabIndex: tabIndex,
|
|
26
|
-
href: "/pages/contribute-docs",
|
|
27
|
-
onClick: event => {
|
|
28
|
-
globalHeaderItemClick(event, {
|
|
29
|
-
type: 'link',
|
|
30
|
-
href: '/pages/contribute-docs',
|
|
31
|
-
text: 'Contribute to Docs',
|
|
32
|
-
id: 'contribute-to-docs'
|
|
33
|
-
});
|
|
34
|
-
handleClose();
|
|
35
|
-
},
|
|
36
|
-
children: "Contribute to Docs"
|
|
37
|
-
})]
|
|
11
|
+
const description = /*#__PURE__*/_jsx(Box, {
|
|
12
|
+
mb: 8,
|
|
13
|
+
children: "Definitions and guides to help you understand programming languages, frameworks, and concepts."
|
|
38
14
|
});
|
|
39
15
|
return /*#__PURE__*/_jsx(PanelLayout, {
|
|
40
16
|
heading: "Docs",
|
package/package.json
CHANGED