@codecademy/brand 1.37.0-alpha.0a5e66c7bd.0 → 1.37.0-alpha.0bfbd7ab75.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.
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +5 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +0 -0
- package/dist/FeatureList/index.js +4 -5
- package/dist/LandingPage/PageFeaturesEnhanced.js +0 -3
- package/dist/lib/catalogList/index.js +3 -3
- package/package.json +1 -1
|
@@ -31,12 +31,12 @@ const catalogButtonData = {
|
|
|
31
31
|
href: '/catalog',
|
|
32
32
|
trackingTarget: 'topnav_catalog_explore_full'
|
|
33
33
|
};
|
|
34
|
-
const
|
|
35
|
-
text: '
|
|
34
|
+
const uxDesignerCareerPathHighlight = {
|
|
35
|
+
text: 'Want to help shape digital products? Check out the new UX Designer career path.',
|
|
36
36
|
id: 'nav-highlight',
|
|
37
37
|
type: 'link',
|
|
38
|
-
href: '/
|
|
39
|
-
trackingTarget: '
|
|
38
|
+
href: '/learn/paths/ux-designer-career-path',
|
|
39
|
+
trackingTarget: 'topnav_catalog_banner_ux_designer_career_path'
|
|
40
40
|
};
|
|
41
41
|
export const AppHeaderCatalogSection = /*#__PURE__*/React.forwardRef(({
|
|
42
42
|
action,
|
|
@@ -63,7 +63,7 @@ export const AppHeaderCatalogSection = /*#__PURE__*/React.forwardRef(({
|
|
|
63
63
|
setFirstItemRef(firstElemRef.current);
|
|
64
64
|
}
|
|
65
65
|
}, [setFirstItemRef, firstElemRef]);
|
|
66
|
-
const navHighlightData =
|
|
66
|
+
const navHighlightData = uxDesignerCareerPathHighlight;
|
|
67
67
|
const topSubjects = getTopSubjects();
|
|
68
68
|
const onClick = (event, linkItem) => {
|
|
69
69
|
handleClose?.();
|
|
File without changes
|
|
@@ -1,13 +1,12 @@
|
|
|
1
1
|
import _styled from "@emotion/styled/base";
|
|
2
2
|
import { FlexBox, Text } from '@codecademy/gamut';
|
|
3
|
-
import { theme } from '@codecademy/gamut-styles';
|
|
4
3
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
5
4
|
const StyledIconContainer = /*#__PURE__*/_styled(FlexBox, {
|
|
6
5
|
target: "e4ma61r0",
|
|
7
6
|
label: "StyledIconContainer"
|
|
8
7
|
})("color:", ({
|
|
9
8
|
iconColor
|
|
10
|
-
}) => iconColor, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
9
|
+
}) => iconColor, ";" + (process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9GZWF0dXJlTGlzdC9pbmRleC50c3giXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBZWtFIiwiZmlsZSI6Ii4uLy4uL3NyYy9GZWF0dXJlTGlzdC9pbmRleC50c3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBGbGV4Qm94LCBUZXh0IH0gZnJvbSAnQGNvZGVjYWRlbXkvZ2FtdXQnO1xuaW1wb3J0IHsgR2FtdXRJY29uUHJvcHMgfSBmcm9tICdAY29kZWNhZGVteS9nYW11dC1pY29ucyc7XG5pbXBvcnQgc3R5bGVkIGZyb20gJ0BlbW90aW9uL3N0eWxlZCc7XG5cbmV4cG9ydCB0eXBlIEZlYXR1cmVMaXN0SXRlbSA9IHtcbiAgdGl0bGU6IHN0cmluZztcbiAgZGVzY3JpcHRpb246IHN0cmluZyB8IG51bGw7XG4gIGljb246IFJlYWN0LkNvbXBvbmVudFR5cGU8UmVhY3QuUHJvcHNXaXRoQ2hpbGRyZW48R2FtdXRJY29uUHJvcHM+PiB8IG51bGw7XG4gIGljb25Db2xvcjogc3RyaW5nIHwgbnVsbDtcbn07XG5cbmV4cG9ydCBpbnRlcmZhY2UgSUZlY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biAgICAgICAgICAgIDxUZXh0XG4gICAgICAgICAgICAgIGZvbnRTaXplPXsxNn1cbiAgICAgICAgICAgICAgZm9udFdlaWdodD17ZmVhdHVyZS5kZXNjcmlwdGlvbiA/ICdib2xkJyA6ICdub3JtYWwnfVxuICAgICAgICAgICAgPlxuICAgICAgICAgICAgICB7ZmVhdHVyZS50aXRsZX1cbiAgICAgICAgICAgIDwvVGV4dD5cbiAgICAgICAgICAgIHtmZWF0dXJlLmRlc2NyaXB0aW9uICYmIChcbiAgICAgICAgICAgICAgPFRleHQgZm9udFNpemU9ezE0fT57ZmVhdHVyZS5kZXNjcmlwdGlvbn08L1RleHQ+XG4gICAgICAgICAgICApfVxuICAgICAgICAgIDwvRmxleEJveD5cbiAgICAgICAgPC9GbGV4Qm94PlxuICAgICAgKSl9XG4gICAgPC9GbGV4Qm94PlxuICApO1xufTtcbiJdfQ== */"));
|
|
11
10
|
export const FeatureList = ({
|
|
12
11
|
featureList
|
|
13
12
|
}) => {
|
|
@@ -19,9 +18,9 @@ export const FeatureList = ({
|
|
|
19
18
|
flexDirection: "row",
|
|
20
19
|
gap: 12,
|
|
21
20
|
alignItems: feature.description ? 'flex-start' : 'center',
|
|
22
|
-
children: [
|
|
23
|
-
iconColor: feature.iconColor ||
|
|
24
|
-
children: /*#__PURE__*/_jsx(feature.icon, {
|
|
21
|
+
children: [/*#__PURE__*/_jsx(StyledIconContainer, {
|
|
22
|
+
iconColor: feature.iconColor || 'text',
|
|
23
|
+
children: feature.icon && /*#__PURE__*/_jsx(feature.icon, {
|
|
25
24
|
size: feature.description ? 24 : 20
|
|
26
25
|
})
|
|
27
26
|
}), /*#__PURE__*/_jsxs(FlexBox, {
|
|
@@ -15,7 +15,6 @@ const rowRenderEach = (items, itemRenderer) => {
|
|
|
15
15
|
},
|
|
16
16
|
as: "ul",
|
|
17
17
|
pl: 0,
|
|
18
|
-
mb: 0,
|
|
19
18
|
gap: {
|
|
20
19
|
sm: 32
|
|
21
20
|
},
|
|
@@ -36,7 +35,6 @@ const gridRenderEach = (maxCols, items, itemRenderer) => {
|
|
|
36
35
|
gap: 32,
|
|
37
36
|
as: "ul",
|
|
38
37
|
pl: 0,
|
|
39
|
-
mb: 0,
|
|
40
38
|
children: items.map(item => /*#__PURE__*/_jsx(Column, {
|
|
41
39
|
size: size,
|
|
42
40
|
as: "li",
|
|
@@ -69,7 +67,6 @@ export const PageFeaturesEnhanced = ({
|
|
|
69
67
|
children: [title && /*#__PURE__*/_jsx(FlexBox, {
|
|
70
68
|
justifyContent: "center",
|
|
71
69
|
textAlign: "center",
|
|
72
|
-
mb: 8,
|
|
73
70
|
children: eyebrow ? /*#__PURE__*/_jsx(TitleWithEyebrow, {
|
|
74
71
|
title: title,
|
|
75
72
|
eyebrow: eyebrow,
|
|
@@ -43,7 +43,7 @@ export const liveLearningHubItems = {
|
|
|
43
43
|
id: 'bootcamps',
|
|
44
44
|
href: '/live-learning',
|
|
45
45
|
text: 'Bootcamps',
|
|
46
|
-
description: 'Learn live from industry experts
|
|
46
|
+
description: 'Learn live from industry experts',
|
|
47
47
|
trackingTarget: 'topnav_catalog_live_learning_bootcamps',
|
|
48
48
|
type: 'link',
|
|
49
49
|
newTab: true,
|
|
@@ -51,8 +51,8 @@ export const liveLearningHubItems = {
|
|
|
51
51
|
}, {
|
|
52
52
|
id: 'gk',
|
|
53
53
|
href: '/live-learning#GKLiveLearning',
|
|
54
|
-
text: '
|
|
55
|
-
description: 'Instructor
|
|
54
|
+
text: 'GK x Codecademy',
|
|
55
|
+
description: 'Instructor led courses, offered via our partner organization',
|
|
56
56
|
trackingTarget: 'topnav_catalog_live_learning_gk_codecademy',
|
|
57
57
|
type: 'link',
|
|
58
58
|
newTab: true,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@codecademy/brand",
|
|
3
3
|
"description": "Brand component library for Codecademy",
|
|
4
|
-
"version": "1.37.0-alpha.
|
|
4
|
+
"version": "1.37.0-alpha.0bfbd7ab75.0",
|
|
5
5
|
"author": "Codecademy Engineering <dev@codecademy.com>",
|
|
6
6
|
"dependencies": {
|
|
7
7
|
"@emotion/is-prop-valid": "^1.2.1",
|