-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcrew-schedule.html
More file actions
111 lines (107 loc) · 4.24 KB
/
Copy pathcrew-schedule.html
File metadata and controls
111 lines (107 loc) · 4.24 KB
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
<!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="styles.css">
<link rel="stylesheet" href="crew-main.css">
<link rel="stylesheet" href="crew-schedule.css">
</head>
<body>
<header>
<div class="top-box">
</div>
<nav>
<div class="logo-container">
<a href="main-page.html"><img src="images/crews-logo.png" alt="메인 로고"></a>
</div>
<ul>
<li onclick="location.href='main-page.html'"><a href="#">내 캘린더</a></li>
<li onclick="location.href='notice-main.html'"><a href="#">공지사항</a></li>
<li onclick="location.href='crew-search.html'"><a href="#">크루 찾기</a></li>
<li onclick="location.href='mypage.html'"><a href="#">나의 활동</a></li>
</ul>
</nav>
</header>
<main>
<aside>
<div class="sidebar">
<div class="user-info">
<img src="images/level-image.png" alt="1레벨 이미지">
<p class="user-name">삼육이</p>
<div class="diamond-info">
<img src="images/diamond-image.png" alt="보석">
<p class="image-number">: <p>126</p></p>
</div>
<div class="logout-button">
<button>로그아웃</button>
</div>
<div class="crew-list">
<h2>내 크루 목록</h2>
<ul>
<li><a href="crew-main.html">코딩크루</a></li>
<li><a href="crew-main.html">크루 2</a></li>
<li><a href="crew-main.html">크루 3</a></li>
</ul>
</div>
</div>
</div>
<div class="introduce-box"></div>
</aside>
<section>
<div class="up-calender">
<li onclick="location.href='crew-main.html'">크루 메인 페이지</li>
<li class="selected" onclick="location.href='crew-schedule.html'">인증게시판</li>
<li onclick="location.href='crewon-status.html'">활동현황</li>
</div>
<br>
<hr class="upper-line"><br>
<div class="posting">
<ul class="upper-posting">
<li><p class="date">오늘 날짜 2023-10-28</p></li>
<li><button class="write-post-button" onclick="location.href='schedule-write.html'">글쓰기</button></li>
</ul>
</div>
<hr class="under-line">
<div class="post-list">
<ul>
<li><a href="schedule-detail.html">2023-10-28 인증</a></li>
<li><p>삼육이</p></li>
</ul>
<hr>
<ul>
<li><a href="#">2023-10-27 인증</a></li>
<li><p>삼육이</p></li>
</ul>
<hr>
<ul>
<li><a href="#">2023-10-26 인증</a></li>
<li><p>삼육이</p></li>
</ul>
<hr>
<ul>
<li><a href="#">2023-10-25 인증</a></li>
<li><p>삼육이</p></li>
</ul>
<hr>
<ul>
<li><a href="#">2023-10-24 인증</a></li>
<li><p>삼육이</p></li>
</ul>
</div>
</section>
</main>
<script>
document.addEventListener("DOMContentLoaded", function () {
const listItems = document.querySelectorAll(".up-calender li");
listItems.forEach((item) => {
item.addEventListener("click", function () {
listItems.forEach((li) => li.classList.remove("selected"));
item.classList.add("selected");
});
});
});
</script>
</body>
</html>