-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmypage.html
291 lines (260 loc) · 14.8 KB
/
mypage.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
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>마이 페이지</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.0/fullpage.min.css" />
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
<link rel="stylesheet" href="mypage.css">
<!-- 경일님 -->
<!-- <script>
window.onload = function(){
makeAjaxCall('stretching', '', 'beginner');
}
</script> -->
</head>
<body>
<!-- 네브바 -->
<header>
<nav class="navbar fixed-top bg-transparent menus">
<div class="container">
<a class="navbar-brand" href="./main.html">개운하다</a>
<div class="d-flex nav-box">
<div class="nav-item"><a class="nav-link" href="#ache-section">통증 개선</a></div>
<div class="nav-item"><a class="nav-link" href="#calories-section">운동 칼로리</a></div>
<div class="nav-item"><a class="nav-link" href="#recipe-section">레시피 추천</a></div>
<div class="nav-item my-icon"><a class="nav-link" href="./mypage.html">
<i class="fa-solid fa-user fa-lg" style="color: #ffffff;"></i>
</a></div>
</div>
</div>
</nav>
</header>
<div id="fullpage">
<div class="section info-area">
<div class="container">
<div class="row">
<div class="col-lg-7">
<div class="info-text-area ">
<div class="sub-title">오늘의 당신은?</div>
<div class="main-title">당신에 대해 알려주세요!</div>
<p>다양한 운동과 요리를 추천해드립니다!!</p>
<!-- <h1>통증 부위를 입력해보세요</h1>
<h4>다양한 운동과 요리를 추천해드립니다!! <br>건강한 개발생활을 도와드립니다지금 시작해보세요!!</h4> -->
</div>
<!-- <form class="name-height-weight-area">
<div>
<h4>체중을 알려주세요!</h4>
<section class="input-area">
<input type="text" id="input-tap" placeholder="체중을 입력하세요!">
<button id="add-button" class="name-add-button">입력</button>
</section>
</div>
</form> -->
<div class="self-check-area">
<div class="body-check-area">
<h4>지금 몸은 어떠신가요?</h4>
<button id="button1" onclick="makeAjaxCall('stretching', 'neck', '')">🐢거북목</button>
<button id="button3" onclick="makeAjaxCall('strength', 'neck', '')">🤦목디스크</button>
<button id="button3" onclick="makeAjaxCall('strength', 'lower_back', '')">🧎♂️허리디스크</button>
<button id="button4" onclick="makeAjaxCall('strength', 'traps', '')">🙆♀️라운드숄더</button>
</div>
<div class="like-exercise-check-area">
<h4>좋아하는 운동은?</h4>
<button id="button7">swim</button>
<button id="button8">yoga</button>
<button id="button9">tennis</button>
<button id="button10">hiking</button>
</div>
<div class="like-food-check-area">
<h4>오늘의 요리는?</h4>
<button>🍅tomato</button>
<button>🥗pasta</button>
<button>🍲soup</button>
<button>🍜noodle</button>
</div>
</div>
</div>
<div class="col-lg-5">
<div class="plan-style">
<div class="main-title">오늘 하루 기록하기!</div>
<div class="plan-input-area">
SPORT & WATER
<section class="input-area">
<input type="text" id="plan-sport-input" placeholder="어떤 운동을 하셨나요?">
<input type="number" id="plan-water-input" placeholder="1잔부터 5잔까지!">
<button id="plan-add-button" class="name-add-button" onclick="planAdd()">입력</button>
</section>
</div>
<div class="plan-line" id="plan-area">
<!-- 기록 들어감 -->
</div>
</div>
</div>
</div>
</div>
</div>
<div class="section" data-anchor="ache-section" style="background-color:#f9fafb;">
<!-- 운동 추천 정경일 -->
<div class="section" data-anchor="ache-section">
<div class="exercise-calories-wrap">
<!-- 타이틀 -->
<div class="calories-title-area">
<div class="sub-title">맞춤형 운동 방법</div>
<div class="main-title">증상별 상세한 운동 내용을 확인해보세요!</div>
</div>
<!-- 결과박스 -->
<div class="container mt-2">
<div class="row execmain">
<div id="clickgoto" class="col-md-2 col-sm-12 howto">최적 운동방법</div>
<div id="result" class="col-md-10 col-sm-12">
<div class="exec">
<div class="linemenuview">맞춤형 운동으로 건강한 개발자 생활하세요👍</div>
</div>
</div>
</div>
</div>
<!-- 자세히 보러가기 -->
<div>
<button id="detail-go" class="detail-go"> 더 자세히 확인해보기 > </button>
</div>
</div>
</div>
</div>
<!-- 운동별 칼로리 영역-미나 -->
<div class="section" data-anchor="calories-section">
<div class="exercise-calories-wrap">
<!-- 타이틀 -->
<div class="calories-title-area">
<div class="sub-title">오늘의 도전 운동</div>
<div class="main-title">좋아하는 운동을 입력하고 칼로리를 확인해보세요!</div>
</div>
<!-- 칼로리 입력 & 결과 박스-->
<div class="row exercise-calories">
<!-- 입력 -->
<div class="col-lg-2 exercise-input-area">
<div class="animated-container">
<p id="changingText" class="changing-emoji">⚽</p>
</div>
<div>
<input type="text" id="exerciseInput" class="exercise-input-box" onclick="clearInput()"
placeholder="좋아하는 운동을 입력하세요">
<button href="" id="exerciseSearch" class="exercise-search-button">검색</button>
</div>
</div>
<!-- 결과 -->
<div id="result-area" class="col-lg-2 result-area">
<!-- <div>
<span class="counter-text">123</span> <span class="note-text">cal</span>
</div>
<div class="message-text-area">
<span class="note-title">60분</span> <span class="note-text">동안</span>
<span class="note-title">운동명상세</span> <span class="note-text">으로</span>
<span class="note-title">123</span> <span class="note-text">칼로리를 소모할 수 있어요!</span>
<div class="note-text">당신의 도전을 응원합니다🙌</div>
</div> -->
<div class="note-text">몇 칼로리가 소모될까?</div>
</div>
</div>
<!-- 오늘의 추천운동 -->
<section class="recommend-exercise">
<div class="search-guide-title">
<span class="note-title">추천운동💪</span> <span class="note-text">오늘은 이런 운동 어떠세요?</span>
</div>
<div class="search-guide-img guide-img-wrap">
<div>
<div class="img-container" id="guide-img-riding">
<img
src="https://mblogthumb-phinf.pstatic.net/MjAyMDA0MjZfMjM2/MDAxNTg3OTA5MTc5NDg3.0iohSesQV9_00xQau8CeQUIHC2RMX3sKSFAPjfm2zZkg.Poi4akhFZRbaLg1yEaf1hxUKFQqK2dMeE8xVugcesK0g.JPEG.bronis_pr/SE-b0d3bdd4-5a34-48c5-a049-9e7b0a891cd6.jpg?type=w800">
</div>
<p>Riding</p>
</div>
<div>
<div class="img-container">
<img
src="https://mblogthumb-phinf.pstatic.net/MjAyMjA5MjhfMjQz/MDAxNjY0MzYyMTk2ODQ5.0BxLWngd_2lyPCr_PtsJ_2ExTc0c0vRmFo2-V6Jd0asg.pblDogCIG8IHN_qunBEE17VpAHBXKv_CpyzhqXn01gIg.JPEG.mindoongmj/1664362196978.jpg?type=w800">
</div>
<p>Climbing</p>
</div>
<div>
<div class="img-container">
<img
src="https://www.health.com/thmb/Yv4HuoQyNbHNNxgtOTm63zqxurQ=/1500x0/filters:no_upscale():max_bytes(150000):strip_icc()/Health-Swimming-080c78802f384a4687df5a3b13d5611e-3719a8e40a3c4c43a63a4d795e47c505.jpg">
</div>
<p>Swim</p>
</div>
</div>
</section>
</div>
</div>
<!-- 레시피 추천-이수 -->
<div class="section" data-anchor="recipe-section">
<div class="container recipe-area" id="recipe-canarea">
<div class="row recipe-title-area">
<div class="sub-title">오늘의 식사 추천</div>
<div class="main-title">좋아하는 요리를 입력하고 레시피를 확인해보세요!</div>
</div>
<div class="row cotent-center">
<div class="col-md-5 recipe">
<div>
<p class="emoji">🍅🥑🥩🥚</p>
<div class="recipe-research">
<input type="text" id="recipe-search-input" placeholder="오늘의 요리를 입력해 주세요" onkeyup="searchEnter()">
<button onclick="getSearchRecipe()">검색</button>
</div>
</div>
<div class="recipecard-area">
<div class="recipe-scroll" id="view-recipecard">
</div>
</div>
</div>
<div class="col-md-6 recipetext-area" id="click-recipe-area">
<div class="recipe-alltext">
<div class="recipe-alltext-img"><img
src="https://cdn.huffingtonpost.kr/news/photo/202110/114008_218464.jpeg"
width="340"></div>
<h5>계란 후라이 어때?</h5>
</div>
</div>
</div>
</div>
</div>
<!-- 푸터 -->
<div class="section fp-auto-height footer-wrap">
<div class="container footer">
<div class="left">
<h2 class="footer-text">개운하다</h2>
<p class="footer-sub-text">Copyright ⓒ 코딩 알려주는 누나</p>
</div>
<div class="right">
<a href="https://www.youtube.com/@user-yu8so2ck1z" aria-label="YouTube" target="_blank"
rel="noopener noreferrer">
<i class="fa-brands fa-xl fa-youtube"></i>
</a>
<a href="https://github.com/hjlim456/Js-teamProject.git" aria-label="GitHub" target="_blank"
rel="noopener noreferrer">
<i class="fa-brands fa-xl fa-github"></i>
</a>
<a href="https://www.pipc.go.kr/np/default/page.do?mCode=H010000000" aria-label="개인정보처리방침"
target="_blank" rel="noopener noreferrer">
<p class="footer-sub-text">개인정보처리방침</p>
</a>
</div>
</div>
</div>
</div>
<script src="https://cdnjs.cloudflare.com/ajax/libs/fullPage.js/3.1.0/fullpage.min.js"></script>
<script src="//code.jquery.com/jquery-3.4.1.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/@popperjs/[email protected]/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.min.js"
integrity="sha384-BBtl+eGJRgqQAUMxJ7pMwbEyER4l1g+O15P+16Ep7Q9Q+zqX6gSbd85u4mG4QzX+"
crossorigin="anonymous"></script>
<script src="https://kit.fontawesome.com/a86c609f7e.js" crossorigin="anonymous"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.24.0/moment.min.js"></script>
<script src="mypage.js"></script>
</body>
</html>