mirror of
https://github.com/ryankazokas/turbovault-app.git
synced 2026-04-17 00:32:53 +00:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 454f706876 | |||
| 7c29e7789f |
@@ -1,23 +1,29 @@
|
|||||||
<div class="max-w-4xl mx-auto text-center py-16">
|
<div class="max-w-4xl mx-auto text-center py-16">
|
||||||
<h1 class="text-5xl font-bold text-gray-900 mb-6">Welcome to TurboVault</h1>
|
<h1 class="text-5xl font-bold text-gray-900 mb-6">Welcome to TurboVault</h1>
|
||||||
<p class="text-xl text-gray-600 mb-8">Track and manage your video game collection with ease (Test Deployment v1.0.1)</p>
|
<p class="text-xl text-gray-600 mb-8">Track and manage your video game collection with ease.</p>
|
||||||
|
|
||||||
<div class="space-x-4">
|
<div class="space-x-4">
|
||||||
<%= link_to "Get Started", signup_path, class: "px-8 py-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 text-lg font-semibold" %>
|
<%= link_to "Get Started",
|
||||||
<%= link_to "Login", login_path, class: "px-8 py-3 bg-gray-200 text-gray-800 rounded-lg hover:bg-gray-300 text-lg font-semibold" %>
|
signup_path,
|
||||||
|
class:
|
||||||
|
"px-8 py-3 bg-indigo-600 text-white rounded-lg hover:bg-indigo-700 text-lg font-semibold" %>
|
||||||
|
<%= link_to "Login",
|
||||||
|
login_path,
|
||||||
|
class:
|
||||||
|
"px-8 py-3 bg-gray-200 text-gray-800 rounded-lg hover:bg-gray-300 text-lg font-semibold" %>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="mt-16 grid grid-cols-1 md:grid-cols-3 gap-8">
|
<div class="mt-16 grid grid-cols-1 md:grid-cols-3 gap-8">
|
||||||
<div class="bg-white p-6 rounded-lg shadow">
|
<div class="bg-white p-6 rounded-lg shadow">
|
||||||
<h3 class="text-xl font-bold mb-2">Track Your Collection</h3>
|
<h3 class="text-xl font-bold mb-2">Track Your Collection</h3>
|
||||||
<p class="text-gray-600">Manage both physical and digital games across all platforms</p>
|
<p class="text-gray-600">Manage both physical and digital games across all platforms</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bg-white p-6 rounded-lg shadow">
|
<div class="bg-white p-6 rounded-lg shadow">
|
||||||
<h3 class="text-xl font-bold mb-2">Organize with Collections</h3>
|
<h3 class="text-xl font-bold mb-2">Organize with Collections</h3>
|
||||||
<p class="text-gray-600">Create custom collections and subcollections for your games</p>
|
<p class="text-gray-600">Create custom collections and subcollections for your games</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="bg-white p-6 rounded-lg shadow">
|
<div class="bg-white p-6 rounded-lg shadow">
|
||||||
<h3 class="text-xl font-bold mb-2">View Statistics</h3>
|
<h3 class="text-xl font-bold mb-2">View Statistics</h3>
|
||||||
<p class="text-gray-600">See insights about your collection with detailed stats</p>
|
<p class="text-gray-600">See insights about your collection with detailed stats</p>
|
||||||
|
|||||||
54
db/migrate/20260413005433_seed_platforms.rb
Normal file
54
db/migrate/20260413005433_seed_platforms.rb
Normal file
@@ -0,0 +1,54 @@
|
|||||||
|
class SeedPlatforms < ActiveRecord::Migration[8.1]
|
||||||
|
def up
|
||||||
|
platforms = [
|
||||||
|
# Nintendo
|
||||||
|
{ name: "Nintendo Entertainment System", abbreviation: "NES", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Super Nintendo Entertainment System", abbreviation: "SNES", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo 64", abbreviation: "N64", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo GameCube", abbreviation: "GCN", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo Wii", abbreviation: "Wii", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo Wii U", abbreviation: "Wii U", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo Switch", abbreviation: "Switch", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Game Boy", abbreviation: "GB", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Game Boy Color", abbreviation: "GBC", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Game Boy Advance", abbreviation: "GBA", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo DS", abbreviation: "NDS", manufacturer: "Nintendo" },
|
||||||
|
{ name: "Nintendo 3DS", abbreviation: "3DS", manufacturer: "Nintendo" },
|
||||||
|
|
||||||
|
# Sony
|
||||||
|
{ name: "PlayStation", abbreviation: "PS1", manufacturer: "Sony" },
|
||||||
|
{ name: "PlayStation 2", abbreviation: "PS2", manufacturer: "Sony" },
|
||||||
|
{ name: "PlayStation 3", abbreviation: "PS3", manufacturer: "Sony" },
|
||||||
|
{ name: "PlayStation 4", abbreviation: "PS4", manufacturer: "Sony" },
|
||||||
|
{ name: "PlayStation 5", abbreviation: "PS5", manufacturer: "Sony" },
|
||||||
|
{ name: "PlayStation Portable", abbreviation: "PSP", manufacturer: "Sony" },
|
||||||
|
{ name: "PlayStation Vita", abbreviation: "Vita", manufacturer: "Sony" },
|
||||||
|
|
||||||
|
# Microsoft
|
||||||
|
{ name: "Xbox", abbreviation: "Xbox", manufacturer: "Microsoft" },
|
||||||
|
{ name: "Xbox 360", abbreviation: "X360", manufacturer: "Microsoft" },
|
||||||
|
{ name: "Xbox One", abbreviation: "XB1", manufacturer: "Microsoft" },
|
||||||
|
{ name: "Xbox Series X/S", abbreviation: "XSX", manufacturer: "Microsoft" },
|
||||||
|
|
||||||
|
# Sega
|
||||||
|
{ name: "Sega Genesis", abbreviation: "Genesis", manufacturer: "Sega" },
|
||||||
|
{ name: "Sega Saturn", abbreviation: "Saturn", manufacturer: "Sega" },
|
||||||
|
{ name: "Sega Dreamcast", abbreviation: "DC", manufacturer: "Sega" },
|
||||||
|
{ name: "Sega Game Gear", abbreviation: "GG", manufacturer: "Sega" },
|
||||||
|
|
||||||
|
# PC
|
||||||
|
{ name: "PC", abbreviation: "PC", manufacturer: nil },
|
||||||
|
|
||||||
|
# Other
|
||||||
|
{ name: "Atari 2600", abbreviation: "2600", manufacturer: "Atari" }
|
||||||
|
]
|
||||||
|
|
||||||
|
platforms.each do |platform|
|
||||||
|
Platform.create!(platform)
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
def down
|
||||||
|
Platform.delete_all
|
||||||
|
end
|
||||||
|
end
|
||||||
Reference in New Issue
Block a user