/* global gettext */ import React from 'react'; class Static2UCallouts extends React.Component { constructor(props) { super(props); this.state = { show2uLobs: false, }; } componentDidMount() { const optimizely = window["optimizely"] || []; optimizely.push({ "type": "user", "attributes": { "isEnterpriseUser": this.props.isEnterpriseUser.toString(), } }); optimizely.push({ type: "page", pageName: "van_1097_merchandise_2u_lobs_on_dashboard" }); const experimentId = '22164741776'; this.timer = setTimeout(() => { const selectedVariant = optimizely.get("state").getVariationMap()[experimentId]; if (selectedVariant?.name === 'dashboard_with_2u_lobs'){ this.setState({ show2uLobs: true, }) } }, 500 ); } componentWillUnmount() { clearTimeout(this.timer); } render() { return ( this.state.show2uLobs && (

{gettext('More opportunities for you')}

{gettext(' to learn')}

{gettext('We\'ve added 500+ learning opportunities to create one of the world\'s most ' + 'comprehensive free-to-degree online learning platforms.')}

New

Executive Education

Short courses to develop leadership skills
New

Master’s Degrees

Online degree programs from top universities
New

Bachelor’s Degrees

Begin or complete a degree; fully online
{this.props.countryCode === 'US' && (
)} {this.props.countryCode === 'US' && (
New

Boot Camps

Intensive, hands-on, project-based training
)}
) ); } } export { Static2UCallouts };