client/components/mma/maintenance/Maintenance.tsx (40 lines of code) (raw):
import { css } from '@emotion/react';
import {
breakpoints,
from,
headlineBold34,
palette,
space,
textSans17,
} from '@guardian/source/foundations';
const containerStyle = css`
max-width: ${breakpoints.wide}px;
margin: 0 auto;
padding: ${space[12]}px 0;
border-left: 1px solid ${palette.neutral[86]};
border-right: 1px solid ${palette.neutral[86]};
height: 100%;
`;
const wrapperStyle = css`
margin: 0 10px;
max-width: ${breakpoints.mobileLandscape}px;
${from.tablet} {
margin: 0 20px;
}
`;
const headingStyle = css`
${headlineBold34};
margin: 0;
padding-bottom: ${space[4]}px;
border-bottom: 1px solid ${palette.neutral['86']};
`;
const grafStyle = css`
${textSans17};
margin-top: 0;
margin-bottom: ${space[4]}px;
`;
export const Maintenance = () => {
return (
<div css={containerStyle}>
<section css={wrapperStyle}>
<h1 css={headingStyle}>We'll be back soon</h1>
<p css={grafStyle}>
Sorry for the inconvenience. We are currently performing
some essential maintenance. Please try again later.
</p>
</section>
</div>
);
};