-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.jsx
58 lines (50 loc) · 1.25 KB
/
index.jsx
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
import styled from 'styled-components';
import Footer from '../@common/Footer';
import GeneralNav from '../@common/GeneralNav';
import Calendar from './Calendar';
import QuickReserve from './QuickReserve';
export default function BookingPage() {
return (
<Root>
<GeneralNav footprint1="예매" footprint2="빠른 예매" />
<Blank></Blank>
<Title>빠른 예매</Title>
<SubTitleWrapper>
<SubTitle>날짜</SubTitle>
<Month>2022 11월</Month>
</SubTitleWrapper>
<Calendar />
<QuickReserve />
<Footer />
</Root>
);
}
const Root = styled.section`
padding: 0 9rem;
display: flex;
flex-direction: column;
justify-content: center;
`;
const Title = styled.h1`
${({ theme }) => theme.fonts.headline3}
color: ${({ theme }) => theme.colors.gray1}
`;
const SubTitleWrapper = styled.div`
display: flex;
gap: 2rem;
align-items: center;
margin-top: 2.8rem;
margin-bottom: 2.2rem;
`;
const SubTitle = styled.h2`
${({ theme }) => theme.fonts.headline3}
color: ${({ theme }) => theme.colors.main_darken}
`;
const Month = styled.h3`
${({ theme }) => theme.fonts.body1}
color: ${({ theme }) => theme.colors.gray1}
`;
const Blank = styled.div`
height: 3.6rem;
width: 128rem;
`;