-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
80 lines (76 loc) · 3.05 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
<!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="../static/css/landing/landing.css">
<link rel="stylesheet" href="../static/css/nav_logout.css">
<link rel="stylesheet" href="/static/css/maincs.css">
<script src="https://developers.kakao.com/sdk/js/kakao.js"></script>
<script src="https://code.jquery.com/jquery-1.12.4.min.js"></script>
</head>
<body>
<nav class="navBar">
<div class="navWrap">
<div class="navFirst">
<a class="mainLogo" href="list.html"><img src="../static/img/Logo.png" alt="로고 아이콘"></a>
</div>
<div class="navSecond">
<ul class="navList">
<li><a href="/dictionary/list.html">사전</a></li>
<li><a href="../board/list.html">게시판</a></li>
</ul>
</div>
<div id="logout" class="userInfo">
<div class="navicon">
<ul class="naviconList">
<li>
<a href="../alert.html"><img src="../static/img/icon/bell-solid 1.png" alt="종 아이콘"></a>
</li>
<li>
<a href="../vocabulary_list.html"><img src="../static/img/icon/book-bookmark-solid 1.png" alt="북마크 아이콘"></a>
</li>
</ul>
</div>
<div class="profileNavDiv">
<img id="navProfile" class="userProfile" src="static/img/mypage.png" alt="유저프로필 사진">
<ul class="btnWrap">
<li class="profileBrowserBtn">
<a href="../myPage.html">마이페이지</a>
</li>
<li class="profileBrowserBtn" onclick="onclickLogOut()">
<p>로그아웃</p>
</li>
</ul>
</div>
</div>
<div id="login" class="userInfo" style="display: none;">
<div class="loginBtn" onclick="onclickLogin()" >
<div class="loginContent">
<img class="loginBtnImg"src="../static/img/kakao.png" alt="카카오톡 로고">
<p class="loginBtnTxt">카카오톡으로 시작하기</p>
</div>
</div>
</div>
</div>
</nav>
<div id="floating_button_wrap">
<div class="floating_button" onclick="onclickLogin()">
<p class="floating_button_name"> 카카오톡 로그인 하고 나의 세대 단어 등록하기</p>
</div>
</div>
<div class="container">
<img class=container src="../static/img/landing.png" alt="">
</div>
<script src="/static/js/navList_check.js"></script>
<script src="/static/js/login.js"></script>
<script src="/static/js/logout.js"></script>
<script>
if(localStorage.getItem("refresh") !== null){
console.log("이동")
window.location.href = '/dictionary/list.html';
}
</script>
</body>
</html>