本番デプロイ設定: SSL, Kamal, API環境変数化, テスト修正

This commit is contained in:
2026-02-21 23:45:12 +09:00
parent e90ea88758
commit 9626db3dcf
21 changed files with 226 additions and 78 deletions

View File

@@ -3,8 +3,8 @@
<% unless is_me %>
<div class="flex-shrink-0 mr-3">
<!-- アバター代わりの国名バッジ -->
<span class="inline-flex items-center justify-center h-8 w-8 rounded-full text-xs font-bold border border-gray-300 bg-white text-gray-700 shadow-sm" title="<%= post.participant.power %>">
<%= post.participant.power ? post.participant.power[0..1] : '?' %>
<span class="inline-flex items-center justify-center h-8 w-8 rounded-full text-xs font-bold border border-gray-300 bg-white text-gray-700 shadow-sm" title="<%= post.participant.display_name %>">
<%= post.participant.display_name[0..1] %>
</span>
</div>
<% end %>
@@ -12,7 +12,7 @@
<div class="max-w-lg <%= is_me ? 'order-1' : 'order-2' %>">
<div class="flex items-baseline space-x-2 mb-1 <%= is_me ? 'justify-end' : 'justify-start' %>">
<% unless is_me %>
<span class="text-xs font-bold text-gray-900"><%= post.participant.power %></span>
<span class="text-xs font-bold text-gray-900"><%= post.participant.display_name %></span>
<% end %>
<span class="text-xs text-gray-500"><%= l post.created_at, format: :short %></span>
<% if post.phase.present? %>