m1m02530125 Claude Sonnet 4.6 commited on
Commit
f9df1c8
·
1 Parent(s): b230687

ヘルプ:開発者情報セクションのデザインを刷新

Browse files

- グラデーションバナーヘッダー+アバターのプロフィール欄
- 開発背景を引用ブロック(dev-quote)スタイルに変更
- 連絡先を各アイコン・サブテキスト付きカードボタンに変更
- バグ報告をインラインボックス(dev-bug-box)に統合
- 技術スタックタグにアイコンを追加

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Files changed (1) hide show
  1. templates/help/index.html +148 -71
templates/help/index.html CHANGED
@@ -81,25 +81,92 @@
81
 
82
  /* 開発者カード */
83
  .dev-card {
84
- background: #1e293b; color: white; border-radius: 12px;
85
- padding: 1.25rem; margin-top: .5rem;
 
 
 
 
 
 
 
 
 
 
 
 
86
  }
87
  .dev-avatar {
88
- width: 52px; height: 52px; border-radius: 50%;
89
- background: linear-gradient(135deg, #0ea5e9, #6366f1);
90
  display: flex; align-items: center; justify-content: center;
91
- font-size: 1.5rem; flex-shrink: 0;
 
 
 
 
 
92
  }
93
- .dev-contact a {
94
- display: flex; align-items: center; gap: .5rem;
95
- color: #94a3b8; text-decoration: none; font-size: .85rem;
96
- padding: .35rem 0; transition: color .15s;
97
  }
98
- .dev-contact a:hover { color: #38bdf8; }
99
  .version-badge {
100
- display: inline-block; background: #334155; color: #94a3b8;
101
- border-radius: 20px; padding: 2px 10px; font-size: .72rem;
102
- font-family: monospace;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
  }
104
  </style>
105
  {% endblock %}
@@ -422,76 +489,86 @@
422
  </div>
423
  <div class="dev-card">
424
 
425
- <!-- 開発者プロフィール -->
426
- <div class="d-flex align-items-center gap-3 mb-3">
427
- <div class="dev-avatar">👨‍💻</div>
428
- <div>
429
- <div style="font-size:1.05rem;font-weight:700;color:#f1f5f9">島野 凌</div>
430
- <div style="font-size:.8rem;color:#94a3b8;margin-top:1px">個人開発 / SDU-Shift</div>
431
- <span class="version-badge" style="margin-top:4px;display:inline-block">v1.0 &nbsp;Flask + OR-Tools</span>
 
 
432
  </div>
433
  </div>
434
 
435
- <!-- 開発の背景 -->
436
- <div style="background:#0f172a;border-radius:10px;padding:.85rem 1rem;margin-bottom:1rem">
437
- <div style="font-size:.72rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#38bdf8;margin-bottom:.5rem">
438
- 開発の背景
 
 
 
 
 
 
439
  </div>
440
- <p style="font-size:.85rem;color:#cbd5e1;line-height:1.75;margin:0">
441
- 飲食店でのシフト作成は、毎回多くの時間と労力を必要とする作業です。
442
- <strong style="color:#f1f5f9">「シフト作成という無駄な時間を極力ゼロにしたい」</strong>という思いからこのアプリを開発しました。
443
- スタッフの希望を自動で収集・最適化し、数十秒でシフトを生成することで、
444
- 本来の業務に集中できる環境を目指しています。
445
- </p>
446
- </div>
447
 
448
- <!-- 連絡先 -->
449
- <div style="font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#64748b;margin-bottom:.5rem">
450
- 連絡先
451
- </div>
452
- <div class="dev-contact">
453
- <a href="mailto:srinrin502.728@gmail.com">
454
- <i class="bi bi-envelope-fill" style="color:#38bdf8;width:18px"></i>
455
- <span style="color:#e2e8f0">srinrin502.728@gmail.com</span>
 
 
456
  </a>
457
- <a href="https://github.com/Richiesss/shift-tool" target="_blank" rel="noopener">
458
- <i class="bi bi-github" style="color:#94a3b8;width:18px"></i>
459
- <span style="color:#e2e8f0">github.com/Richiesss/shift-tool</span>
 
 
 
 
 
460
  </a>
461
- <div style="display:flex;align-items:center;gap:.5rem;padding:.35rem 0;font-size:.85rem">
462
- <i class="bi bi-chat-fill" style="color:#06c755;width:18px"></i>
463
- <span style="color:#e2e8f0">LINE(知人の方はこちらからでも)</span>
 
 
 
 
 
464
  </div>
465
- </div>
466
 
467
- <hr style="border-color:#334155;margin:.85rem 0">
 
 
 
 
468
 
469
- <!-- バグ報告 -->
470
- <div style="font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#64748b;margin-bottom:.5rem">
471
- バグ報告・機能要望
472
- </div>
473
- <div style="font-size:.83rem;color:#94a3b8;line-height:1.7;margin-bottom:1rem">
474
- 上記メール、GitHub Issues、または島野個人のLINEにてお気軽にご連絡ください。
475
- </div>
 
 
 
 
 
 
 
 
 
 
 
476
 
477
- <!-- 技術情報 -->
478
- <div style="font-size:.68rem;font-weight:700;letter-spacing:.05em;text-transform:uppercase;color:#64748b;margin-bottom:.5rem">
479
- 技術スタック
480
  </div>
481
- <div class="d-flex flex-wrap gap-2">
482
- {% for tag, color in [
483
- ('Flask', '#38bdf8'),
484
- ('PostgreSQL (Neon)', '#4ade80'),
485
- ('OR-Tools CP-SAT', '#fb923c'),
486
- ('Bootstrap 5', '#a78bfa'),
487
- ('HuggingFace Spaces', '#fbbf24'),
488
- ] %}
489
- <span style="background:#334155;color:{{ color }};border-radius:6px;padding:3px 10px;font-size:.75rem;font-weight:600">
490
- {{ tag }}
491
- </span>
492
- {% endfor %}
493
- </div>
494
-
495
  </div>
496
  </div>
497
 
 
81
 
82
  /* 開発者カード */
83
  .dev-card {
84
+ background: #1e293b; color: white; border-radius: 16px;
85
+ overflow: hidden; margin-top: .5rem;
86
+ box-shadow: 0 4px 24px rgba(0,0,0,.18);
87
+ }
88
+ .dev-profile-header {
89
+ background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 50%, #0f172a 100%);
90
+ padding: 1.5rem 1.25rem 1.25rem;
91
+ position: relative; overflow: hidden;
92
+ }
93
+ .dev-profile-header::before {
94
+ content: '';
95
+ position: absolute; inset: 0;
96
+ background: radial-gradient(ellipse at 70% 50%, rgba(14,165,233,.15) 0%, transparent 70%);
97
+ pointer-events: none;
98
  }
99
  .dev-avatar {
100
+ width: 56px; height: 56px; border-radius: 50%;
101
+ background: linear-gradient(135deg, #0ea5e9 0%, #6366f1 100%);
102
  display: flex; align-items: center; justify-content: center;
103
+ font-size: 1.6rem; flex-shrink: 0;
104
+ box-shadow: 0 0 0 3px rgba(14,165,233,.35), 0 2px 8px rgba(0,0,0,.3);
105
+ }
106
+ .dev-name {
107
+ font-size: 1.1rem; font-weight: 800; color: #f1f5f9;
108
+ letter-spacing: .02em;
109
  }
110
+ .dev-role {
111
+ font-size: .78rem; color: #7dd3fc; margin-top: 2px;
112
+ font-weight: 500;
 
113
  }
 
114
  .version-badge {
115
+ display: inline-block; background: rgba(255,255,255,.1);
116
+ border: 1px solid rgba(255,255,255,.15);
117
+ color: #94a3b8; border-radius: 20px;
118
+ padding: 2px 10px; font-size: .7rem; font-family: monospace;
119
+ margin-top: 6px;
120
+ }
121
+ .dev-body { padding: 1.1rem 1.25rem 1.25rem; }
122
+ .dev-section-label {
123
+ font-size: .65rem; font-weight: 700; letter-spacing: .08em;
124
+ text-transform: uppercase; color: #475569; margin-bottom: .55rem;
125
+ }
126
+ .dev-quote {
127
+ position: relative; padding: .85rem 1rem .85rem 1.1rem;
128
+ background: #0f172a; border-radius: 10px;
129
+ border-left: 3px solid #0ea5e9; margin-bottom: 1.1rem;
130
+ }
131
+ .dev-quote::before {
132
+ content: '\201C';
133
+ position: absolute; top: -.1rem; left: .6rem;
134
+ font-size: 2.8rem; line-height: 1; color: #0ea5e9;
135
+ opacity: .3; font-family: Georgia, serif; pointer-events: none;
136
+ }
137
+ .dev-quote p {
138
+ font-size: .84rem; color: #cbd5e1; line-height: 1.8; margin: 0;
139
+ padding-left: .8rem;
140
+ }
141
+ .dev-contact-btn {
142
+ display: flex; align-items: center; gap: .65rem;
143
+ background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.08);
144
+ border-radius: 10px; padding: .6rem .85rem;
145
+ text-decoration: none; color: #e2e8f0; font-size: .84rem;
146
+ transition: background .15s, border-color .15s, transform .1s;
147
+ margin-bottom: .5rem;
148
+ }
149
+ .dev-contact-btn:last-child { margin-bottom: 0; }
150
+ .dev-contact-btn:hover {
151
+ background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.18);
152
+ color: white; transform: translateX(2px);
153
+ }
154
+ .dev-contact-icon {
155
+ width: 30px; height: 30px; border-radius: 8px;
156
+ display: flex; align-items: center; justify-content: center;
157
+ font-size: 1rem; flex-shrink: 0;
158
+ }
159
+ .dev-contact-sub { font-size: .72rem; color: #64748b; margin-top: 1px; }
160
+ .dev-stack-tag {
161
+ border-radius: 8px; padding: 4px 11px;
162
+ font-size: .74rem; font-weight: 700;
163
+ border: 1px solid rgba(255,255,255,.08);
164
+ display: inline-flex; align-items: center; gap: 4px;
165
+ }
166
+ .dev-bug-box {
167
+ background: rgba(14,165,233,.08); border: 1px solid rgba(14,165,233,.2);
168
+ border-radius: 10px; padding: .75rem 1rem;
169
+ font-size: .82rem; color: #7dd3fc; line-height: 1.7;
170
  }
171
  </style>
172
  {% endblock %}
 
489
  </div>
490
  <div class="dev-card">
491
 
492
+ <!-- プロフィールヘッダー -->
493
+ <div class="dev-profile-header">
494
+ <div class="d-flex align-items-center gap-3">
495
+ <div class="dev-avatar">👨‍💻</div>
496
+ <div>
497
+ <div class="dev-name">島野 凌</div>
498
+ <div class="dev-role">Developer &amp; Designer · SDU-Shift</div>
499
+ <span class="version-badge">v1.0 &nbsp;·&nbsp; Flask + OR-Tools</span>
500
+ </div>
501
  </div>
502
  </div>
503
 
504
+ <div class="dev-body">
505
+
506
+ <!-- 開発の背景 -->
507
+ <div class="dev-section-label">開発の背景</div>
508
+ <div class="dev-quote">
509
+ <p>
510
+ 飲食店でのシフト作成は、毎回多くの時間と労力を必要とする作業です。<br>
511
+ <strong style="color:#f1f5f9">「シフト作成という無駄な時間を極力ゼロにしたい」</strong>という思いからこのアプリを開発しました。<br>
512
+ スタッフの希望を自動で収集・最適化し、数十秒でシフトを生成することで、本来の業務に集中できる環境を目指しています。
513
+ </p>
514
  </div>
 
 
 
 
 
 
 
515
 
516
+ <!-- 連絡先 -->
517
+ <div class="dev-section-label">連絡先 / コンタクト</div>
518
+ <a href="mailto:srinrin502.728@gmail.com" class="dev-contact-btn">
519
+ <div class="dev-contact-icon" style="background:rgba(14,165,233,.15)">
520
+ <i class="bi bi-envelope-fill" style="color:#38bdf8"></i>
521
+ </div>
522
+ <div>
523
+ <div>srinrin502.728@gmail.com</div>
524
+ <div class="dev-contact-sub">メールでのお問い合わせ</div>
525
+ </div>
526
  </a>
527
+ <a href="https://github.com/Richiesss/shift-tool" target="_blank" rel="noopener" class="dev-contact-btn">
528
+ <div class="dev-contact-icon" style="background:rgba(255,255,255,.08)">
529
+ <i class="bi bi-github" style="color:#e2e8f0"></i>
530
+ </div>
531
+ <div>
532
+ <div>github.com/Richiesss/shift-tool</div>
533
+ <div class="dev-contact-sub">ソースコード・Issues</div>
534
+ </div>
535
  </a>
536
+ <div class="dev-contact-btn" style="cursor:default">
537
+ <div class="dev-contact-icon" style="background:rgba(6,199,85,.12)">
538
+ <i class="bi bi-chat-fill" style="color:#06c755"></i>
539
+ </div>
540
+ <div>
541
+ <div style="color:#e2e8f0">LINE</div>
542
+ <div class="dev-contact-sub">知人の方はこちらからでも</div>
543
+ </div>
544
  </div>
 
545
 
546
+ <!-- バグ報告 -->
547
+ <div class="dev-bug-box mt-3">
548
+ <i class="bi bi-bug-fill me-1" style="opacity:.7"></i>
549
+ <strong style="color:#f1f5f9">バグ報告・機能要望</strong>はメール・GitHub Issues・LINE からお気軽にどうぞ。
550
+ </div>
551
 
552
+ <hr style="border-color:#334155;margin:1rem 0 .85rem">
553
+
554
+ <!-- 技術スタック -->
555
+ <div class="dev-section-label">技術スタック</div>
556
+ <div class="d-flex flex-wrap gap-2">
557
+ {% for tag, color, icon in [
558
+ ('Flask', '#38bdf8', 'bi-server'),
559
+ ('PostgreSQL · Neon', '#4ade80', 'bi-database-fill'),
560
+ ('OR-Tools CP-SAT', '#fb923c', 'bi-cpu-fill'),
561
+ ('Bootstrap 5', '#a78bfa', 'bi-layout-text-window'),
562
+ ('HuggingFace Spaces', '#fbbf24', 'bi-cloud-fill'),
563
+ ] %}
564
+ <span class="dev-stack-tag" style="background:rgba(255,255,255,.05);color:{{ color }}">
565
+ <i class="bi {{ icon }}" style="font-size:.75rem;opacity:.8"></i>
566
+ {{ tag }}
567
+ </span>
568
+ {% endfor %}
569
+ </div>
570
 
 
 
 
571
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
572
  </div>
573
  </div>
574