Skip to content

Commit a9c6c6b

Browse files
committed
[BE-99] ストーリーIDを追加
1 parent 6adb74e commit a9c6c6b

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

frontend/src/Board/BoardList.css

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,18 @@
111111
align-items: center;
112112
}
113113

114+
.board-card-story-id {
115+
display: inline-block;
116+
background-color: #fff4e6;
117+
color: #ed6c02;
118+
font-size: 0.7rem;
119+
font-weight: 700;
120+
letter-spacing: 0.03em;
121+
padding: 2px 10px;
122+
border-radius: 12px;
123+
margin-bottom: 10px;
124+
}
125+
114126
.board-card-date {
115127
color: #999;
116128
font-size: 0.75rem;

frontend/src/Board/BoardList.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@ function BoardList() {
154154
className="board-card"
155155
onClick={() => navigate(`/board/${round.id}`)}
156156
>
157+
{/* ストーリーID */}
158+
<div className="board-card-story-id">ストーリー #{round.id}</div>
159+
157160
{/* ヒントのプレビュー(チャット形式で最初の数個を表示) */}
158161
<div className="board-card-hints">
159162
{round.hints.slice(0, PREVIEW_HINT_COUNT).map((hint, index) => (

0 commit comments

Comments
 (0)