Skip to content

Commit

Permalink
웹 리소스 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
honux77 committed Jun 26, 2024
1 parent 053074e commit 94e9368
Show file tree
Hide file tree
Showing 19 changed files with 965 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

47 changes: 47 additions & 0 deletions src/main/resources/static/article/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="../reset.css" rel="stylesheet" />
<link href="../global.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<header class="header">
<a href="/main"><img src="../img/signiture.svg" /></a>
<ul class="header__menu">
<li class="header__menu__item">
<a class="btn btn_contained btn_size_s" href="/article">글쓰기</a>
</li>
<li class="header__menu__item">
<button id="logout-btn" class="btn btn_ghost btn_size_s">
로그아웃
</button>
</li>
</ul>
</header>
<div class="page">
<h2 class="page-title">게시글 작성</h2>
<form class="form">
<div class="textfield textfield_size_m">
<p class="title_textfield">내용</p>
<textarea
class="input_textfield"
placeholder="글의 내용을 입력하세요"
autocomplete="username"
></textarea>
</div>
<button
id="registration-btn"
class="btn btn_contained btn_size_m"
style="margin-top: 24px"
type="button"
>
작성 완료
</button>
</form>
</div>
</div>
</body>
</html>
47 changes: 47 additions & 0 deletions src/main/resources/static/comment/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link href="../reset.css" rel="stylesheet" />
<link href="../global.css" rel="stylesheet" />
</head>
<body>
<div class="container">
<header class="header">
<a href="/main"><img src="../img/signiture.svg" /></a>
<ul class="header__menu">
<li class="header__menu__item">
<a class="btn btn_contained btn_size_s" href="/article">글쓰기</a>
</li>
<li class="header__menu__item">
<button id="logout-btn" class="btn btn_ghost btn_size_s">
로그아웃
</button>
</li>
</ul>
</header>
<div class="page">
<h2 class="page-title">댓글 작성</h2>
<form class="form">
<div class="textfield textfield_size_m">
<p class="title_textfield">내용</p>
<textarea
class="input_textfield"
placeholder="글의 내용을 입력하세요"
autocomplete="username"
></textarea>
</div>
<button
id="registration-btn"
class="btn btn_contained btn_size_m"
style="margin-top: 24px"
type="button"
>
작성 완료
</button>
</form>
</div>
</div>
</body>
</html>
Binary file added src/main/resources/static/favicon.ico
Binary file not shown.
143 changes: 143 additions & 0 deletions src/main/resources/static/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
.container {
min-width: 1440px;
max-width: 100vw;
display: flex;
flex-direction: column;
align-items: center;
}

.header {
display: flex;
justify-content: space-between;
align-items: center;
width: 890px;
height: 80px;
}

.header__menu {
display: flex;
justify-content: space-between;
gap: 8px;
}

.header__menu__item {
display: flex;
justify-content: center;
align-items: center;
}

.page {
display: flex;
flex-direction: column;
}

.page-title {
font-weight: 500;
font-size: 32px;
line-height: 38.19px;
padding: 64px 0;
text-align: center;
}

.btn {
border: none;
border-radius: 8px;
text-decoration: none;
cursor: pointer;
text-align: center;
}

.btn.hidden {
display: none;
}

.btn_ghost {
font-weight: 500;
font-size: 14px;
line-height: 14px;
background: transparent;
color: #14212b;
}

.btn_contained {
font-weight: 700;
font-size: 14px;
line-height: 14px;
background: #4362d0;
color: #ffffff;
}

.btn_size_s {
padding: 8px 16px;
font-size: 14px;
line-height: 14px;
}

.btn_size_m {
padding: 16px;
font-size: 16px;
line-height: 14px;
}

.form {
display: flex;
flex-direction: column;
gap: 16px;
}

.textfield {
display: flex;
flex-direction: column;
border-radius: 8px;
border: 1px solid #d2dae0;
}

.textfield_size_s {
gap: 4px;
padding: 8px 16px;
width: 320px;
}

.textfield_size_m {
gap: 4px;
padding: 8px 16px;
width: 680px;
height: 320px;
}

.title_textfield {
height: 14px;
font-weight: 500;
font-size: 14px;
line-height: 14px;
color: #4b5966;
}

.input_textfield {
height: 100%;
font-weight: 400;
font-size: 16px;
line-height: 25.6px;
border-width: 0;
outline: none;
color: #4b5966;
resize: none;
}

.input_textfield::placeholder {
color: #879298;
}

.textfield__btn {
margin-top: 32px;
padding: 16px;
border: none;
border-radius: 8px;
text-decoration: none;
font-weight: 700;
font-size: 14px;
line-height: 14px;
background: #4362d0;
color: #ffffff;
cursor: hover;
}
3 changes: 3 additions & 0 deletions src/main/resources/static/img/bookMark.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/static/img/ci_chevron-left.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/static/img/ci_chevron-right.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/static/img/like.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/main/resources/static/img/sendLink.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/main/resources/static/img/signiture.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
14 changes: 14 additions & 0 deletions src/main/resources/static/img/signiture.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 94e9368

Please sign in to comment.