mirror of
https://github.com/jcwimer/wrestlingApp
synced 2026-03-25 01:14:43 +00:00
New home page
This commit is contained in:
9
app/views/static_pages/home.html.erb
Normal file
9
app/views/static_pages/home.html.erb
Normal file
@@ -0,0 +1,9 @@
|
||||
<div class="center hero-unit">
|
||||
<h1>Welcome to WrestlingDev</h1>
|
||||
<br>
|
||||
<p>This website was created to help wrestling coaches run their tournaments. It is 2015, why are we still running bout sheets to tables and why are we still using resources to push cards on a bout board? This website was created as a free way for coaches to run a tournament smoothly with as few workers as possible.</p>
|
||||
<br>
|
||||
<br>
|
||||
<%= link_to "Browse Tournaments", '/static_pages/tournaments', class: "btn btn-large btn-primary" %>
|
||||
<p></p>
|
||||
</div>
|
||||
@@ -21,7 +21,8 @@ Wrestling::Application.routes.draw do
|
||||
# See how all your routes lay out with "rake routes".
|
||||
|
||||
# You can have the root of your site routed with "root"
|
||||
root 'static_pages#index'
|
||||
root 'static_pages#home'
|
||||
get 'static_pages/tournaments'
|
||||
get 'static_pages/brackets'
|
||||
get 'static_pages/all_brackets'
|
||||
get 'static_pages/weights'
|
||||
|
||||
Reference in New Issue
Block a user