2024-04-18 07:56:51 -04:00
|
|
|
<% content_for :sidebar do %>
|
|
|
|
<%= render "settings/nav" %>
|
|
|
|
<% end %>
|
2024-08-27 17:10:31 -04:00
|
|
|
|
2024-09-09 16:54:56 -04:00
|
|
|
<div class="space-y-4 flex flex-col h-full">
|
2024-06-14 22:40:50 +02:00
|
|
|
<h1 class="text-gray-900 text-xl font-medium mb-4"><%= t(".title") %></h1>
|
2024-09-09 16:54:56 -04:00
|
|
|
<div class="bg-white shadow-xs border border-alpha-black-25 rounded-xl p-4 flex-grow overflow-y-auto">
|
|
|
|
<div class="flex justify-between gap-4 mb-12 last:mb-0">
|
|
|
|
<div class="w-1/3">
|
|
|
|
<div class="px-3 flex items-center gap-3">
|
|
|
|
<div class="text-white shrink-0 w-9 h-9">
|
|
|
|
<%= image_tag @release_notes[:avatar], class: "rounded-full w-full h-full object-cover" %>
|
|
|
|
</div>
|
|
|
|
<div>
|
2024-10-10 21:00:35 +01:00
|
|
|
<a class="text-gray-900 font-medium text-sm" href="https://github.com/<%= @release_notes[:username] %>"><%= "@#{@release_notes[:username]}" %></a>
|
2024-09-09 16:54:56 -04:00
|
|
|
<div class="text-gray-500 text-sm"><%= @release_notes[:published_at].strftime("%B %d, %Y") %></div>
|
2024-06-14 22:40:50 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-09-09 16:54:56 -04:00
|
|
|
<div class="w-2/3 text-gray-500 text-sm prose prose--github-release-notes">
|
|
|
|
<h2 class="mb-5 text-xl text-gray-900"><%= @release_notes[:name] %></h2>
|
|
|
|
<%= @release_notes[:body].html_safe %>
|
|
|
|
</div>
|
|
|
|
</div>
|
2024-04-18 07:56:51 -04:00
|
|
|
</div>
|
2024-08-27 17:10:31 -04:00
|
|
|
|
2024-09-09 16:54:56 -04:00
|
|
|
<div class="mt-auto">
|
|
|
|
<%= settings_nav_footer %>
|
|
|
|
</div>
|
2024-04-18 07:56:51 -04:00
|
|
|
</div>
|