forked from woowacourse/javascript-youtube-classroom
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
59 lines (56 loc) · 2.67 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
<!DOCTYPE html>
<html lang="ko">
<head>
<meta charset="UTF-8" />
<title>나만의 유튜브 강의실</title>
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="stylesheet" href="./src/css/index.css">
</head>
<body>
<main id="app" class="classroom-container">
<h1 class="classroom-container__title">👩🏻💻 나만의 유튜브 강의실 👨🏻💻</h1>
<nav class="nav">
<button id="search-modal-button" class="button nav__button">🔍 검색</button>
</nav>
</main>
<!-- 1 검색 버튼을 누르면 아래와 같은 검색 모달을 보여줍니다.-->
<div class="modal-container hide">
<div class="dimmer"></div>
<div class="search-modal" role="dialog" aria-labelledby="search-modal-title">
<h2 id="search-modal-title" class="search-modal__title">🔍 보고싶은 영상 찾기 🔍</h2>
<section class="search-input">
<h3 hidden>검색어 입력</h3>
<input id="search-input-keyword" type="text" placeholder="검색" class="search-input__keyword">
<button id="search-button" class="search-input__search-button button">검색</button>
</section>
<!-- 2-1 검색 결과가 있을 경우, 아래와 같은 검색 결과 목록을 보여줍니다.-->
<section class="search-result">
<h3 hidden>검색 결과</h3>
<ul class="video-list">
<!-- <li class="video-item" data-video-id="">
<img
src="https://i.ytimg.com/vi/ECfuKi5-Cfs/hq720.jpg?sqp=-oaymwEcCOgCEMoBSFXyq4qpAw4IARUAAIhCGAFwAcABBg==&rs=AOn4CLDvmIcX-TgdcH2g_Bd4AUxw6hjmvQ"
alt="video-item-thumbnail" class="video-item__thumbnail">
<h4 class="video-item__title">[Playlist] 너무 좋은데 괜찮으시겠어요?</h4>
<p class="video-item__channel-name">essential;</p>
<p class="video-item__published-date">2022년 3월 2일</p>
<button class="video-item__save-button button">⬇ 저장</button>
</li> -->
</ul>
</section>
<!-- 2-2 검색 결과가 없을 경우, `search-result--no-result` class를 붙이고 아래와 같은 no-result를 보여줍니다.-->
<!-- <section class="search-result search-result--no-result">
<h3 hidden>검색 결과</h3>
<div class="no-result">
<img src="./src/assets/images/not_found.png" alt="no result image" class="no-result__image">
<p class="no-result__description">
검색 결과가 없습니다<br />
다른 키워드로 검색해보세요
</p>
</div>
</section> -->
</div>
</div>
<script type="module" src="./src/js/index.js"></script>
</body>
</html>