Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
Merge pull request #49 from hyunolike/feature/deploy/#34-add-temp-page
Browse files Browse the repository at this point in the history
feat: νŽ˜μ΄μ§€ μΆ”κ°€ (#34)
  • Loading branch information
hyunolike committed Nov 2, 2022
2 parents cca2f44 + 21ce27e commit 9015dd0
Show file tree
Hide file tree
Showing 5 changed files with 159 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,10 @@ public String saveMusicMarkPage(){
public String memoPage() {
return "memo/memo";
}

@PreAuthorize("isAuthenticated()")
@GetMapping("/folder")
public String folderPage() {
return "memo/folder";
}
}
6 changes: 4 additions & 2 deletions backend/src/main/resources/static/css/info-dev.css
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
html { font-size: 16px; color:#fff; text-decoration: none;}
body {margin:0; background:#1B1B1B; }
body {margin:0; }
p, a, h1, h2, h3, h4, h5, h6, ul, li, tr, td, input, select, textarea, button, figure, blockquote { transform: skew(-0.1deg);}
.sub_page {position: relative; overflow:hidden; background-color:#1B1B1B; height: 90%;display: grid;grid-template-rows: 1fr 3fr;}
.sub_page_folder {position: relative; overflow:hidden; background-color:#1B1B1B; height: 90%;display: grid;grid-template-rows: 1fr 4fr;}
.sub_page_memo {position: relative; overflow:hidden; background-color:#1B1B1B; height: 90%;display: grid;grid-template-rows: 1fr 2fr 4fr;}
.top_area {width:100%; padding:66px 30px 30px 30px; box-sizing:border-box;}
.top_area_folder {width:100%; padding:40px 30px 30px 30px; box-sizing:border-box;}
.side_header { width:100%; text-align: center; height:80px; overflow:hidden;}
.side_header a {text-decoration: none; color:#fff;}
.side_header_2 { width:100%; text-align: center; height:40px; overflow:hidden;}
Expand All @@ -22,7 +24,7 @@ p, a, h1, h2, h3, h4, h5, h6, ul, li, tr, td, input, select, textarea, button, f
.album_cover {width:70px; height:70px; border-radius:2px; box-shadow: 0px 4px 10px 3px rgba(0, 0, 0, 0.5); margin:auto; overflow:hidden;}
.album_cover > img {display: block; width:100%; height:100%; object-fit: cover;}
.bottom_area {background-color:#151515; padding:0 30px;display: grid;grid-template-rows: 1fr 6fr;}
.bottom_area_2 {background: #1b1b1b; padding:0 30px; height: calc(100% - 246px); overflow: hidden;}
.bottom_area_2 {background: #1b1b1b; padding:0 30px; height: calc(100% - 246px); overflow: scroll; height: 100%;}
.bottom_area .tab { overflow: hidden; height:70px; border-bottom:1px solid #333;}
.bottom_area .tab button { font-size:1.125em; color:#888; background-color: inherit; float: left; border: none; outline: none; cursor: pointer; padding-top: 15px; transition: 0.3s; width:50%; height:70px;}
.bottom_area .tab button:hover { font-size:1.125em; font-weight:500; color:#888;}
Expand Down
8 changes: 6 additions & 2 deletions backend/src/main/resources/templates/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
>
</button>
</div>
<div id="memo-page">
<button>
<div id="folder-page">
<button onclick="goFolder()">
<img src="../img/footer/library_books.svg" alt=""
onmouseover="this.src='../img/footer/library-books-mouseover.svg'"
onmouseout="this.src='../img/footer/library_books.svg'"
Expand Down Expand Up @@ -47,6 +47,10 @@
function goSettings(){
window.location.replace(`http://${PATH.PUBLIC_IP}/my-page`)
}

function goFolder(){
window.location.replace(`http://${PATH.PUBLIC_IP}/folder`)
}
</script>
</footer>
</html>
142 changes: 142 additions & 0 deletions backend/src/main/resources/templates/memo/folder.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
<!doctype html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
<meta charset="UTF-8">
<meta name="viewport"
content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">

<meta name="description" content="가사λ₯Ό μ‰½κ²Œ κ°„μ§ν•˜κ³  곡유, Mute μŒμ•… 감상이 μ‰¬μ›Œμ§„λ‹€! Muteλ₯Ό 톡해 μ‰½κ²Œ 가사λ₯Ό κΈ°λ‘ν•˜κ³  μŒμ•…μ„ κ°μƒν•΄λ³΄μ„Έμš” ">
<meta name="keywords" content="μŒμ•…, 가사, 곡유, μŒμ•… 감상">

<meta property="og:type" content="website">
<!-- TODO: 배포 μ‚¬μ΄νŠΈ μ£Όμ†Œλ‘œ λ³€κ²½ ν•„μš” -->
<meta property="og:url" content="https://example.com/page.html">
<meta property="og:title" content="Mute μŒμ•… 감상이 μ‰¬μ›Œμ§„λ‹€!">
<meta property="og:image" content="https://user-images.githubusercontent.com/61215550/199252319-b758849c-32b4-4f93-9885-5d8fd5d99a66.png">
<meta property="og:description" content="가사λ₯Ό μ‰½κ²Œ κ°„μ§ν•˜κ³  곡유, Mute μŒμ•… 감상이 μ‰¬μ›Œμ§„λ‹€! Muteλ₯Ό 톡해 μ‰½κ²Œ 가사λ₯Ό κΈ°λ‘ν•˜κ³  μŒμ•…μ„ κ°μƒν•΄λ³΄μ„Έμš”">
<meta property="og:site_name" content="Mute">

<!-- <meta http-equiv="Content-Security-Policy" content= "script-src 'unsafe-inline' 'sha256-mc9LH2e3kV1BBF1B3icEq0dR656rD3pdHToRTsWEQTI=';">-->
<link th:href="@{/css/main.css}" rel="stylesheet" type="text/css"/>
<link th:href="@{/css/header.css}" rel="stylesheet" type="text/css"/>
<link th:href="@{/css/footer.css}" rel="stylesheet" type="text/css"/>
<link th:href="@{/css/info-dev.css}" rel="stylesheet" type="text/css"/>
<title>Mute</title>
<script type="text/javascript" src="https://cdnjs.cloudflare.com/ajax/libs/axios/0.27.2/axios.min.js"></script>
<script type="text/javascript" src="https://code.jquery.com/jquery-3.6.1.slim.min.js" integrity="sha256-w8CvhFs7iHNVUtnSP0YKEg00p9Ih13rlL9zGqvLdePA=" crossorigin="anonymous"></script>
<!-- TODO: SWYG Script -->
<script defer src="https://cdn.swygbro.com/public/widget/swyg-widget.js"></script>
</head>
<body>
<div class="main">
<div class="sub_page_folder">
<div class="top_area_folder">
<div class="side_header_2">
<a href="#" class="top_left_ico back">
</a>
<span class="top_center"> μΆ”μ–΅ </span>
<a class="top_right_ico"></a>
</div>
<div class="sub_area">
<select >
<option value="μ΅œμ‹ μˆœ">μ΅œμ‹ μˆœ</option>
<option value="κ°€λ‚˜λ‹€ 순">κ°€λ‚˜λ‹€μˆœ</option>
</select>
</div>
</div>
<div class="bottom_area_2">
<div class="memo_box red">
<p>
멀어진 우리 거리만큼</br>
λ‚΄ μ‚Άκ³Ό 더 κ°€κΉŒμ›Œμ Έμ„œ</br>
λš«μ–΄μ ΈλΌ λ‚˜λ§Œ 보닀</br>
μ˜€λŠ˜μ€ λ§ˆμΉ¨λ‚΄ κ΄€ν†΅ν–ˆλ‚˜ 봐
</p>
<div class="song_info">
<div class="album_img">
<img src="https://musicmeta-phinf.pstatic.net/album/005/880/5880633.jpg?type=r204Fll&v=202211022301">
</div>
<div class="album_txt">
<p>λ‹€μ •νžˆ λ‚΄ 이름을 λΆ€λ₯΄λ©΄</p>
<p>κ²½μ„œμ˜ˆμ§€</p>
</div>
</div>
</div>
<div class="memo_box blue">
<p>
끝없이 별빛이 λ‚΄λ¦¬λ˜ </br>
λ°€ κΈ°λΆ„ 쒋은 λ°”λžŒμ΄ 두 λΊ¨</br>
을 슀치고 μƒˆλ²½ λ°”λ‹€ ν•œκ³³μ„ λ³΄λŠ”</br>
μ•„λ¦„λ‹€μš΄ λ„ˆμ™€ λ‚˜ 그림을 κ·Έλ €κ°”μ–΄
</p>
<div class="song_info">
<div class="album_img">
<img src="https://musicmeta-phinf.pstatic.net/album/002/791/2791715.jpg?type=r204Fll&v=202211022301">
</div>
<div class="album_txt">
<p>κ·Έλ•Œκ°€ μ’‹μ•˜μ–΄</p>
<p>μΌ€μ΄μ‹œ</p>
</div>
</div>
</div>
<div class="memo_box purple">
<p>
이젠 λ‚΄κ°€ νŽΈν•˜λ‹ˆ μž‘μ€ μ„€λ ˜μ‘°μ°¨</br>
μš•μ‹¬μ΄κ² μ§€ 항상 곁에 μžˆμ–΄μ„œ 계속 ν•¨κ»˜</br>
μžˆμ„ 쀄 μ•Œμ•˜λ‚˜ 봐 음 </br>
λ°˜λ³΅λ˜λŠ” μ‹œκ°„μ— 지쳐가 더 이상
</p>
<div class="song_info">
<div class="album_img">
<img src="https://musicmeta-phinf.pstatic.net/album/008/164/8164159.jpg?type=r204Fll&v=202211022301">
</div>
<div class="album_txt">
<p>늘..(Waiting..)</p>
<p>λ²€</p>
</div>
</div>
</div>
<div class="memo_box yellow">
<p>
우리 μ–Όλ§ˆ λ§ŒμΈκ°€μš”</br>
μ°Έ 였랜 μ‹œκ°„μ΄ ν˜λ €λ„€μš” μ™œ 자꾸</br>
λ‚΄ 맘이 μ•„ν”ˆ 건지 μ™œ 그리 μ•„νŒŒν•˜λ‚˜μš”</br>
ν˜Ήμ‹œλΌλ„ νž˜λ“  일 μžˆμ—ˆλ‚˜μš”
</p>
<div class="song_info">
<div class="album_img">
<img src="https://musicmeta-phinf.pstatic.net/album/003/406/3406157.jpg?type=r204Fll&v=202211022301">
</div>
<div class="album_txt">
<p>λŠ¦μ€ λ°€ λ„ˆμ˜ 집 μ•ž 골λͺ© κΈΈμ—μ„œ</p>
<p>노을</p>
</div>
</div>
</div>
<div class="memo_box green">
<p>
μ˜€λž˜λ˜μ—ˆμ–΄ κ·Έλ•Œ λ„ˆμ˜ μ›ƒμŒ</br>
λ„ˆμ˜ λͺ©μ†Œλ¦¬ μžŠν˜€μ§„κ±° κ°™μ•„</br>
μ‹œκ°„μ˜ μœ„λ‘œ κ·Έ 말의 의미λ₯Ό 이젠 μ•Œμ•„</br>
μ•„ν”ˆ λ‹ˆ 애기도 μ λ‹Ήνžˆ ν•  수 μžˆμ–΄
</p>
<div class="song_info">
<div class="album_img">
<img src="https://musicmeta-phinf.pstatic.net/album/001/692/1692530.jpg?type=r204Fll&v=202211022301">
</div>
<div class="album_txt">
<p>데리러 갈게</p>
<p>μŠ€νƒ λ”© 에그(Standing Egg)</p>
</div>
</div>
</div>
</div>
</div>
<footer th:replace="footer :: footer"></footer>
</div>
</body>
<script type="text/javascript" th:src="@{/js/deploy-config/deploy.js}"></script>
<script type="text/javascript" th:src="@{/js/info.js}"></script>
<script type="text/javascript" th:src="@{/js/footer.js}"></script>
</html>
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@
<!-- 검색 νžˆμŠ€ν† λ¦¬ κ°’ 전달을 μœ„ν•œ μžλ°”μŠ€ν¬λ¦½νŠΈ 인라인 μ½”λ“œ -->
<script type="text/javascript" th:src="@{/js/deploy-config/deploy.js}"></script>
<script type="text/javascript" th:src="@{/js/search-result.js}"></script>
<script type="text/javascript" th:src="@{/js/footer.js}"></script>
<script th:inline="javascript">
/*<![CDATA[*/
var userId = [[${userId}]];
Expand Down

0 comments on commit 9015dd0

Please sign in to comment.