-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
executable file
·204 lines (181 loc) · 6.95 KB
/
index.html
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
<!DOCTYPE html>
<html lang="ko" xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- meta information -->
<meta charset="utf-8" />
<meta name="description" content="학술정보웹사이트구축론 팀 프로젝트">
<meta name="keyword" content="전시정보 웹사이트">
<!-- title -->
<title>전시정보 웹사이트</title>
<!-- external stylesheet for fontawesome icon -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css">
<!-- main stylesheet -->
<link rel="stylesheet" href="src/css/layout.css">
<!-- external additional script -->
<script src="https://cdn.jsdelivr.net/npm/vue/dist/vue.js"></script>
<script src="https://code.jquery.com/jquery-3.4.1.min.js" integrity="sha256-CSXorXvZcTkaix6Yvo6HppcZGetbYMGWSFlBw8HfCJo=" crossorigin="anonymous"></script>
</head>
<body>
<!-- main content -->
<div id="con">
<!-- header -->
<div id="header">
<a href="index.html"><img src="src/asset/logo/logo.PNG" width="450px" height="190px"></a>
</div>
<!-- main gif video -->
<div class="gif1">
<img src="src/asset/video/gif1.gif" width="100%" height="500px">
</div>
<!-- navigation -->
<div id="nav">
<ul>
<li v-for="location in location_list"><button :onclick="location.link">{{ location.name }}</button></li>
</ul>
</div>
<!-- content wrapper -->
<div id="wrap">
<!-- content -->
<div id="content">
<h2>요일 별 전시정보</h2>
<!-- calendar handler -->
<table class="tb1">
<tr class="day">
<td><button class="Prev" onclick="goPrevWeek();">‹</button></td>
<td>
<div id="weekval">
2019.05.19~2019.05.25
</div>
</td>
<td> <button class="Next" onclick="goNextWeek();">›</button></td>
</tr>
</table>
<!-- calendar view -->
<table class="tb2">
<tr class="day">
<td>월</td>
<td>화</td>
<td>수</td>
<td>목</td>
<td>금</td>
<td>토</td>
<td>일</td>
</tr>
<tr class="cal">
<td v-for="day in week">
<p v-for="content in day"><a @click="showDetail(content)">『{{ content.name }}』</a></p>
</td>
</tr>
</table>
<!-- recommend view -->
<div class="recommend" v-if="!contentDetail">
<h2>추천 전시 정보</h2>
<div class="post" v-for="(item,i) in recommend">
<a @click="showDetail(item)">
<img :src="item.img" width="230px" height="300px">
<div class="semi-detail">
<h3>{{ item.name }}</h3>
<p>{{ item.contents.host}}</p>
<p>{{ item.contents.date}}</p>
</div>
</a>
</div>
</div>
<!-- content detail view -->
<div class="post-detail" v-if="contentDetail">
<div class="post-img">
<h2>{{ detail.name }}</h2>
<img :src="detail.img" width="350px" height="500px"><br>
</div>
<div class="post-content">
<p>{{ detail.contents.fullname }}</p>
<p>{{ detail.contents.date }}</p>
<p>{{ detail.contents.author }}</p>
<p>{{ detail.contents.numOfWorks }}</p>
<p>{{ detail.contents.price }}</p>
<p>{{ detail.contents.host }}</p>
<p>{{ detail.contents.content }}</p>
<br>
<form>
<!-- modal function activation -->
<input type="button" value="예약하기" onclick="openModal()">
</form>
</div>
</div>
</div>
<!-- side banner -->
<div id="banner">
<!-- newsletter view -->
<div class="newsletter">
<p class="email"><i class="far fa-envelope"></i> 뉴스레터</p>
<form>
<input type="text" placeholder="이메일을 입력해주세요.">
<input type="submit" value="구독하기">
</form>
</div>
<hr>
<!-- sns link view -->
<div class="sns">
<a href="https://www.facebook.com/mmcakorea/" target="_blank"><i class="fab fa-facebook-square"></i></a>
<a href="https://www.twitter.com/mmcakorea" target="_blank"><i class="fab fa-twitter-square"></i></a>
<a href="https://www.instagram.com/mmcakorea/" target="_blank"><i class="fab fa-instagram"></i></a>
</div>
<hr>
<!-- video player view -->
<div class="player">
<video src="src/asset/video/video.mp4" width="330px" height="220px" controls></video>
</div>
<hr>
<!-- map view -->
<div class="mapcover">
<p class="map"><i class="fas fa-map-marker-alt"></i> 국립현대미술관 오시는 길</p>
<iframe
src="https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d2639.753261884332!2d126.97863686504479!3d37.57952725042923!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x357ca2c14dacd53d%3A0x205c23120e574816!2z6rWt66a97ZiE64yA66-47Iig6rSAIOyEnOyauOq0gA!5e0!3m2!1sko!2skr!4v1557898908841!5m2!1sko!2skr"
id="iframe_map" width="330" height="220" frameborder="0" style="border:0" allowfullscreen></iframe>
</div>
</div>
</div>
<hr>
<!-- footer -->
<div id="footer">
<img src="src/asset/logo/logo2.PNG" width="100px" height="100px">
<p>대표자명 윤범모 사업자등록번호 138-83-00313</p>
<p>대표전화 | (과천) 02-2188-6000, (서울) 02-3701-9500, (덕수궁) 02-2022-0600, (청주) 043-261-1400</p>
<address>Copyright ⓒ 2019 WEBER</address>
</div>
</div>
<!-- reservation modal -->
<div id="modal">
<h3>예약하기</h3>
<form>
<fieldset>
<legend>예약자 정보</legend>
<label>예약ID: <input type="text"></label><br>
<label>예약PW: <input type="password"></label><br>
<label>나이:
<select>
<optgroup label="예약자 나이대">
<option value="10_">10대</option>
<option value="20_">20대</option>
<option value="30_">30대</option>
<option value="40_">40대~</option>
</optgroup>
</select>
</label>
<br>
<input type="checkbox" name="" value="guide">오디오 가이드 수령<br>
증빙서류: <input type="file" name="myFile"><br>
<textarea disabled>
주의사항 작성
</textarea>
</fieldset>
<br>
<input type="reset">
<button id="confirm_button">제출</button>
<button class="js_close">닫기</button>
</form>
</div>
</body>
<!-- external script -->
<script src="src/asset/data/dataIndex.js"></script>
<script src="src/script/index.js"></script>
</html>