@codecademy/brand 2.0.0-alpha.078de545a2.0 → 2.0.0-alpha.183bb4dc4c.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/AppBar/AppBarSection.d.ts +1 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/elements.d.ts +14 -14
- package/dist/AppHeader/AppHeaderElements/AppHeaderCatalogSection/index.js +2 -3
- package/dist/AppHeader/AppHeaderElements/AppHeaderLink/index.d.ts +5 -5
- package/dist/AppHeader/AppHeaderElements/AppHeaderLinkSections/index.js +0 -0
- package/dist/AppHeader/AppHeaderElements/AppHeaderListItem/index.d.ts +1 -1
- package/dist/AppHeader/AppHeaderElements/AppHeaderLogo/index.js +9 -9
- package/dist/AppHeader/AppHeaderElements/AppHeaderResourcesDropdown/index.js +2 -4
- package/dist/AppHeader/index.js +2 -5
- package/dist/AppHeader/shared/elements.d.ts +9 -9
- package/dist/AppHeader/shared/utils.d.ts +0 -1
- package/dist/AppHeaderMobile/AppHeaderSubMenuMobile/index.js +5 -7
- package/dist/Carousel/elements.d.ts +2 -2
- package/dist/DropdownButton/index.d.ts +2 -2
- package/dist/FeatureList/index.js +5 -4
- package/dist/GlobalFooter/FooterHeading.d.ts +2 -2
- package/dist/GlobalFooter/FooterLinks.d.ts +1 -1
- package/dist/GlobalFooter/FooterNavLinks/CatalogLinks.js +6 -9
- package/dist/GlobalFooter/FooterSubHeading.d.ts +2 -2
- package/dist/GlobalFooter/index.d.ts +0 -1
- package/dist/GlobalFooter/index.js +17 -25
- package/dist/GlobalHeader/GlobalHeaderVariants.d.ts +14 -14
- package/dist/GlobalHeader/GlobalHeaderVariants.js +33 -33
- package/dist/GlobalHeader/index.js +41 -49
- package/dist/GlobalHeader/types.d.ts +0 -1
- package/dist/LandingPage/PageFeaturesEnhanced.js +3 -0
- package/dist/LayoutMenu/LayoutMenu.js +3 -4
- package/dist/LayoutMenuVariant/LayoutMenu.js +3 -4
- package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.d.ts +8 -0
- package/dist/LearningOutcomeAssessmentScores/AssessmentDetail.js +55 -0
- package/dist/LearningOutcomeAssessmentScores/index.d.ts +8 -0
- package/dist/LearningOutcomeAssessmentScores/index.js +24 -0
- package/dist/LearningOutcomeBadges/LearningOutcomeLowAssessmentBadge.d.ts +1 -1
- package/dist/LearningOutcomeCard/index.d.ts +5 -0
- package/dist/LearningOutcomeCard/index.js +61 -26
- package/dist/LearningOutcomeFlyout/index.d.ts +29 -0
- package/dist/LearningOutcomeFlyout/index.js +153 -0
- package/dist/LearningOutcomeTile/Tile.d.ts +1 -1
- package/dist/LearningOutcomeTile/index.js +1 -3
- package/dist/LearningOutcomeTile/types.d.ts +0 -1
- package/dist/Logo/CodecademyLogo.d.ts +2 -0
- package/dist/Logo/CodecademyLogo.js +19 -0
- package/dist/Logo/CodecademyPremiumLogo.d.ts +2 -0
- package/dist/Logo/CodecademyPremiumLogo.js +35 -0
- package/dist/Logo/CodecademyProAltLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProAltLogo.js +19 -0
- package/dist/Logo/CodecademyProLockupLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProLockupLogo.js +13 -0
- package/dist/Logo/CodecademyProLogo.d.ts +2 -0
- package/dist/{Logos/LogoCodecademyPro/index.js → Logo/CodecademyProLogo.js} +7 -11
- package/dist/Logo/CodecademyProMonoLogo.d.ts +2 -0
- package/dist/{Logos/LogoCodecademy/index.js → Logo/CodecademyProMonoLogo.js} +15 -15
- package/dist/Logo/CodecademyProgramLogo.d.ts +2 -0
- package/dist/Logo/CodecademyProgramLogo.js +14 -0
- package/dist/Logo/CodecademyTeamsLogo.d.ts +2 -0
- package/dist/{Logos/LogoCodecademyTeams/index.js → Logo/CodecademyTeamsLogo.js} +4 -9
- package/dist/Logo/index.d.ts +8 -0
- package/dist/Logo/index.js +30 -0
- package/dist/LogoFromSkillsoft/index.d.ts +227 -0
- package/dist/LogoFromSkillsoft/index.js +55 -0
- package/dist/LogoLXStudio/index.d.ts +3 -0
- package/dist/LogoLXStudio/index.js +47 -0
- package/dist/{Logos/ProLabel/ProLabelCutout → LogoProCutout}/index.d.ts +2 -2
- package/dist/{Logos/ProLabel/ProLabelCutout → LogoProCutout}/index.js +1 -1
- package/dist/LogoProCutoutTransparent/index.d.ts +7 -0
- package/dist/{Logos/ProLabel/ProLabelCutoutTransparent → LogoProCutoutTransparent}/index.js +1 -1
- package/dist/Notifications/elements.d.ts +2 -2
- package/dist/ProLabel/index.d.ts +376 -0
- package/dist/ProLabel/index.js +59 -0
- package/dist/{Logos/ProLabel → ProLogo}/index.d.ts +2 -2
- package/dist/{Logos/ProLabel → ProLogo}/index.js +5 -5
- package/dist/Testimonial/index.d.ts +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +7 -1
- package/dist/lib/catalogList/index.js +3 -3
- package/dist/lib/resourcesList/index.d.ts +1 -1
- package/dist/lib/resourcesList/index.js +2 -11
- package/dist/stories/Atoms/Logos/Logo.stories.d.ts +13 -0
- package/dist/stories/Atoms/Logos/Logo.stories.js +78 -0
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.d.ts +1 -1
- package/dist/stories/Atoms/Logos/LogoFromSkillsoft.stories.js +8 -2
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.d.ts +1 -1
- package/dist/stories/Atoms/Logos/LogoLXStudio.stories.js +1 -1
- package/dist/stories/Atoms/Logos/ProLabel.stories.d.ts +1 -2
- package/dist/stories/Atoms/Logos/ProLabel.stories.js +11 -10
- package/dist/stories/Atoms/Logos/ProLogoAlt.stories.d.ts +6 -0
- package/dist/stories/Atoms/Logos/ProLogoAlt.stories.js +24 -0
- package/dist/stories/Molecules/AppBar.stories.js +2 -2
- package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.d.ts +6 -0
- package/dist/stories/Molecules/LearningOutcomeAssessmentScores.stories.js +23 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.d.ts +1 -0
- package/dist/stories/Molecules/LearningOutcomeCard.stories.js +16 -0
- package/dist/stories/Molecules/LearningOutcomeFlyout.stories.d.ts +5 -0
- package/dist/stories/Molecules/LearningOutcomeFlyout.stories.js +34 -0
- package/package.json +1 -1
- package/dist/Logos/LogoCodecademy/index.d.ts +0 -2
- package/dist/Logos/LogoCodecademyMini/index.d.ts +0 -2
- package/dist/Logos/LogoCodecademyMini/index.js +0 -18
- package/dist/Logos/LogoCodecademyPro/index.d.ts +0 -2
- package/dist/Logos/LogoCodecademyTeams/index.d.ts +0 -2
- package/dist/Logos/LogoFromSkillsoft/index.d.ts +0 -3
- package/dist/Logos/LogoFromSkillsoft/index.js +0 -47
- package/dist/Logos/LogoLXStudio/index.d.ts +0 -3
- package/dist/Logos/LogoLXStudio/index.js +0 -40
- package/dist/Logos/ProLabel/ProLabelCutoutTransparent/index.d.ts +0 -7
- package/dist/Logos/index.d.ts +0 -7
- package/dist/Logos/index.js +0 -7
- package/dist/Logos/shared.d.ts +0 -636
- package/dist/Logos/shared.js +0 -16
- package/dist/stories/Atoms/Logos/LogoCodecademy.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/LogoCodecademy.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/LogoCodecademyMini.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/LogoCodecademyPro.stories.js +0 -8
- package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.d.ts +0 -6
- package/dist/stories/Atoms/Logos/LogoCodecademyTeams.stories.js +0 -8
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export function CodecademyPremiumLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsx("svg", {
|
|
4
|
+
...props,
|
|
5
|
+
viewBox: "0 0 173 22",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
8
|
+
fill: "none",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
children: [/*#__PURE__*/_jsxs("g", {
|
|
11
|
+
fillRule: "nonzero",
|
|
12
|
+
children: [/*#__PURE__*/_jsxs("g", {
|
|
13
|
+
transform: "translate(103.55 7.744)",
|
|
14
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
15
|
+
d: "M11.244 9.356V6.275h1.287c2.145 0 3.276-1.391 3.276-3.029 0-1.651-1.131-2.99-3.276-2.99H9.45v9.1h1.794zm1.014-4.628h-1.014V1.816h1.014c.988 0 1.703.416 1.703 1.43s-.715 1.482-1.703 1.482zm7.065 4.628V5.859h1.274l2.015 3.497h2.08l-2.327-3.835c1.378-.546 1.729-1.638 1.729-2.496 0-1.586-1.17-2.769-3.159-2.769h-3.419v9.1h1.807zm1.378-5.07h-1.378v-2.47h1.378c1.001 0 1.586.416 1.586 1.222 0 .78-.585 1.248-1.586 1.248zm12.278 5.07V7.809h-4.966V5.495h2.899V3.948h-2.899V1.816h4.966V.256h-6.773v9.1h6.773zm3.659 0V2.921l1.794 4.485h1.911l1.742-4.485v6.435h1.794v-9.1h-2.431L39.42 5.417 37.431.256h-2.548v9.1h1.755zm11.446 0v-9.1h-1.807v9.1h1.807zm5.713.156c2.249 0 3.406-1.404 3.406-3.172V.256h-1.768v5.915c0 .988-.546 1.677-1.612 1.677s-1.612-.689-1.612-1.677V.256h-1.807V6.34c0 1.768 1.131 3.172 3.393 3.172zm7.481-.156V2.921l1.794 4.485h1.911l1.742-4.485v6.435h1.794v-9.1h-2.431L64.06 5.417 62.071.256h-2.548v9.1h1.755z",
|
|
16
|
+
id: "a",
|
|
17
|
+
fill: "currentColor"
|
|
18
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
19
|
+
d: "M11.244 9.356V6.275h1.287c2.145 0 3.276-1.391 3.276-3.029 0-1.651-1.131-2.99-3.276-2.99H9.45v9.1h1.794zm1.014-4.628h-1.014V1.816h1.014c.988 0 1.703.416 1.703 1.43s-.715 1.482-1.703 1.482zm7.065 4.628V5.859h1.274l2.015 3.497h2.08l-2.327-3.835c1.378-.546 1.729-1.638 1.729-2.496 0-1.586-1.17-2.769-3.159-2.769h-3.419v9.1h1.807zm1.378-5.07h-1.378v-2.47h1.378c1.001 0 1.586.416 1.586 1.222 0 .78-.585 1.248-1.586 1.248zm12.278 5.07V7.809h-4.966V5.495h2.899V3.948h-2.899V1.816h4.966V.256h-6.773v9.1h6.773zm3.659 0V2.921l1.794 4.485h1.911l1.742-4.485v6.435h1.794v-9.1h-2.431L39.42 5.417 37.431.256h-2.548v9.1h1.755zm11.446 0v-9.1h-1.807v9.1h1.807zm5.713.156c2.249 0 3.406-1.404 3.406-3.172V.256h-1.768v5.915c0 .988-.546 1.677-1.612 1.677s-1.612-.689-1.612-1.677V.256h-1.807V6.34c0 1.768 1.131 3.172 3.393 3.172zm7.481-.156V2.921l1.794 4.485h1.911l1.742-4.485v6.435h1.794v-9.1h-2.431L64.06 5.417 62.071.256h-2.548v9.1h1.755z",
|
|
20
|
+
id: "a",
|
|
21
|
+
fill: "currentColor"
|
|
22
|
+
})]
|
|
23
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
24
|
+
fill: "currentColor",
|
|
25
|
+
d: "M108.785 7.9L105.61 17h-2.06l3.176-9.1z"
|
|
26
|
+
})]
|
|
27
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
28
|
+
d: "M4.213 14.896c-.192-.562-.278-1.275-.278-2.226 0-.95.086-1.664.278-2.226.513-1.599 1.86-2.485 3.637-2.485 1.326 0 2.353.54 3.06 1.404a.18.18 0 01-.022.26L9.732 10.66c-.086.066-.192.066-.256-.043-.45-.497-.9-.778-1.626-.778-.792 0-1.39.39-1.648 1.167-.128.454-.17.973-.17 1.664 0 .692.042 1.232.192 1.686.257.756.856 1.167 1.647 1.167.727 0 1.198-.28 1.626-.778.064-.086.171-.086.257-.022l1.155 1.038c.086.065.064.173.022.26-.707.842-1.734 1.382-3.06 1.382-1.775-.021-3.145-.886-3.658-2.507zm39.704 0c-.192-.562-.278-1.275-.278-2.226 0-.95.086-1.664.278-2.226.514-1.599 1.862-2.485 3.637-2.485 1.326 0 2.375.54 3.06 1.404a.18.18 0 01-.022.26l-1.155 1.037c-.086.066-.193.066-.257-.043-.45-.497-.899-.778-1.626-.778-.791 0-1.39.39-1.647 1.167-.15.454-.193.973-.193 1.664 0 .692.043 1.232.193 1.686.257.756.856 1.167 1.647 1.167.727 0 1.198-.28 1.626-.778.064-.086.171-.086.257-.022l1.155 1.038c.086.065.064.173.022.26-.707.842-1.734 1.382-3.06 1.382-1.775-.021-3.123-.886-3.637-2.507zm46.552 2.27c-.107 0-.192-.066-.192-.195v-5.187c0-1.167-.578-1.967-1.67-1.967-1.069 0-1.69.8-1.69 1.967v5.187c0 .108-.064.195-.192.195h-1.69c-.107 0-.192-.066-.192-.195v-5.187c0-1.167-.578-1.967-1.67-1.967-1.069 0-1.69.8-1.69 1.967v5.187c0 .108-.063.195-.192.195h-1.69c-.107 0-.192-.066-.192-.195V8.348c0-.108.064-.195.192-.195h1.69c.107 0 .193.065.193.195v.648h.021c.385-.562 1.155-1.037 2.332-1.037 1.048 0 1.883.432 2.418 1.189h.021c.684-.757 1.562-1.19 2.824-1.19 2.054 0 3.209 1.427 3.209 3.35v5.685c0 .108-.064.194-.193.194l-1.647-.021zm4.228 3.177c-.108 0-.193-.066-.193-.195v-1.491c0-.108.064-.194.193-.194h.32c.707 0 1.048-.325 1.327-1.06l.257-.756-3.231-8.494c-.043-.108.043-.194.15-.194h1.818c.107 0 .193.065.214.194l1.99 5.879h.043l1.904-5.879c.043-.108.107-.194.213-.194h1.733c.108 0 .193.065.15.194l-3.337 9.401c-.77 2.14-1.498 2.81-2.974 2.81l-.577-.021zm-76.93-6.009c.15-.475.192-.908.192-1.664 0-.756-.043-1.167-.192-1.664-.257-.757-.835-1.167-1.647-1.167-.813 0-1.412.432-1.669 1.167-.15.475-.193.886-.193 1.664 0 .756.043 1.189.193 1.664.257.757.835 1.167 1.669 1.167.812.022 1.39-.41 1.647-1.167zm-5.306.562c-.192-.627-.3-1.232-.3-2.226s.087-1.578.3-2.226c.492-1.578 1.84-2.485 3.637-2.485 1.776 0 3.124.907 3.615 2.485.193.627.3 1.232.3 2.226s-.086 1.578-.3 2.226c-.491 1.578-1.84 2.485-3.615 2.485-1.775 0-3.123-.907-3.637-2.485zm43.085-6.937c2.695 0 3.68.95 3.722 3.155v5.857c0 .13-.085.195-.192.195h-1.54c-.13 0-.193-.087-.193-.195v-.648h-.022c-.406.605-1.24 1.037-2.481 1.037-1.626 0-2.974-.865-2.974-2.745 0-1.945 1.348-2.853 3.53-2.853h.728c.128 0 .192.087.192.195v1.189c0 .13-.086.194-.192.194h-.407c-1.327 0-1.904.368-1.904 1.21 0 .757.535 1.124 1.519 1.124 1.262 0 1.968-.497 1.968-1.534v-3.004c-.043-.973-.535-1.405-1.968-1.405-.984 0-1.583.281-2.011.627-.086.064-.193.043-.257-.043l-.685-1.233c-.042-.086-.021-.172.043-.237.706-.54 1.67-.886 3.124-.886zm-21.66 3.803h2.502c.065 0 .108-.043.108-.108 0-.302-.043-.54-.108-.756-.235-.735-.877-1.167-1.711-1.167-.834 0-1.498.432-1.733 1.167-.021.087-.043.173-.064.28v.044c-.064.41-.086.735-.107 1.254-.003.434.033.868.107 1.296.021.13.064.26.107.39.278.885.984 1.361 1.968 1.361 1.006 0 1.626-.367 2.075-.864.086-.109.193-.109.278-.044l1.07.973c.086.065.086.173.021.26-.77.907-2.01 1.534-3.636 1.534-1.862 0-3.188-.93-3.68-2.507-.193-.584-.321-1.276-.321-2.205 0-.93.107-1.642.3-2.226.492-1.577 1.86-2.485 3.615-2.485 1.818 0 3.145.95 3.637 2.485.214.627.3 1.254.3 2.702 0 .13-.065.194-.193.194h-4.536c-.064 0-.085-.043-.085-.086v-1.405c0-.065.043-.087.085-.087zm-4.83-7.42c.107 0 .193.064.214.107v12.319c0 .13-.085.195-.192.195h-1.69c-.128 0-.193-.087-.193-.195v-.67h-.021c-.407.605-1.134 1.06-2.332 1.06-1.498 0-2.61-.714-3.06-2.162-.234-.692-.32-1.319-.32-2.529s.107-1.837.32-2.528c.45-1.427 1.52-2.14 2.996-2.161h1.262c.043.02.064.043.064.086v1.707c0 .044-.021.087-.064.087h-.727c-.792.021-1.348.432-1.583 1.167-.129.41-.193.864-.193 1.685 0 .822.064 1.276.193 1.686.235.735.812 1.146 1.625 1.146.835 0 1.412-.39 1.648-1.146a4.85 4.85 0 00.171-1.167V4.536c0-.13.085-.195.192-.195h1.69zm44.176 7.42h2.503c.064 0 .107-.043.107-.108 0-.302-.043-.54-.107-.756-.235-.735-.877-1.167-1.712-1.167-.834 0-1.497.432-1.732 1.167a5.779 5.779 0 00-.064.28v.044c-.064.41-.086.735-.107 1.254-.003.434.033.868.106 1.296.022.13.065.26.108.39.278.885.984 1.361 1.968 1.361 1.006 0 1.626-.367 2.075-.864.086-.109.193-.109.278-.044l1.07.973c.085.065.085.173.021.26-.77.907-2.011 1.534-3.637 1.534-1.86 0-3.187-.93-3.68-2.507-.192-.584-.32-1.276-.32-2.205 0-.93.107-1.642.3-2.226.491-1.577 1.86-2.485 3.614-2.485 1.819 0 3.145.95 3.638 2.485.213.627.3 1.254.3 2.702 0 .13-.065.194-.193.194h-4.536c-.064 0-.086-.043-.086-.086v-1.405c0-.065.043-.087.086-.087zm-4.829-7.42c.107 0 .193.064.236.172v12.319c0 .13-.086.194-.193.194h-1.69c-.128 0-.192-.086-.192-.194v-.67h-.022c-.428.605-1.155 1.059-2.353 1.059-1.498 0-2.61-.713-3.06-2.161-.235-.692-.32-1.34-.32-2.55 0-1.232.107-1.86.32-2.551.45-1.426 1.54-2.14 3.017-2.161h1.24c.129 0 .193.086.193.194v1.492c0 .13-.085.194-.192.194h-.727c-.792.022-1.349.433-1.584 1.167-.128.41-.192.865-.192 1.686s.064 1.275.192 1.686c.235.756.792 1.167 1.626 1.167.835 0 1.412-.41 1.648-1.167.085-.302.15-.649.17-1.167V4.536c0-.13.086-.195.193-.195h1.69zM50.078 19.534c.295 0 .357.09.357.362v1.447c0 .294-.083.362-.357.362h-5.723c-.296 0-.358-.09-.358-.362v-1.447c0-.295.052-.362.358-.362h5.723zM0 .362C0 .109.043.043 0 0h42.208c.23 0 .272.022.358 0v21.344c0 .231-.021.275 0 .362-.086-.022-.129 0-.358 0H0v-.002l.007-.028c.006-.037-.002-.053-.006-.012L0 21.69V.361zm2.146 19.173H40.42c-.043-.043 0-.107 0-.362V2.171H2.146v17.364z",
|
|
29
|
+
id: "b",
|
|
30
|
+
fill: "currentColor",
|
|
31
|
+
fillRule: "nonzero"
|
|
32
|
+
})]
|
|
33
|
+
})
|
|
34
|
+
});
|
|
35
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export function CodecademyProAltLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsx("svg", {
|
|
4
|
+
...props,
|
|
5
|
+
viewBox: "0 0 95 40",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
children: /*#__PURE__*/_jsxs("g", {
|
|
8
|
+
fill: "currentColor",
|
|
9
|
+
fillRule: "evenodd",
|
|
10
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
11
|
+
d: "m0 0h74v40h-74zm78 34h17v6h-17z",
|
|
12
|
+
fill: "currentColor"
|
|
13
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
14
|
+
d: "m13.971 23.67v6.82h-3.971v-20.145h6.82c4.749 0 7.253 2.965 7.253 6.62 0 3.625-2.504 6.705-7.253 6.705zm2.245-9.871h-2.245v6.446h2.245c2.187 0 3.77-1.036 3.77-3.28 0-2.245-1.583-3.166-3.77-3.166zm21.518 16.691-4.46-7.741h-2.821v7.741h-4v-20.145h7.568c4.404 0 6.994 2.62 6.994 6.13 0 1.9-.777 4.317-3.828 5.526l5.151 8.49h-4.604zm-.72-13.986c0-1.784-1.295-2.705-3.51-2.705h-3.051v5.468h3.05c2.216 0 3.511-1.036 3.511-2.763zm16.453-6.504c5.843 0 10.533 4.346 10.533 10.418s-4.69 10.417-10.533 10.417c-5.842 0-10.533-4.345-10.533-10.417s4.691-10.418 10.533-10.418zm0 17.152c3.799 0 6.36-2.878 6.36-6.734 0-3.857-2.561-6.734-6.36-6.734s-6.36 2.877-6.36 6.734c0 3.856 2.561 6.734 6.36 6.734z",
|
|
15
|
+
fill: "#fff"
|
|
16
|
+
})]
|
|
17
|
+
})
|
|
18
|
+
});
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
export function CodecademyProLockupLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsx("svg", {
|
|
4
|
+
...props,
|
|
5
|
+
viewBox: "0 0 62 26",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
children: /*#__PURE__*/_jsx("path", {
|
|
8
|
+
d: "M62 16H50v4h12v6H7.937v-7.883c.736 1.253 2.464 2.248 4.544 2.248 4.032 0 7.136-3.243 7.136-7.738 0-4.495-3.072-7.738-7.104-7.738-2.208 0-3.936 1.027-4.64 2.28 0-.161.064-.482.064-1.188v-.707h-4.16V26H0V0h62v16zM11.585 8.613c2.208 0 3.744 1.734 3.744 4.014 0 2.248-1.536 4.046-3.744 4.046s-3.744-1.798-3.744-4.046c0-2.28 1.536-4.014 3.744-4.014zm19.71-3.403a4.695 4.695 0 0 0-1.151-.128c-1.824 0-3.232.963-3.808 2.536V5.274h-4.032V19.98h4.16v-7.032c0-2.569.96-3.564 3.072-3.564h1.76V5.21zm9.088 15.155c4.352 0 7.84-3.243 7.84-7.738 0-4.495-3.488-7.738-7.84-7.738s-7.84 3.243-7.84 7.738c0 4.495 3.488 7.738 7.84 7.738zm0-11.752c2.144 0 3.648 1.702 3.648 4.014 0 2.28-1.504 4.013-3.648 4.013-2.176 0-3.68-1.733-3.68-4.013 0-2.312 1.504-4.014 3.68-4.014z",
|
|
9
|
+
fill: "currentColor",
|
|
10
|
+
fillRule: "evenodd"
|
|
11
|
+
})
|
|
12
|
+
});
|
|
13
|
+
}
|
|
@@ -1,13 +1,9 @@
|
|
|
1
|
-
import { StyledSVGWrapper } from '../shared';
|
|
2
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
...rest,
|
|
9
|
-
height: height,
|
|
10
|
-
viewBox: "0 0 139 21.705",
|
|
2
|
+
export function CodecademyProLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
4
|
+
...props,
|
|
5
|
+
viewBox: "0 0 139 22",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
7
|
children: [/*#__PURE__*/_jsx("title", {
|
|
12
8
|
children: "Codecademy Pro Logo"
|
|
13
9
|
}), /*#__PURE__*/_jsxs("g", {
|
|
@@ -18,8 +14,8 @@ export const LogoCodecademyPro = ({
|
|
|
18
14
|
fill: "currentColor"
|
|
19
15
|
}), /*#__PURE__*/_jsx("path", {
|
|
20
16
|
d: "M133.374 7.744c2.639 0 4.758 1.963 4.758 4.706 0 2.743-2.119 4.706-4.758 4.706s-4.758-1.963-4.758-4.706c0-2.743 2.119-4.706 4.758-4.706zm0 7.748c1.716 0 2.873-1.3 2.873-3.042 0-1.742-1.157-3.042-2.873-3.042-1.716 0-2.873 1.3-2.873 3.042 0 1.742 1.157 3.042 2.873 3.042zM124.168 7.9c1.989 0 3.159 1.183 3.159 2.769 0 .858-.351 1.95-1.729 2.496L127.925 17h-2.08l-2.015-3.497h-1.274V17h-1.807V7.9h3.419zm-15.383 0L105.61 17h-2.06l3.176-9.1h2.06zm6.945 0c2.145 0 3.276 1.339 3.276 2.99 0 1.638-1.131 3.029-3.276 3.029h-1.287V17h-1.794V7.9h3.081zm-.273 1.56h-1.014v2.912h1.014c.988 0 1.703-.468 1.703-1.482s-.715-1.43-1.703-1.43zm8.477 0h-1.378v2.47h1.378c1.001 0 1.586-.468 1.586-1.248 0-.806-.585-1.222-1.586-1.222z",
|
|
21
|
-
fill: "
|
|
17
|
+
fill: "#6400E4"
|
|
22
18
|
})]
|
|
23
19
|
})]
|
|
24
20
|
});
|
|
25
|
-
}
|
|
21
|
+
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { StyledSVGWrapper } from '../shared';
|
|
2
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
height: height,
|
|
9
|
-
viewBox: "0 0 102 21.705",
|
|
10
|
-
...rest,
|
|
2
|
+
export function CodecademyProMonoLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
4
|
+
...props,
|
|
5
|
+
viewBox: "0 0 139 22",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11
7
|
children: [/*#__PURE__*/_jsx("title", {
|
|
12
|
-
children: "Codecademy Logo"
|
|
13
|
-
}), /*#__PURE__*/
|
|
8
|
+
children: "Codecademy Pro Logo"
|
|
9
|
+
}), /*#__PURE__*/_jsxs("g", {
|
|
14
10
|
fill: "none",
|
|
15
|
-
fillRule: "
|
|
16
|
-
children: /*#__PURE__*/_jsx("path", {
|
|
11
|
+
fillRule: "evenodd",
|
|
12
|
+
children: [/*#__PURE__*/_jsx("path", {
|
|
13
|
+
transform: "translate(103.55 7.744)",
|
|
14
|
+
d: "M29.824 0c2.639 0 4.758 1.963 4.758 4.706 0 2.743-2.119 4.706-4.758 4.706s-4.758-1.963-4.758-4.706C25.066 1.963 27.185 0 29.824 0zm0 7.748c1.716 0 2.873-1.3 2.873-3.042 0-1.742-1.157-3.042-2.873-3.042-1.716 0-2.873 1.3-2.873 3.042 0 1.742 1.157 3.042 2.873 3.042zM20.618.156c1.989 0 3.159 1.183 3.159 2.769 0 .858-.351 1.95-1.729 2.496l2.327 3.835h-2.08L20.28 5.759h-1.274v3.497h-1.807v-9.1h3.419zm-15.383 0l-3.175 9.1H0l3.176-9.1h2.06zm6.945 0c2.145 0 3.276 1.339 3.276 2.99 0 1.638-1.131 3.029-3.276 3.029h-1.287v3.081H9.099v-9.1h3.081zm-.273 1.56h-1.014v2.912h1.014c.988 0 1.703-.468 1.703-1.482s-.715-1.43-1.703-1.43zm8.477 0h-1.378v2.47h1.378c1.001 0 1.586-.468 1.586-1.248 0-.806-.585-1.222-1.586-1.222z",
|
|
15
|
+
fill: "currentColor"
|
|
16
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
17
17
|
d: "M4.213 14.896c-.192-.562-.278-1.275-.278-2.226 0-.95.086-1.664.278-2.226.513-1.599 1.86-2.485 3.637-2.485 1.326 0 2.353.54 3.06 1.404a.18.18 0 01-.022.26L9.732 10.66c-.086.066-.192.066-.256-.043-.45-.497-.9-.778-1.626-.778-.792 0-1.39.39-1.648 1.167-.128.454-.17.973-.17 1.664 0 .692.042 1.232.192 1.686.257.756.856 1.167 1.647 1.167.727 0 1.198-.28 1.626-.778.064-.086.171-.086.257-.022l1.155 1.038c.086.065.064.173.022.26-.707.842-1.734 1.382-3.06 1.382-1.775-.021-3.145-.886-3.658-2.507zm39.704 0c-.192-.562-.278-1.275-.278-2.226 0-.95.086-1.664.278-2.226.514-1.599 1.862-2.485 3.637-2.485 1.326 0 2.375.54 3.06 1.404a.18.18 0 01-.022.26l-1.155 1.037c-.086.066-.193.066-.257-.043-.45-.497-.899-.778-1.626-.778-.791 0-1.39.39-1.647 1.167-.15.454-.193.973-.193 1.664 0 .692.043 1.232.193 1.686.257.756.856 1.167 1.647 1.167.727 0 1.198-.28 1.626-.778.064-.086.171-.086.257-.022l1.155 1.038c.086.065.064.173.022.26-.707.842-1.734 1.382-3.06 1.382-1.775-.021-3.123-.886-3.637-2.507zm46.552 2.27c-.107 0-.192-.066-.192-.195v-5.187c0-1.167-.578-1.967-1.67-1.967-1.069 0-1.69.8-1.69 1.967v5.187c0 .108-.064.195-.192.195h-1.69c-.107 0-.192-.066-.192-.195v-5.187c0-1.167-.578-1.967-1.67-1.967-1.069 0-1.69.8-1.69 1.967v5.187c0 .108-.063.195-.192.195h-1.69c-.107 0-.192-.066-.192-.195V8.348c0-.108.064-.195.192-.195h1.69c.107 0 .193.065.193.195v.648h.021c.385-.562 1.155-1.037 2.332-1.037 1.048 0 1.883.432 2.418 1.189h.021c.684-.757 1.562-1.19 2.824-1.19 2.054 0 3.209 1.427 3.209 3.35v5.685c0 .108-.064.194-.193.194l-1.647-.021zm4.228 3.177c-.108 0-.193-.066-.193-.195v-1.491c0-.108.064-.194.193-.194h.32c.707 0 1.048-.325 1.327-1.06l.257-.756-3.231-8.494c-.043-.108.043-.194.15-.194h1.818c.107 0 .193.065.214.194l1.99 5.879h.043l1.904-5.879c.043-.108.107-.194.213-.194h1.733c.108 0 .193.065.15.194l-3.337 9.401c-.77 2.14-1.498 2.81-2.974 2.81l-.577-.021zm-76.93-6.009c.15-.475.192-.908.192-1.664 0-.756-.043-1.167-.192-1.664-.257-.757-.835-1.167-1.647-1.167-.813 0-1.412.432-1.669 1.167-.15.475-.193.886-.193 1.664 0 .756.043 1.189.193 1.664.257.757.835 1.167 1.669 1.167.812.022 1.39-.41 1.647-1.167zm-5.306.562c-.192-.627-.3-1.232-.3-2.226s.087-1.578.3-2.226c.492-1.578 1.84-2.485 3.637-2.485 1.776 0 3.124.907 3.615 2.485.193.627.3 1.232.3 2.226s-.086 1.578-.3 2.226c-.491 1.578-1.84 2.485-3.615 2.485-1.775 0-3.123-.907-3.637-2.485zm43.085-6.937c2.695 0 3.68.95 3.722 3.155v5.857c0 .13-.085.195-.192.195h-1.54c-.13 0-.193-.087-.193-.195v-.648h-.022c-.406.605-1.24 1.037-2.481 1.037-1.626 0-2.974-.865-2.974-2.745 0-1.945 1.348-2.853 3.53-2.853h.728c.128 0 .192.087.192.195v1.189c0 .13-.086.194-.192.194h-.407c-1.327 0-1.904.368-1.904 1.21 0 .757.535 1.124 1.519 1.124 1.262 0 1.968-.497 1.968-1.534v-3.004c-.043-.973-.535-1.405-1.968-1.405-.984 0-1.583.281-2.011.627-.086.064-.193.043-.257-.043l-.685-1.233c-.042-.086-.021-.172.043-.237.706-.54 1.67-.886 3.124-.886zm-21.66 3.803h2.502c.065 0 .108-.043.108-.108 0-.302-.043-.54-.108-.756-.235-.735-.877-1.167-1.711-1.167-.834 0-1.498.432-1.733 1.167-.021.087-.043.173-.064.28v.044c-.064.41-.086.735-.107 1.254-.003.434.033.868.107 1.296.021.13.064.26.107.39.278.885.984 1.361 1.968 1.361 1.006 0 1.626-.367 2.075-.864.086-.109.193-.109.278-.044l1.07.973c.086.065.086.173.021.26-.77.907-2.01 1.534-3.636 1.534-1.862 0-3.188-.93-3.68-2.507-.193-.584-.321-1.276-.321-2.205 0-.93.107-1.642.3-2.226.492-1.577 1.86-2.485 3.615-2.485 1.818 0 3.145.95 3.637 2.485.214.627.3 1.254.3 2.702 0 .13-.065.194-.193.194h-4.536c-.064 0-.085-.043-.085-.086v-1.405c0-.065.043-.087.085-.087zm-4.83-7.42c.107 0 .193.064.214.107v12.319c0 .13-.085.195-.192.195h-1.69c-.128 0-.193-.087-.193-.195v-.67h-.021c-.407.605-1.134 1.06-2.332 1.06-1.498 0-2.61-.714-3.06-2.162-.234-.692-.32-1.319-.32-2.529s.107-1.837.32-2.528c.45-1.427 1.52-2.14 2.996-2.161h1.262c.043.02.064.043.064.086v1.707c0 .044-.021.087-.064.087h-.727c-.792.021-1.348.432-1.583 1.167-.129.41-.193.864-.193 1.685 0 .822.064 1.276.193 1.686.235.735.812 1.146 1.625 1.146.835 0 1.412-.39 1.648-1.146a4.85 4.85 0 00.171-1.167V4.536c0-.13.085-.195.192-.195h1.69zm44.176 7.42h2.503c.064 0 .107-.043.107-.108 0-.302-.043-.54-.107-.756-.235-.735-.877-1.167-1.712-1.167-.834 0-1.497.432-1.732 1.167a5.779 5.779 0 00-.064.28v.044c-.064.41-.086.735-.107 1.254-.003.434.033.868.106 1.296.022.13.065.26.108.39.278.885.984 1.361 1.968 1.361 1.006 0 1.626-.367 2.075-.864.086-.109.193-.109.278-.044l1.07.973c.085.065.085.173.021.26-.77.907-2.011 1.534-3.637 1.534-1.86 0-3.187-.93-3.68-2.507-.192-.584-.32-1.276-.32-2.205 0-.93.107-1.642.3-2.226.491-1.577 1.86-2.485 3.614-2.485 1.819 0 3.145.95 3.638 2.485.213.627.3 1.254.3 2.702 0 .13-.065.194-.193.194h-4.536c-.064 0-.086-.043-.086-.086v-1.405c0-.065.043-.087.086-.087zm-4.829-7.42c.107 0 .193.064.236.172v12.319c0 .13-.086.194-.193.194h-1.69c-.128 0-.192-.086-.192-.194v-.67h-.022c-.428.605-1.155 1.059-2.353 1.059-1.498 0-2.61-.713-3.06-2.161-.235-.692-.32-1.34-.32-2.55 0-1.232.107-1.86.32-2.551.45-1.426 1.54-2.14 3.017-2.161h1.24c.129 0 .193.086.193.194v1.492c0 .13-.085.194-.192.194h-.727c-.792.022-1.349.433-1.584 1.167-.128.41-.192.865-.192 1.686s.064 1.275.192 1.686c.235.756.792 1.167 1.626 1.167.835 0 1.412-.41 1.648-1.167.085-.302.15-.649.17-1.167V4.536c0-.13.086-.195.193-.195h1.69zM50.078 19.534c.295 0 .357.09.357.362v1.447c0 .294-.083.362-.357.362h-5.723c-.296 0-.358-.09-.358-.362v-1.447c0-.295.052-.362.358-.362h5.723zM0 .362C0 .109.043.043 0 0h42.208c.23 0 .272.022.358 0v21.344c0 .231-.021.275 0 .362-.086-.022-.129 0-.358 0H0v-.002l.007-.028c.006-.037-.002-.053-.006-.012L0 21.69V.361zm2.146 19.173H40.42c-.043-.043 0-.107 0-.362V2.171H2.146v17.364z",
|
|
18
18
|
fill: "currentColor"
|
|
19
|
-
})
|
|
19
|
+
})]
|
|
20
20
|
})]
|
|
21
21
|
});
|
|
22
|
-
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
export function CodecademyProgramLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
4
|
+
...props,
|
|
5
|
+
viewBox: "0 0 178 31",
|
|
6
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
7
|
+
children: [/*#__PURE__*/_jsx("title", {
|
|
8
|
+
children: "Codecademy Program Logo"
|
|
9
|
+
}), /*#__PURE__*/_jsx("path", {
|
|
10
|
+
fill: "currentColor",
|
|
11
|
+
d: "M.5 20.295c0 .173.116.289.289.289h3.66c.173 0 .288-.116.288-.289V1.276c0-.173-.115-.288-.288-.288H.789c-.173 0-.288.115-.288.288v19.02zM13.972 20.295c0 .173.115.289.288.289h3.257c.173 0 .288-.116.288-.289V7.991h.144l6.945 12.304c.115.202.26.289.49.289h3.429c.173 0 .288-.116.288-.289V1.276c0-.173-.115-.288-.288-.288h-3.256c-.173 0-.289.115-.289.288V13.61h-.144L18.208 1.276a.535.535 0 0 0-.49-.288H14.26c-.173 0-.288.115-.288.288v19.02zM46.319 20.584c.173 0 .288-.116.288-.289V4.936c0-.115.057-.173.173-.173h4.956c.173 0 .288-.115.288-.288V1.276c0-.173-.115-.288-.288-.288H37.241c-.173 0-.288.115-.288.288v3.199c0 .173.115.288.288.288h4.957c.115 0 .173.058.173.173v15.36c0 .172.115.288.288.288h3.66zM59.876 20.295c0 .173.116.289.289.289h12.564c.173 0 .288-.116.288-.289v-3.083c0-.173-.115-.288-.288-.288h-8.444c-.115 0-.172-.058-.172-.173v-4.063c0-.116.057-.173.172-.173h7.032c.173 0 .288-.115.288-.288V9.172c0-.173-.115-.288-.288-.288h-7.032c-.115 0-.172-.058-.172-.173v-3.89c0-.116.057-.173.172-.173h8.444c.173 0 .288-.115.288-.288V1.276c0-.173-.115-.288-.288-.288H60.165c-.173 0-.289.115-.289.288v19.02zM81.647 20.295c0 .173.115.289.288.289h3.257c.172 0 .288-.116.288-.289V7.991h.144l6.945 12.304c.115.202.26.289.49.289h3.429c.173 0 .288-.116.288-.289V1.276c0-.173-.115-.288-.288-.288h-3.256c-.173 0-.289.115-.289.288V13.61H92.8L85.883 1.276a.535.535 0 0 0-.49-.288h-3.458c-.173 0-.288.115-.288.288v19.02zM112.61 20.9c5.072 0 7.695-2.622 7.695-6.166 0-3.545-2.133-5.389-6.167-5.937l-1.038-.144c-2.247-.317-3.054-1.037-3.054-2.16 0-1.24.893-2.133 2.622-2.133 1.614 0 3.055.518 4.553 1.498.144.087.288.058.404-.086l1.757-2.623c.144-.201.116-.317-.057-.432-1.643-1.268-4.063-2.046-6.657-2.046-4.236 0-6.945 2.392-6.945 5.994 0 3.458 2.219 5.331 6.196 5.879l1.037.144c2.334.317 3.026 1.037 3.026 2.19 0 1.383-1.153 2.334-3.199 2.334-2.075 0-3.832-.98-5.13-2.017-.143-.115-.316-.115-.431.029l-2.19 2.507c-.145.173-.087.374.028.49 1.528 1.47 4.496 2.68 7.55 2.68zM128.646 20.295c0 .173.116.289.289.289h3.66c.172 0 .288-.116.288-.289V1.276c0-.173-.116-.288-.289-.288h-3.66c-.172 0-.288.115-.288.288v19.02zM150.503 20.584c.173 0 .289-.116.346-.289l6.225-18.99c.057-.202-.058-.317-.23-.317h-3.718c-.202 0-.317.086-.375.288l-3.804 12.853h-.086l-3.92-12.853c-.057-.202-.172-.288-.374-.288h-3.746c-.202 0-.317.115-.26.317l6.225 18.99c.058.173.173.289.375.289h3.342zM164.753 20.295c0 .173.115.289.288.289h12.564c.173 0 .288-.116.288-.289v-3.083c0-.173-.115-.288-.288-.288h-8.443c-.115 0-.173-.058-.173-.173v-4.063c0-.116.058-.173.173-.173h7.031c.173 0 .288-.115.288-.288V9.172c0-.173-.115-.288-.288-.288h-7.031c-.115 0-.173-.058-.173-.173v-3.89c0-.116.058-.173.173-.173h8.443c.173 0 .288-.115.288-.288V1.276c0-.173-.115-.288-.288-.288h-12.564c-.173 0-.288.115-.288.288v19.02zM164.67 30.19c0 .516.127.685.73.685h11.68c.56 0 .73-.127.73-.686v-2.744c0-.516-.128-.686-.73-.686H165.4c-.625 0-.73.127-.73.686v2.744z"
|
|
12
|
+
})]
|
|
13
|
+
});
|
|
14
|
+
}
|
|
@@ -1,12 +1,7 @@
|
|
|
1
|
-
import { StyledSVGWrapper } from '../shared';
|
|
2
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
}) => {
|
|
7
|
-
return /*#__PURE__*/_jsxs(StyledSVGWrapper, {
|
|
8
|
-
height: height,
|
|
9
|
-
...rest,
|
|
2
|
+
export function CodecademyTeamsLogo(props) {
|
|
3
|
+
return /*#__PURE__*/_jsxs("svg", {
|
|
4
|
+
...props,
|
|
10
5
|
viewBox: "0 0 196 27",
|
|
11
6
|
xmlns: "http://www.w3.org/2000/svg",
|
|
12
7
|
children: [/*#__PURE__*/_jsx("title", {
|
|
@@ -43,4 +38,4 @@ export const LogoCodecademyTeams = ({
|
|
|
43
38
|
})
|
|
44
39
|
})]
|
|
45
40
|
});
|
|
46
|
-
}
|
|
41
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { SVGProps } from 'react';
|
|
2
|
+
export type LogoType = 'default' | 'pro' | 'proAlt' | 'proLockup' | 'program' | 'proMono' | 'premium' | 'teams';
|
|
3
|
+
export type LogoProps = SVGProps<SVGSVGElement> & {
|
|
4
|
+
height?: number;
|
|
5
|
+
width?: number;
|
|
6
|
+
type?: LogoType;
|
|
7
|
+
};
|
|
8
|
+
export declare function Logo({ type, height, ...props }: LogoProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { CodecademyLogo } from './CodecademyLogo';
|
|
2
|
+
import { CodecademyPremiumLogo } from './CodecademyPremiumLogo';
|
|
3
|
+
import { CodecademyProAltLogo } from './CodecademyProAltLogo';
|
|
4
|
+
import { CodecademyProgramLogo } from './CodecademyProgramLogo';
|
|
5
|
+
import { CodecademyProLockupLogo } from './CodecademyProLockupLogo';
|
|
6
|
+
import { CodecademyProLogo } from './CodecademyProLogo';
|
|
7
|
+
import { CodecademyProMonoLogo } from './CodecademyProMonoLogo';
|
|
8
|
+
import { CodecademyTeamsLogo } from './CodecademyTeamsLogo';
|
|
9
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
10
|
+
const logos = {
|
|
11
|
+
pro: CodecademyProLogo,
|
|
12
|
+
proAlt: CodecademyProAltLogo,
|
|
13
|
+
proLockup: CodecademyProLockupLogo,
|
|
14
|
+
proMono: CodecademyProMonoLogo,
|
|
15
|
+
program: CodecademyProgramLogo,
|
|
16
|
+
premium: CodecademyPremiumLogo,
|
|
17
|
+
teams: CodecademyTeamsLogo,
|
|
18
|
+
default: CodecademyLogo
|
|
19
|
+
};
|
|
20
|
+
export function Logo({
|
|
21
|
+
type = 'default',
|
|
22
|
+
height = 32,
|
|
23
|
+
...props
|
|
24
|
+
}) {
|
|
25
|
+
const LogoTag = logos[type] || CodecademyLogo;
|
|
26
|
+
return /*#__PURE__*/_jsx(LogoTag, {
|
|
27
|
+
height: height,
|
|
28
|
+
...props
|
|
29
|
+
});
|
|
30
|
+
}
|
|
@@ -0,0 +1,227 @@
|
|
|
1
|
+
import { StyleProps } from '@codecademy/variance';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export declare const composedLogoStyles: import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").Compose<[import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
4
|
+
readonly flexBasis: {
|
|
5
|
+
readonly property: "flexBasis";
|
|
6
|
+
};
|
|
7
|
+
readonly flexShrink: {
|
|
8
|
+
readonly property: "flexShrink";
|
|
9
|
+
};
|
|
10
|
+
readonly flexGrow: {
|
|
11
|
+
readonly property: "flexGrow";
|
|
12
|
+
};
|
|
13
|
+
readonly order: {
|
|
14
|
+
readonly property: "order";
|
|
15
|
+
};
|
|
16
|
+
readonly gridColumn: {
|
|
17
|
+
readonly property: "gridColumn";
|
|
18
|
+
};
|
|
19
|
+
readonly gridRow: {
|
|
20
|
+
readonly property: "gridRow";
|
|
21
|
+
};
|
|
22
|
+
readonly gridColumnStart: {
|
|
23
|
+
readonly property: "gridColumnStart";
|
|
24
|
+
};
|
|
25
|
+
readonly gridRowStart: {
|
|
26
|
+
readonly property: "gridRowStart";
|
|
27
|
+
};
|
|
28
|
+
readonly gridColumnEnd: {
|
|
29
|
+
readonly property: "gridColumnEnd";
|
|
30
|
+
};
|
|
31
|
+
readonly gridRowEnd: {
|
|
32
|
+
readonly property: "gridRowEnd";
|
|
33
|
+
};
|
|
34
|
+
readonly justifySelf: {
|
|
35
|
+
readonly property: "justifySelf";
|
|
36
|
+
};
|
|
37
|
+
readonly alignSelf: {
|
|
38
|
+
readonly property: "alignSelf";
|
|
39
|
+
};
|
|
40
|
+
readonly gridArea: {
|
|
41
|
+
readonly property: "gridArea";
|
|
42
|
+
};
|
|
43
|
+
readonly display: {
|
|
44
|
+
readonly property: "display";
|
|
45
|
+
};
|
|
46
|
+
readonly overflow: {
|
|
47
|
+
readonly property: "overflow";
|
|
48
|
+
};
|
|
49
|
+
readonly overflowX: {
|
|
50
|
+
readonly property: "overflowX";
|
|
51
|
+
};
|
|
52
|
+
readonly overflowY: {
|
|
53
|
+
readonly property: "overflowY";
|
|
54
|
+
};
|
|
55
|
+
readonly dimensions: {
|
|
56
|
+
readonly property: "width";
|
|
57
|
+
readonly properties: readonly ["width", "height"];
|
|
58
|
+
readonly transform: (value: string | number) => string | 0;
|
|
59
|
+
};
|
|
60
|
+
readonly width: {
|
|
61
|
+
readonly property: "width";
|
|
62
|
+
readonly transform: (value: string | number) => string | 0;
|
|
63
|
+
};
|
|
64
|
+
readonly minWidth: {
|
|
65
|
+
readonly property: "minWidth";
|
|
66
|
+
readonly transform: (value: string | number) => string | 0;
|
|
67
|
+
};
|
|
68
|
+
readonly maxWidth: {
|
|
69
|
+
readonly property: "maxWidth";
|
|
70
|
+
readonly transform: (value: string | number) => string | 0;
|
|
71
|
+
};
|
|
72
|
+
readonly height: {
|
|
73
|
+
readonly property: "height";
|
|
74
|
+
readonly transform: (value: string | number) => string | 0;
|
|
75
|
+
};
|
|
76
|
+
readonly minHeight: {
|
|
77
|
+
readonly property: "minHeight";
|
|
78
|
+
readonly transform: (value: string | number) => string | 0;
|
|
79
|
+
};
|
|
80
|
+
readonly maxHeight: {
|
|
81
|
+
readonly property: "maxHeight";
|
|
82
|
+
readonly transform: (value: string | number) => string | 0;
|
|
83
|
+
};
|
|
84
|
+
readonly verticalAlign: {
|
|
85
|
+
readonly property: "verticalAlign";
|
|
86
|
+
};
|
|
87
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
88
|
+
readonly color: {
|
|
89
|
+
readonly property: "color";
|
|
90
|
+
readonly scale: "colors";
|
|
91
|
+
};
|
|
92
|
+
readonly textColor: {
|
|
93
|
+
readonly property: "color";
|
|
94
|
+
readonly scale: "colors";
|
|
95
|
+
};
|
|
96
|
+
readonly bg: {
|
|
97
|
+
readonly property: "backgroundColor";
|
|
98
|
+
readonly scale: "colors";
|
|
99
|
+
};
|
|
100
|
+
readonly borderColor: {
|
|
101
|
+
readonly property: "borderColor";
|
|
102
|
+
readonly scale: "colors";
|
|
103
|
+
};
|
|
104
|
+
readonly borderColorX: {
|
|
105
|
+
readonly property: "borderColor";
|
|
106
|
+
readonly properties: readonly ["borderLeftColor", "borderRightColor"];
|
|
107
|
+
readonly scale: "colors";
|
|
108
|
+
};
|
|
109
|
+
readonly borderColorY: {
|
|
110
|
+
readonly property: "borderColor";
|
|
111
|
+
readonly properties: readonly ["borderTopColor", "borderBottomColor"];
|
|
112
|
+
readonly scale: "colors";
|
|
113
|
+
};
|
|
114
|
+
readonly borderColorLeft: {
|
|
115
|
+
readonly property: "borderLeftColor";
|
|
116
|
+
readonly scale: "colors";
|
|
117
|
+
};
|
|
118
|
+
readonly borderColorRight: {
|
|
119
|
+
readonly property: "borderRightColor";
|
|
120
|
+
readonly scale: "colors";
|
|
121
|
+
};
|
|
122
|
+
readonly borderColorTop: {
|
|
123
|
+
readonly property: "borderTopColor";
|
|
124
|
+
readonly scale: "colors";
|
|
125
|
+
};
|
|
126
|
+
readonly borderColorBottom: {
|
|
127
|
+
readonly property: "borderBottomColor";
|
|
128
|
+
readonly scale: "colors";
|
|
129
|
+
};
|
|
130
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
131
|
+
readonly p: {
|
|
132
|
+
readonly property: "padding";
|
|
133
|
+
readonly scale: "spacing";
|
|
134
|
+
};
|
|
135
|
+
readonly px: {
|
|
136
|
+
readonly property: "padding";
|
|
137
|
+
readonly properties: readonly ["paddingLeft", "paddingRight"];
|
|
138
|
+
readonly scale: "spacing";
|
|
139
|
+
};
|
|
140
|
+
readonly py: {
|
|
141
|
+
readonly property: "padding";
|
|
142
|
+
readonly properties: readonly ["paddingTop", "paddingBottom"];
|
|
143
|
+
readonly scale: "spacing";
|
|
144
|
+
};
|
|
145
|
+
readonly pt: {
|
|
146
|
+
readonly property: "paddingTop";
|
|
147
|
+
readonly scale: "spacing";
|
|
148
|
+
};
|
|
149
|
+
readonly pb: {
|
|
150
|
+
readonly property: "paddingBottom";
|
|
151
|
+
readonly scale: "spacing";
|
|
152
|
+
};
|
|
153
|
+
readonly pr: {
|
|
154
|
+
readonly property: "paddingRight";
|
|
155
|
+
readonly scale: "spacing";
|
|
156
|
+
};
|
|
157
|
+
readonly pl: {
|
|
158
|
+
readonly property: "paddingLeft";
|
|
159
|
+
readonly scale: "spacing";
|
|
160
|
+
};
|
|
161
|
+
readonly m: {
|
|
162
|
+
readonly property: "margin";
|
|
163
|
+
readonly scale: "spacing";
|
|
164
|
+
};
|
|
165
|
+
readonly mx: {
|
|
166
|
+
readonly property: "margin";
|
|
167
|
+
readonly properties: readonly ["marginLeft", "marginRight"];
|
|
168
|
+
readonly scale: "spacing";
|
|
169
|
+
};
|
|
170
|
+
readonly my: {
|
|
171
|
+
readonly property: "margin";
|
|
172
|
+
readonly properties: readonly ["marginTop", "marginBottom"];
|
|
173
|
+
readonly scale: "spacing";
|
|
174
|
+
};
|
|
175
|
+
readonly mt: {
|
|
176
|
+
readonly property: "marginTop";
|
|
177
|
+
readonly scale: "spacing";
|
|
178
|
+
};
|
|
179
|
+
readonly mb: {
|
|
180
|
+
readonly property: "marginBottom";
|
|
181
|
+
readonly scale: "spacing";
|
|
182
|
+
};
|
|
183
|
+
readonly mr: {
|
|
184
|
+
readonly property: "marginRight";
|
|
185
|
+
readonly scale: "spacing";
|
|
186
|
+
};
|
|
187
|
+
readonly ml: {
|
|
188
|
+
readonly property: "marginLeft";
|
|
189
|
+
readonly scale: "spacing";
|
|
190
|
+
};
|
|
191
|
+
}>>, import("@codecademy/variance/dist/types/config").Parser<import("@codecademy/variance/dist/types/config").TransformerMap<{
|
|
192
|
+
readonly position: {
|
|
193
|
+
readonly property: "position";
|
|
194
|
+
};
|
|
195
|
+
readonly inset: {
|
|
196
|
+
readonly property: "inset";
|
|
197
|
+
readonly properties: readonly ["top", "right", "bottom", "left"];
|
|
198
|
+
readonly transform: (value: string | number) => string | 0;
|
|
199
|
+
};
|
|
200
|
+
readonly top: {
|
|
201
|
+
readonly property: "top";
|
|
202
|
+
readonly transform: (value: string | number) => string | 0;
|
|
203
|
+
};
|
|
204
|
+
readonly right: {
|
|
205
|
+
readonly property: "right";
|
|
206
|
+
readonly transform: (value: string | number) => string | 0;
|
|
207
|
+
};
|
|
208
|
+
readonly bottom: {
|
|
209
|
+
readonly property: "bottom";
|
|
210
|
+
readonly transform: (value: string | number) => string | 0;
|
|
211
|
+
};
|
|
212
|
+
readonly left: {
|
|
213
|
+
readonly property: "left";
|
|
214
|
+
readonly transform: (value: string | number) => string | 0;
|
|
215
|
+
};
|
|
216
|
+
readonly zIndex: {
|
|
217
|
+
readonly property: "zIndex";
|
|
218
|
+
};
|
|
219
|
+
readonly opacity: {
|
|
220
|
+
readonly property: "opacity";
|
|
221
|
+
};
|
|
222
|
+
}>>]>>;
|
|
223
|
+
export interface FromLogoIconStyleProps extends StyleProps<typeof composedLogoStyles> {
|
|
224
|
+
}
|
|
225
|
+
export interface SharedLogoIconProps extends Omit<React.SVGProps<SVGSVGElement>, keyof FromLogoIconStyleProps>, FromLogoIconStyleProps {
|
|
226
|
+
}
|
|
227
|
+
export declare const LogoFromSkillsoft: React.FC<SharedLogoIconProps>;
|