<header>
  <div class="title">
    <img src="/icon.png" width="50" alt="eureka.coffee logo" />
    <h1>eureka.coffee</h1>
  </div>
</header>

<p>
  A Eureka tracker for the new age.
</p>

<h3>New instance</h3>

<div class="new-buttons">
  <%= form_tag "/new?zone=anemos", method: :post do %>
    <button type="submit" class="new-button">
      <img src="/wind.png" width="50" alt="Wind" /><br/>
      Anemos
    </button>
  <% end %>

  <%= form_tag "/new?zone=pagos", method: :post do %>
    <button type="submit" class="new-button">
      <img src="/ice.png" width="50" alt="Wind" /><br/>
      Pagos
    </button>
  <% end %>

  <%= form_tag "/new?zone=pyros", method: :post do %>
    <button type="submit" class="new-button">
      <img src="/fire.png" width="50" alt="Wind" /><br/>
      Pyros
    </button>
  <% end %>

  <%= form_tag "/new?zone=hydatos", method: :post do %>
    <button type="submit" class="new-button">
      <img src="/water.png" width="50" alt="Wind" /><br/>
      Hydatos
    </button>
  <% end %>
</div>

<h3>Import from ffxiv-eureka.com</h3>

<p>
  Paste the text from the "killed NMs" button
  <img src="/the_button.png" title="this one" alt="the button" />
  in here, and we'll create an identical tracker for you.
</p>

<%= form_with url: new_from_fe_path do |f| %>
  <%= f.text_field :info, placeholder: "Paste here!" %>
  <%= f.submit "Create" %>
<% end %>

