in website/src/pages/events/kubecon-india-24.js [12:63]
function CampaignHeader() {
// Inline styles for responsive video
const videoResponsiveStyle = {
position: 'relative',
paddingBottom: '56.25%', // 16:9 aspect ratio
height: 0,
overflow: 'hidden',
maxWidth: '100%',
};
const iframeStyle = {
position: 'absolute',
top: 0,
left: 0,
width: '100%',
height: '100%',
borderRadius: '1.5rem'
};
return (
<header
className={clsx('hero hero--primary heroAzureHome')}
style={{ backgroundImage: 'url(/Cloud-Native/img/hero-bg.png)', padding: '8rem 0rem' }}
>
<div className="container">
<div className="row" style={{ alignItems: 'center' }}>
<div className="col col--6">
<h1 className="hero__title">Microsoft Azure at KubeCon India 2024</h1>
<p style={{ fontSize: '1.125rem', fontWeight:'600' }}>11-12 December 2024 | Delhi, India </p>
<p>
Thank you for joining us at the inaugural KubeCon India 2024 in Delhi and engaging with our team to learn how Azure is leading the way in Kubernetes and intelligent applications.
</p>
{/* <p className='button button--secondary button--lg' style={{ cursor: 'default' }}>Find us at Booth G1</p> */}
</div>
<div className="col col--6">
<div style={videoResponsiveStyle}>
<iframe
style={iframeStyle}
src="https://www.youtube.com/embed/d6jDYa3y_Xk?playlist=d6jDYa3y_Xk&rel=0"
title="YouTube video player"
frameBorder="0"
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
referrerPolicy="strict-origin-when-cross-origin"
allowFullScreen
/>
</div>
</div>
</div>
</div>
</header>
);
}