News.js
1.1 KB
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
58
59
import React from "react";
import styled from "styled-components";
import Header from "../Components/Header";
import Footer from "../Components/Footer";
const Main = styled.main`
display: flex;
flex-direction: column;
`;
const Section = styled.section`
padding-top: 8rem;
padding-bottom: 5rem;
max-width: none;
&.title-section {
background-color: black;
}
`;
const SectionBox = styled.div`
max-width: 80%;
margin: 0 auto;
&.title-section-box {
max-width: 100%;
}
`;
const DescriptionBox = styled.div`
display: flex;
flex-direction: column;
`;
const TitleBox = styled.div`
text-align: center;
font-size: 2rem;
font-weight: 600;
margin-bottom: 20px;
&.top-title-box {
color: white;
}
`;
export default () => {
return (
<>
<Header />
<Main>
<Section className="title-section">
<SectionBox className="title-section-box">
<DescriptionBox>
<TitleBox className="top-title-box">What's New?</TitleBox>
</DescriptionBox>
</SectionBox>
</Section>
</Main>
<Footer />
</>
);
};