summaryrefslogtreecommitdiff
path: root/app/views/home/index.html.erb
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/home/index.html.erb')
-rw-r--r--app/views/home/index.html.erb26
1 files changed, 16 insertions, 10 deletions
diff --git a/app/views/home/index.html.erb b/app/views/home/index.html.erb
index 10be138..0d693f1 100644
--- a/app/views/home/index.html.erb
+++ b/app/views/home/index.html.erb
@@ -1,15 +1,21 @@
<div class="space-y-8">
<h1 class="font-bold text-2xl">Welcome to the Cable Club!</h1>
- <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.email %> checked in a save for
- <%= link_to checkpoint.run.title, run_path(checkpoint.run) %> (<%= checkpoint.run.game.title %>)
- <%= link_to "[save file]", rails_blob_path(checkpoint.save_file, disposition: "attachment") %></li>
- <% end %>
- </ul>
+ <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.email %> checked in a save for
+ <%= link_to checkpoint.run.title, run_path(checkpoint.run) %> (<%= checkpoint.run.game.title %>)
+ <%= link_to "[save file]", rails_blob_path(checkpoint.save_file, disposition: "attachment") %></li>
+ <% end %>
+ </ul>
+ </div>
+ <div class="flex justify-around">
+ <%= image_tag "pokemon_classic_watercolor_small.png" %>
+ </div>
</div>
+
</div>