Moving to github

This commit is contained in:
2026-03-28 19:24:29 -04:00
commit 036fa7ab33
302 changed files with 17838 additions and 0 deletions

View File

@@ -0,0 +1,46 @@
<div class="max-w-md mx-auto">
<h1 class="text-3xl font-bold mb-6">Login</h1>
<%= form_with url: login_path, method: :post, class: "space-y-4" do |f| %>
<div>
<%= f.label :email, class: "block text-sm font-medium text-gray-700" %>
<%= f.email_field :email, autofocus: true, required: true, class: "mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500" %>
</div>
<div>
<%= f.label :password, class: "block text-sm font-medium text-gray-700" %>
<%= f.password_field :password, required: true, class: "mt-1 block w-full rounded-md border-gray-300 shadow-sm focus:border-indigo-500 focus:ring-indigo-500" %>
</div>
<div>
<%= f.submit "Login", class: "w-full px-4 py-2 bg-indigo-600 text-white rounded-md hover:bg-indigo-700" %>
</div>
<% end %>
<div class="mt-4 text-center space-y-2">
<%= link_to "Forgot your password?", new_password_reset_path, class: "text-indigo-600 hover:text-indigo-800" %>
<p class="text-gray-600">
Don't have an account? <%= link_to "Sign up", signup_path, class: "text-indigo-600 hover:text-indigo-800" %>
</p>
</div>
<% if Rails.env.development? %>
<div class="mt-6 p-4 bg-green-50 border-l-4 border-green-400 rounded">
<div class="flex">
<div class="flex-shrink-0">
<svg class="h-5 w-5 text-green-400" viewBox="0 0 20 20" fill="currentColor">
<path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a1 1 0 000 2v3a1 1 0 001 1h1a1 1 0 100-2v-3a1 1 0 00-1-1H9z" clip-rule="evenodd" />
</svg>
</div>
<div class="ml-3">
<p class="text-sm text-green-700">
<strong>Development Mode - Demo Account:</strong><br>
Email: <code class="bg-green-100 px-2 py-1 rounded">demo@turbovault.com</code><br>
Password: <code class="bg-green-100 px-2 py-1 rounded">password123</code><br>
<span class="text-xs mt-1 block">Includes 12 sample games with collections!</span>
</p>
</div>
</div>
</div>
<% end %>
</div>