Skip to content

Commit e238e8e

Browse files
committed
modify: index 모바일 대응 및 사용법 링크 추가
1 parent 4b35f49 commit e238e8e

File tree

4 files changed

+41
-7
lines changed

4 files changed

+41
-7
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
# Velog Dashboard Project
22

3-
> velog dashboard project, ***velog의 모든 게시글, 통계 데이터를 한 눈에 편하게 확인하자!!*** - https://velog-dashboard.kro.kr/
3+
> velog dashboard project, ***velog의 모든 게시글, 통계 데이터를 한 눈에 편하게 확인하자!!*** </br>
4+
> https://velog-dashboard.kro.kr/
45
56
## 1. HOW TO USE
67

nginx/pages/index.html

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,9 +89,9 @@
8989
gtag("config", "G-8G3N74JV82");
9090
</script>
9191
<!-- CUSTOM -->
92-
<link rel="stylesheet" href="./index/index.css" />
92+
<link rel="stylesheet" href="./index.css" />
9393
</head>
94-
<body>
94+
<br>
9595
<div class="login-container">
9696
<div class="login-container-logo">
9797
<img
@@ -115,9 +115,11 @@
115115
/>
116116
<button type="submit">Check In</button>
117117
</form>
118+
<a href="https://github.com/Check-Data-Out/velog-dashboard" class="login-container-footer-help">어떻게 사용하나요?! (클릭)</a>
119+
</br>
118120
<span id="login-container-footer">made by Nuung</span>
119121
</div>
120-
<script src="./global.js"></script>
121-
<script src="./index/index.js"></script>
122+
<script src="../global.js"></script>
123+
<script src="./index.js"></script>
122124
</body>
123125
</html>

nginx/pages/index/index.css

Lines changed: 30 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ body, html {
1212
.login-container {
1313
position: relative;
1414
/* 자식 요소의 절대 위치를 기준으로 함 */
15-
height: 30%;
15+
height: 36%;
1616
width: 100%;
1717
display: flex;
1818
flex-direction: column;
@@ -52,6 +52,13 @@ body, html {
5252
cursor: pointer;
5353
}
5454

55+
.login-container-footer-help {
56+
font-size: 0.8rem;
57+
color: inherit;
58+
text-decoration: none;
59+
font-weight: bolder;
60+
}
61+
5562
form {
5663
display: flex;
5764
flex-direction: column;
@@ -77,4 +84,26 @@ button {
7784

7885
button:hover {
7986
background: #666;
87+
}
88+
89+
/* ====================================================== */
90+
/* MOBILE */
91+
/* ====================================================== */
92+
93+
@media only screen and (max-width: 600px) {
94+
95+
/* 화면 너비가 600px 이하일 때 적용할 스타일을 여기에 작성합니다. */
96+
.login-container {
97+
height: 350px;
98+
}
99+
100+
}
101+
102+
@media only screen and (max-width: 350px) {
103+
104+
/* 화면 너비가 600px 이하일 때 적용할 스타일을 여기에 작성합니다. */
105+
.login-container {
106+
height: 30%;
107+
}
108+
80109
}

nginx/pages/index/index.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@
9191
<!-- CUSTOM -->
9292
<link rel="stylesheet" href="./index.css" />
9393
</head>
94-
<body>
94+
<br>
9595
<div class="login-container">
9696
<div class="login-container-logo">
9797
<img
@@ -115,6 +115,8 @@
115115
/>
116116
<button type="submit">Check In</button>
117117
</form>
118+
<a href="https://github.com/Check-Data-Out/velog-dashboard" class="login-container-footer-help">어떻게 사용하나요?! (클릭)</a>
119+
</br>
118120
<span id="login-container-footer">made by Nuung</span>
119121
</div>
120122
<script src="../global.js"></script>

0 commit comments

Comments
 (0)