blob: a96156571f36d1810e181b551e4aed910fcf7802 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<div class="space-y-8">
<h1 class="font-bold text-2xl">Welcome to the Cable Club!</h1>
<div class="grid grid-cols-2">
<div class="space-y-4">
<h2>Latest checkpoints</h2>
<ul class="list-disc">
<% @latest_checkpoints.each do |checkpoint| %>
<li>At <%= checkpoint.created_at %>
<%= checkpoint.user.name %> checked in a save for
<%= link_to checkpoint.run.title, run_path(checkpoint.run) %> (<%= checkpoint.run.game.title %>)
<% if checkpoint.save_file.attached? %>
<%= link_to "[save file]", rails_blob_path(checkpoint.save_file, disposition: "attachment") %>
<% end %>
</li>
<% end %>
</ul>
</div>
<div class="flex justify-around">
<%= image_tag "pokemon_classic_watercolor_small.png" %>
</div>
</div>
</div>
|