@codecademy/brand 3.0.0-alpha.cf988fe8e6.0 → 3.0.0-alpha.d3698189a3.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.
@@ -0,0 +1,3 @@
1
+ export declare const CourseRecommendationsLink: React.FC<{
2
+ onClick?: () => void;
3
+ }>;
@@ -0,0 +1,27 @@
1
+ import { FillButton, FlexBox, Text } from '@codecademy/gamut';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ export const CourseRecommendationsLink = ({
4
+ onClick
5
+ }) => /*#__PURE__*/_jsxs(FlexBox, {
6
+ column: true,
7
+ p: 16,
8
+ bg: "navy-100",
9
+ border: 1,
10
+ borderColor: "border-tertiary",
11
+ borderRadius: "lg",
12
+ children: [/*#__PURE__*/_jsx(Text, {
13
+ variant: "p-large",
14
+ fontWeight: "bold",
15
+ children: "Get personalized course recommendations"
16
+ }), /*#__PURE__*/_jsx(Text, {
17
+ variant: "p-base",
18
+ mt: 8,
19
+ children: "Answer a few quick questions about your interests and skill level. We\u2019ll create a custom list of courses just for you."
20
+ }), /*#__PURE__*/_jsx(FillButton, {
21
+ size: "small",
22
+ mt: 16,
23
+ href: "/welcome/find-a-course",
24
+ onClick: onClick,
25
+ children: "Take the quiz"
26
+ })]
27
+ });
package/dist/index.d.ts CHANGED
@@ -27,6 +27,7 @@ export * from './ContentGroupBaseCard';
27
27
  export * from './ContentGroupBaseCard/types';
28
28
  export * from './ContentGroupBaseCard/helpers';
29
29
  export * from './CourseCard';
30
+ export * from './CourseRecommendationsLink';
30
31
  export * from './CurriculumCard';
31
32
  export * from './CurriculumCard/Difficulty';
32
33
  export * from './CurriculumCard/Difficulty/types';
package/dist/index.js CHANGED
@@ -27,6 +27,7 @@ export * from './ContentGroupBaseCard';
27
27
  export * from './ContentGroupBaseCard/types';
28
28
  export * from './ContentGroupBaseCard/helpers';
29
29
  export * from './CourseCard';
30
+ export * from './CourseRecommendationsLink';
30
31
  export * from './CurriculumCard';
31
32
  export * from './CurriculumCard/Difficulty';
32
33
  export * from './CurriculumCard/Difficulty/types';
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": "3.0.0-alpha.cf988fe8e6.0",
4
+ "version": "3.0.0-alpha.d3698189a3.0",
5
5
  "author": "Codecademy Engineering <dev@codecademy.com>",
6
6
  "dependencies": {
7
7
  "@emotion/is-prop-valid": "^1.2.1",