feat: add map links

This commit is contained in:
insects 2025-03-12 15:09:42 +01:00
parent 76dcf080c0
commit b5b08d2935
6 changed files with 8 additions and 1 deletions

View file

@ -308,3 +308,7 @@ summary {
summary:hover {
cursor: pointer;
}
a:has(button) {
text-decoration: none;
}

View file

@ -50,6 +50,9 @@
<%= javascript_include_tag "list" %>
</div>
<%= form_with url: clone_instance_path(instance: @instance.public_id) do |f| %>
<a href="/maps/<%= @instance.zone %>_full.jpg" target="_blank">
<button>full map (new tab)</button>
</a>
<%= form_with url: clone_instance_path(instance: @instance.public_id), html: { style: "display: inline-block;" } do |f| %>
<%= f.submit "clone instance" %>
<% end %>

BIN
public/maps/anemos_full.jpg Normal file

Binary file not shown.

After

(image error) Size: 733 KiB

Binary file not shown.

After

(image error) Size: 1.3 MiB

BIN
public/maps/pagos_full.jpg Normal file

Binary file not shown.

After

(image error) Size: 1.3 MiB

BIN
public/maps/pyros_full.jpg Normal file

Binary file not shown.

After

(image error) Size: 1.3 MiB