Skip to content

Commit 6f1a3ee

Browse files
authored
Merge pull request #102 from kc3hack/FE-84
[FE-84] みんなのストーリーでのID表示を消した
2 parents 4f3cb73 + df73c26 commit 6f1a3ee

File tree

4 files changed

+12
-33
lines changed

4 files changed

+12
-33
lines changed

frontend/src/App.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,4 +159,4 @@
159159
.btn-story:hover {
160160
background-color: rgba(245, 124, 0, 0.05) !important;
161161
border: 1.5px solid #e65100 !important;
162-
}
162+
}

frontend/src/App.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ function App() {
88

99
return (
1010
<div className="app-background">
11-
1211
{/* ▼ オーロラ背景用の色の塊(これをCSSで強烈にぼかします) ▼ */}
1312
<div className="aurora-blob aurora-1"></div>
1413
<div className="aurora-blob aurora-2"></div>
@@ -45,4 +44,4 @@ function App() {
4544
);
4645
}
4746

48-
export default App;
47+
export default App;

frontend/src/Board/BoardList.css

Lines changed: 8 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -72,28 +72,6 @@
7272
transform: translateY(0);
7373
}
7474

75-
/* --- カードヘッダー(ラウンド番号 + 日付) --- */
76-
.board-card-header {
77-
display: flex;
78-
justify-content: space-between;
79-
align-items: center;
80-
margin-bottom: 12px;
81-
}
82-
83-
.board-card-round-number {
84-
background: linear-gradient(135deg, #ff9800, #ed6c02);
85-
color: white;
86-
font-weight: 700;
87-
font-size: 0.8rem;
88-
padding: 4px 12px;
89-
border-radius: 20px;
90-
}
91-
92-
.board-card-date {
93-
color: #999;
94-
font-size: 0.8rem;
95-
}
96-
9775
/* --- ヒントのプレビュー(チャット形式) --- */
9876
.board-card-hints {
9977
margin-bottom: 12px;
@@ -128,7 +106,14 @@
128106

129107
/* --- カードフッター --- */
130108
.board-card-footer {
131-
text-align: right;
109+
display: flex;
110+
justify-content: space-between;
111+
align-items: center;
112+
}
113+
114+
.board-card-date {
115+
color: #999;
116+
font-size: 0.75rem;
132117
}
133118

134119
.board-card-read-more {

frontend/src/Board/BoardList.tsx

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,6 @@ function BoardList() {
120120
className="board-card"
121121
onClick={() => navigate(`/board/${round.id}`)}
122122
>
123-
{/* カード上部:ラウンド番号と日付 */}
124-
<div className="board-card-header">
125-
<span className="board-card-round-number">#{round.id}</span>
126-
<span className="board-card-date">{formatDate(round.updated_at)}</span>
127-
</div>
128-
129123
{/* ヒントのプレビュー(チャット形式で最初の数個を表示) */}
130124
<div className="board-card-hints">
131125
{round.hints.slice(0, PREVIEW_HINT_COUNT).map((hint, index) => (
@@ -138,8 +132,9 @@ function BoardList() {
138132
))}
139133
</div>
140134

141-
{/* 「続きを読む」のラベル */}
135+
{/* フッター:日付と「続きを読む」 */}
142136
<div className="board-card-footer">
137+
<span className="board-card-date">{formatDate(round.updated_at)}</span>
143138
<span className="board-card-read-more">続きを読む →</span>
144139
</div>
145140
</button>

0 commit comments

Comments
 (0)