Skip to content

Commit fd4b479

Browse files
author
y-yamasaki
committed
Merge branch 'develop'
2 parents 8e51c4f + 3200e20 commit fd4b479

2 files changed

Lines changed: 107 additions & 61 deletions

File tree

assets/css/products.css

Lines changed: 96 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
1-
/* assets/css/products.css */
2-
31
/* =========================
4-
Products 一覧ページ 共通
2+
フィルタ UI
53
========================= */
64

75
.products-filters {
@@ -24,11 +22,17 @@
2422
color: var(--color-text-muted);
2523
}
2624

27-
/* 丸っこくて暗めの入力 UI(Portfolio に寄せる) */
25+
/* 丸っこくて暗めの入力 UI */
2826
.products-filter__control {
29-
border: 1px solid #475569;
30-
background: rgba(15, 23, 42, 0.9);
27+
background:
28+
radial-gradient(
29+
circle at top,
30+
rgba(148, 163, 184, 0.2),
31+
transparent 55%
32+
),
33+
rgba(15, 23, 42, 0.96);
3134
border-radius: 999px;
35+
border: 1px solid rgba(148, 163, 184, 0.4);
3236
color: var(--color-text);
3337
padding: 6px 14px;
3438
font-size: 0.9rem;
@@ -44,43 +48,45 @@
4448
.products-filter__control:focus {
4549
outline: none;
4650
border-color: var(--color-accent);
47-
box-shadow: 0 0 0 1px rgba(79, 70, 229, 0.55);
51+
box-shadow:
52+
0 0 0 1px rgba(79, 70, 229, 0.9),
53+
0 18px 40px rgba(37, 99, 235, 0.65);
4854
}
4955

50-
/* 種類固定幅、検索=広がる */
51-
.products-filter:nth-child(1) {
56+
/* 種類 = 固定幅 / 検索 = 広がる */
57+
.products-filter:first-child {
5258
min-width: 160px;
5359
}
54-
.products-filter:nth-child(2) {
60+
.products-filter:last-child {
5561
flex: 1;
5662
min-width: 220px;
5763
}
5864

5965
/* =========================
60-
Products カードレイアウト
66+
プロダクトカード
6167
========================= */
6268

6369
.product-card {
6470
display: flex;
65-
gap: 16px;
71+
gap: 18px;
6672
align-items: stretch;
6773
}
6874

6975
/* サムネイル枠 */
7076
.product-card .card__thumb {
7177
flex-shrink: 0;
72-
width: 220px;
78+
width: 260px;
7379
max-width: 40%;
7480
aspect-ratio: 16 / 9;
7581
overflow: hidden;
82+
border-radius: 18px;
7683
background:
7784
radial-gradient(
7885
circle at top,
79-
rgba(148, 163, 184, 0.8),
86+
rgba(148, 163, 184, 0.5),
8087
transparent 55%
8188
),
8289
#020617;
83-
border-radius: 16px;
8490
}
8591

8692
.product-card .card__thumb img {
@@ -100,13 +106,81 @@
100106
display: flex;
101107
align-items: center;
102108
gap: 8px;
103-
margin-bottom: 4px;
109+
margin-bottom: 6px;
110+
}
111+
112+
/* 種類ピル(Discord / Tool など) */
113+
.product-card .pill {
114+
font-size: 0.7rem;
115+
padding: 2px 10px;
116+
border-radius: 999px;
117+
background: rgba(15, 23, 42, 0.9);
118+
border: 1px solid rgba(148, 163, 184, 0.6);
119+
color: var(--color-text-muted);
120+
}
121+
122+
/* タグ(tooldiscordbot など) */
123+
.product-card .card__tags {
124+
display: flex;
125+
flex-wrap: wrap;
126+
gap: 6px;
127+
margin-top: 8px;
128+
}
129+
130+
.product-card .tag {
131+
display: inline-flex;
132+
align-items: center;
133+
padding: 2px 10px;
134+
border-radius: 999px;
135+
font-size: 0.7rem;
136+
background: rgba(15, 23, 42, 0.9);
137+
border: 1px solid rgba(148, 163, 184, 0.4);
138+
color: var(--color-text-muted);
139+
}
140+
141+
/* リンクボタン群(Repository / サーバーに追加 等) */
142+
.product-card .card__actions {
143+
display: flex;
144+
flex-wrap: wrap;
145+
gap: 8px;
146+
margin-top: 12px;
147+
}
148+
149+
.product-card .card__actions a {
150+
display: inline-flex;
151+
align-items: center;
152+
justify-content: center;
153+
padding: 6px 12px;
154+
border-radius: 999px;
155+
font-size: 0.75rem;
156+
text-decoration: none;
157+
white-space: nowrap;
158+
border: 1px solid rgba(148, 163, 184, 0.55);
159+
background: radial-gradient(
160+
circle at top,
161+
rgba(37, 99, 235, 0.22),
162+
transparent 55%
163+
);
164+
color: var(--color-accent);
165+
box-shadow:
166+
0 0 0 1px rgba(15, 23, 42, 0.9),
167+
0 18px 40px rgba(15, 23, 42, 0.75);
104168
}
105169

106-
/* タグ・ボタンは既存の .tag / .btn スタイルを利用 */
170+
.product-card .card__actions a:hover {
171+
border-color: rgba(129, 140, 248, 0.9);
172+
color: #e5e7eb;
173+
background:
174+
radial-gradient(
175+
circle at top,
176+
rgba(129, 140, 248, 0.4),
177+
transparent 55%
178+
),
179+
rgba(15, 23, 42, 0.98);
180+
}
107181

108182
/* =========================
109-
スマホ / タブレット向け
183+
レスポンシブ
110184
========================= */
111185

112186
@media (max-width: 768px) {
@@ -132,4 +206,8 @@
132206
max-width: 100%;
133207
aspect-ratio: 16 / 9;
134208
}
209+
210+
.product-card .card__actions {
211+
justify-content: flex-start;
212+
}
135213
}

assets/data/products.json

Lines changed: 11 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -1,58 +1,26 @@
11
[
22
{
33
"id": "product_0001",
4-
"title": "Sample Action Game",
5-
"type": "Game",
6-
"platform": ["Windows", "Android"],
7-
"description": "個人で開発した3Dアクションゲーム。ゲームパッド対応。",
8-
"tags": ["game", "action", "unity"],
4+
"title": "Develop Utility",
5+
"type": "Discord",
6+
"platform": ["Android", "iOS", "PC<Client, Browser>"],
7+
"description": "PanKUNがDiscordで開発コミュニケーションを扱う際に使用するボット",
8+
"tags": ["tool", "discord", "bot"],
99
"thumbnail": "assets/img/ogp.png",
1010
"storeLinks": [
1111
{
12-
"label": "Booth",
13-
"url": "https://example.com/booth/sample-game"
12+
"label": "Repository",
13+
"url": "https://github.com/BreadMotion/Bread-s-Utility-Bot"
1414
},
1515
{
16-
"label": "itch.io",
17-
"url": "https://example.com/itch/sample-game"
16+
"label": "稼働登録依頼",
17+
"url": "https://breadmotion.github.io/WebSite/contact.html"
1818
}
1919
],
2020
"downloadLinks": [
2121
{
22-
"label": "Windows版 .zip",
23-
"url": "https://example.com/downloads/sample-game-win.zip"
24-
}
25-
]
26-
},
27-
{
28-
"id": "product_0002",
29-
"title": "Unity Editor Helper Plugin",
30-
"type": "Plugin",
31-
"platform": ["Unity"],
32-
"description": "インスペクター拡張とコンテキストメニューをまとめた Unity 用エディタ拡張。",
33-
"tags": ["unity", "editor", "tool", "odin"],
34-
"thumbnail": "assets/img/ogp.png",
35-
"storeLinks": [
36-
{
37-
"label": "Asset Store",
38-
"url": "https://example.com/assetstore/editor-helper"
39-
}
40-
],
41-
"downloadLinks": []
42-
},
43-
{
44-
"id": "product_0003",
45-
"title": "Build Pipeline Tool",
46-
"type": "Tool",
47-
"platform": ["Windows"],
48-
"description": "ビルドとデプロイを自動化するためのスタンドアロンツール。",
49-
"tags": ["tool", "build", "pipeline"],
50-
"thumbnail": "assets/img/ogp.png",
51-
"storeLinks": [],
52-
"downloadLinks": [
53-
{
54-
"label": "実行ファイルダウンロード",
55-
"url": "https://example.com/downloads/build-tool.zip"
22+
"label": "サーバーに追加する",
23+
"url": "https://discord.com/oauth2/authorize?client_id=1415944915514556508"
5624
}
5725
]
5826
}

0 commit comments

Comments
 (0)