ecoffee/app/views/page/index.html.erb

34 lines
929 B
Text

<header>
<img src="/icon.png" width="50" alt="eureka.coffee logo" />
<h1>eureka.coffee</h1>
</header>
<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>