-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmainPage.html
276 lines (244 loc) · 11.7 KB
/
mainPage.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
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8">
<title>기억저장소</title>
<link href="https://fonts.googleapis.com/css2?family=Amatic+SC:wght@400;700&family=Sacramento&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Gamja+Flower&family=Hi+Melody&display=swap" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="fonts/font-awesome-4.3.0/css/font-awesome.min.css" />
<link rel="stylesheet" type="text/css" href="fonts/vicons/vicons-font.css" />
<link rel="stylesheet" type="text/css" href="css/menu.css" />
<link rel="stylesheet" href="//cdn.jsdelivr.net/npm/[email protected]/xeicon.min.css">
<link rel="stylesheet" type="text/css" href="mainPage.css">
<style>
/*font-family: 'Amatic SC', cursive;*/
/*font-family: 'Sacramento', cursive;*/
</style>
</head>
<body>
<div class="container">
<div class="snow">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1024 655" preserveAspectRatio="xMidYMax slice">
<g fill="#FFF" fill-opacity=".15" transform="translate(55 42)">
<g id="snow-bottom-layer">
<ellipse cx="6" cy="1009.5" rx="6" ry="5.5"/>
<ellipse cx="138" cy="1110.5" rx="6" ry="5.5"/>
<ellipse cx="398" cy="1055.5" rx="6" ry="5.5"/>
<ellipse cx="719" cy="1284.5" rx="6" ry="5.5"/>
<ellipse cx="760" cy="1155.5" rx="6" ry="5.5"/>
<ellipse cx="635" cy="1459.5" rx="6" ry="5.5"/>
<ellipse cx="478" cy="1335.5" rx="6" ry="5.5"/>
<ellipse cx="322" cy="1414.5" rx="6" ry="5.5"/>
<ellipse cx="247" cy="1234.5" rx="6" ry="5.5"/>
<ellipse cx="154" cy="1425.5" rx="6" ry="5.5"/>
<ellipse cx="731" cy="773.5" rx="6" ry="5.5"/>
<ellipse cx="599" cy="874.5" rx="6" ry="5.5"/>
<ellipse cx="339" cy="819.5" rx="6" ry="5.5"/>
<ellipse cx="239" cy="1004.5" rx="6" ry="5.5"/>
<ellipse cx="113" cy="863.5" rx="6" ry="5.5"/>
<ellipse cx="102" cy="1223.5" rx="6" ry="5.5"/>
<ellipse cx="395" cy="1155.5" rx="6" ry="5.5"/>
<ellipse cx="826" cy="943.5" rx="6" ry="5.5"/>
<ellipse cx="626" cy="1054.5" rx="6" ry="5.5"/>
<ellipse cx="887" cy="1366.5" rx="6" ry="5.5"/>
<ellipse cx="6" cy="241.5" rx="6" ry="5.5"/>
<ellipse cx="138" cy="342.5" rx="6" ry="5.5"/>
<ellipse cx="398" cy="287.5" rx="6" ry="5.5"/>
<ellipse cx="719" cy="516.5" rx="6" ry="5.5"/>
<ellipse cx="760" cy="387.5" rx="6" ry="5.5"/>
<ellipse cx="635" cy="691.5" rx="6" ry="5.5"/>
<ellipse cx="478" cy="567.5" rx="6" ry="5.5"/>
<ellipse cx="322" cy="646.5" rx="6" ry="5.5"/>
<ellipse cx="247" cy="466.5" rx="6" ry="5.5"/>
<ellipse cx="154" cy="657.5" rx="6" ry="5.5"/>
<ellipse cx="731" cy="5.5" rx="6" ry="5.5"/>
<ellipse cx="599" cy="106.5" rx="6" ry="5.5"/>
<ellipse cx="339" cy="51.5" rx="6" ry="5.5"/>
<ellipse cx="239" cy="236.5" rx="6" ry="5.5"/>
<ellipse cx="113" cy="95.5" rx="6" ry="5.5"/>
<ellipse cx="102" cy="455.5" rx="6" ry="5.5"/>
<ellipse cx="395" cy="387.5" rx="6" ry="5.5"/>
<ellipse cx="826" cy="175.5" rx="6" ry="5.5"/>
<ellipse cx="626" cy="286.5" rx="6" ry="5.5"/>
<ellipse cx="887" cy="598.5" rx="6" ry="5.5"/>
</g>
</g>
<g fill="#FFF" fill-opacity=".3" transform="translate(65 63)">
<g id="snow-top-layer">
<circle cx="8" cy="776" r="8"/>
<circle cx="189" cy="925" r="8"/>
<circle cx="548" cy="844" r="8"/>
<circle cx="685" cy="1115" r="8"/>
<circle cx="858" cy="909" r="8"/>
<circle cx="874" cy="1438" r="8" transform="rotate(180 874 1438)"/>
<circle cx="657" cy="1256" r="8" transform="rotate(180 657 1256)"/>
<circle cx="443" cy="1372" r="8" transform="rotate(180 443 1372)"/>
<circle cx="339" cy="1107" r="8" transform="rotate(180 339 1107)"/>
<circle cx="24" cy="1305" r="8" transform="rotate(180 24 1305)"/>
<circle cx="8" cy="8" r="8"/>
<circle cx="189" cy="157" r="8"/>
<circle cx="548" cy="76" r="8"/>
<circle cx="685" cy="347" r="8"/>
<circle cx="858" cy="141" r="8"/>
<circle cx="874" cy="670" r="8" transform="rotate(180 874 670)"/>
<circle cx="657" cy="488" r="8" transform="rotate(180 657 488)"/>
<circle cx="443" cy="604" r="8" transform="rotate(180 443 604)"/>
<circle cx="339" cy="339" r="8" transform="rotate(180 339 339)"/>
<circle cx="24" cy="537" r="8" transform="rotate(180 24 537)"/>
</g>
</g>
</svg>
</div>
<header>
<a class="openmenu" onclick='openNav()'><img id="menu" src="img/menu.png" ></a>
<div id="title">
<h1 class="overlay">Memory box</h1>
</div>
<!-- player -->
<a onclick="playVideo()"><img id="play" src="img/play.png" ></a>
<a onclick="pauseVideo()"><img id="pause" src="img/pause.png" ></a>
</header>
<!-- profile -->
<div id="profile">
<div class="profile">
<div class="slide">
<input type="radio" name="pos" id="pos1" checked>
<input type="radio" name="pos" id="pos2">
<input type="radio" name="pos" id="pos3">
<input type="radio" name="pos" id="pos4">
<ul>
<li><img class="profilePhoto" src="img/mypt.jpg"></li>
<li><img class="profilePhoto" src="img/profile2.jpg"></li>
<li><img class="profilePhoto" src="img/mooon.jpg"></li>
<li><img class="profilePhoto" src="img/hyeon4.jpg"></li>
</ul>
<p class="bullet">
<label for="pos1">1</label>
<label for="pos2">2</label>
<label for="pos3">3</label>
<label for="pos4">4</label>
</p>
</div>
<div class="profileContnet">
<h2>임이현</h2>
<h3>스물셋</h3>
<h3>좋아하는 것:</h3>
<p>맛있는거 먹기, 산책하기, 소품샵 구경하기, 영화보기, 귀여운거(예를 들면 고양이), 이불 속에 가만히 있기</p>
<h3>취미:</h3>
<p>스티커랑 엽서 모으기</p>
<h3>장래희망:</h3>
<p>제주도 할머니</p>
</div>
</div>
</div>
<!--YT player-->
<div id="playerb">
<div id="ytplayer"></div>
</div>
<!-- button -->
<div class="content" style="z-index: 2;">
<div class="menu" style="z-index: 2;">
<div class="menu-wrapper">
<ul class="menu-items">
<li class="menu-item">
<button onClick="closeP()" class="menu-item-button">
<i class="menu-item-icon icon icon-reply"></i>
</button>
<div class="menu-item-bounce"></div>
</li>
<li class="menu-item">
<button onClick="profile()" class="menu-item-button">
<i class=" xi-user-o xi xi-flip-vertical"></i>
</button>
<div class="menu-item-bounce"></div>
</li>
<li class="menu-item">
<button onClick="openplayer()" class="menu-item-button">
<i class="menu-item-icon icon icon-box"></i>
</button>
<div class="menu-item-bounce"></div>
</li>
</ul>
<button class="menu-toggle-button">
<i class="fa fa-plus menu-toggle-icon"></i>
</button>
</div>
</div>
</div>
<nav class="navbar" id="sidenav">
<a class="closebtn" onclick='closeNav()'><img id="close" src="img/wrong.png" ></a>
<h5>menu</h5>
<hr>
<ul id="year">
<img id="arrow" src="img/up-arrow.png" href="#">
<li><a href="subPage2020.html">2020</a></li>
<li><a href="subPage2019.html">2019</a></li>
<li><a href="subPage2018.html">2018</a></li>
<li><a href="subPage2017.html">2017</a></li>
<img id="arrow" src="img/down-arrow.png">
</ul>
<ul class="collect">
<li><a href="subPage_favorite.html">favorite</a></li>
<li><a href="subPage_babyhyeon.html">baby hyeon</a></li>
</ul>
</nav>
</div>
<footer id="ftr">
<p>e hyeon lim</p>
</footer>
<script src="js/jquery.min.js"></script>
<script src="js/TweenMax.min.js"></script>
<script src="js/menu.js"></script>
</body>
<script>
// Load the IFrame Player API code asynchronously.
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/player_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
// Replace the 'ytplayer' element with an <iframe> and
// YouTube player after the API code downloads.
var player;
function onYouTubePlayerAPIReady() {
player = new YT.Player('ytplayer', {
height: '360',
width: '640',
videoId: 'ulr0muQKjk0'
});
}
function playVideo() {
player.playVideo();
}
function pauseVideo() {
player.pauseVideo();
}
</script>
<script>
function openNav() {
document.getElementById('sidenav').style.width = '352px';
document.getElementById('menu').style.width = '0px';
}
function closeNav() {
document.getElementById('sidenav').style.width = '0';
document.getElementById('menu').style.width = '25px';
}
function profile() {
document.getElementById('profile').style.width = '1180px';
document.getElementById('profile').style.height = '660px';
document.getElementById('playerb').style.width = '0';
document.getElementById('playerb').style.height = '0';
}
function closeP() {
document.getElementById('profile').style.width = '0';
document.getElementById('profile').style.height = '0';
document.getElementById('playerb').style.width = '0';
document.getElementById('playerb').style.height = '0';
}
function openplayer(){
document.getElementById('profile').style.width = '0';
document.getElementById('profile').style.height = '0';
document.getElementById('playerb').style.width = '1180px';
document.getElementById('playerb').style.height = '660px';
}
</script>
</html>