File size: 1,260 Bytes
1e92f2d |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 |
// @flow
import React from 'react';
import styled from 'styled-components';
import { FlexCol } from 'src/components/globals';
import { Tagline, Copy } from 'src/views/pages/style';
import ViewSegment from 'src/components/themedSection';
import { MEDIA_BREAK } from 'src/components/layout';
const Emoji = styled.div`
font-size: 3em;
text-align: center;
line-height: 1.5em;
margin-bottom: 0.25em;
`;
const Wrapper = styled(FlexCol)`
margin: 0 auto;
text-align: center;
`;
const Text = styled(Copy)`
font-size: 20px;
line-height: 1.3;
font-weight: 500;
opacity: 0.95;
margin: 0 auto;
max-width: none;
a {
text-decoration: underline;
}
@media (max-width: ${MEDIA_BREAK}px) {
font-size: 20px;
text-align: center;
}
`;
const MaintenanceDowntime = () => {
return (
<ViewSegment background="constellations">
<Wrapper>
<Emoji>🛠</Emoji>
<Tagline>Spectrum is currently undergoing maintenance</Tagline>
<Text>
We’ll be back soon, check{' '}
<a href="https://twitter.com/withspectrum">
@withspectrum on Twitter
</a>{' '}
for updates!
</Text>
</Wrapper>
</ViewSegment>
);
};
export default MaintenanceDowntime;
|