From 61a5955378ca862c256301893415b342bdfab31b Mon Sep 17 00:00:00 2001 From: "sungjin.choi" Date: Wed, 12 Aug 2026 10:56:29 +0900 Subject: [PATCH] fix : main banner modify --- src/style.css | 14 ++++++++++++++ src/views/Main.vue | 41 +++++++++++++++++++++++++++++++++++++---- 2 files changed, 51 insertions(+), 4 deletions(-) diff --git a/src/style.css b/src/style.css index 0eaf724..caac7ce 100644 --- a/src/style.css +++ b/src/style.css @@ -26,6 +26,7 @@ body, html { margin: 0; padding: 0; width: 100%; height: 100%; background-color: .rail-item, .board-login-btn, .board-load-more, +.mode-toggle-btn, .post-detail-close, .terminal, .terminal span { @@ -260,6 +261,19 @@ iframe { width: 100%; height: 180px; border-radius: 4px; } .contact-form { line-height: 2; color: var(--tui-dim);} /* --- 게시판 (BOARD) --- */ +.board-page-head { + display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; + border-bottom: 1px solid var(--tui-border); padding-bottom: 10px; margin-bottom: 20px; +} +.board-page-head .page-title { border-bottom: none; padding-bottom: 0; margin-bottom: 0; } +.board-mode-toggle { display: flex; border: 1px solid var(--tui-border); } +.mode-toggle-btn { + background: none; border: none; color: var(--tui-dim); font-size: 12px; + padding: 6px 14px; cursor: pointer; +} +.mode-toggle-btn.active { color: #000; background: var(--tui-color); font-weight: bold; } +.mode-toggle-btn:not(.active):hover { color: var(--tui-color); } + .board-layout { display: grid; grid-template-columns: 168px 1fr; gap: 18px; align-items: start; } .board-rail { display: flex; flex-direction: column; gap: 6px; } .rail-item { diff --git a/src/views/Main.vue b/src/views/Main.vue index 259992c..5f79c0e 100644 --- a/src/views/Main.vue +++ b/src/views/Main.vue @@ -112,7 +112,25 @@
-

> EXECUTING COMMUNITY_FEED.EXE

+
+

> EXECUTING COMMUNITY_FEED.EXE

+
+ + +
+
@@ -141,7 +159,9 @@
SYNCING BOARD DATA...
FAILED TO LOAD BOARD DATA.
-
NO POSTS FOUND.
+
+ {{ boardViewMode === 'viewed' ? '아직 읽은 게시물이 없습니다.' : 'NO POSTS FOUND.' }} +