36 lines
1.1 KiB
JavaScript
36 lines
1.1 KiB
JavaScript
import React from 'react';
|
|
|
|
import { getConfig } from '@edx/frontend-platform';
|
|
import { useIntl } from '@edx/frontend-platform/i18n';
|
|
import { Hyperlink, Image } from '@edx/paragon';
|
|
|
|
import './index.scss';
|
|
import messages from './messages';
|
|
|
|
const LargeLayout = () => {
|
|
const { formatMessage } = useIntl();
|
|
|
|
return (
|
|
<div
|
|
className="w-50 vh-100 bg-primary-500 banner__image large-layout"
|
|
style={{ backgroundImage: `url(${getConfig().BANNER_IMAGE_LARGE})` }}
|
|
>
|
|
<Hyperlink destination={getConfig().MARKETING_SITE_BASE_URL}>
|
|
<Image className="company-logo position-absolute" alt={getConfig().SITE_NAME} src={getConfig().LOGO_WHITE_URL} />
|
|
</Hyperlink>
|
|
<div className="min-vh-100 p-5 d-flex align-items-end">
|
|
<h1 className="display-2 mw-sm mb-3 d-flex flex-column flex-shrink-0 justify-content-center">
|
|
<span className="text-light-500">
|
|
{formatMessage(messages['your.career.turning.point'])}
|
|
</span>
|
|
<span className="text-warning-300">
|
|
{formatMessage(messages['is.here'])}
|
|
</span>
|
|
</h1>
|
|
</div>
|
|
</div>
|
|
);
|
|
};
|
|
|
|
export default LargeLayout;
|