summaryrefslogtreecommitdiff
path: root/app/views/main
diff options
context:
space:
mode:
authorLuke Shumaker <shumakl@purdue.edu>2014-04-23 21:03:17 -0400
committerLuke Shumaker <shumakl@purdue.edu>2014-04-23 21:03:17 -0400
commitc93c9f837c09ba0385690fb1a228a9c506ca120c (patch)
tree19f115b0bc62fefc45f9c25ec4beeefee6429c8b /app/views/main
parent9003a9099719a771fbbb9d2e8a4bfb093f35929a (diff)
parent933199499f9adfa0347783c538a10b88ffb1b98b (diff)
Merge branch 'clean2'
Conflicts: app/assets/stylesheets/static.css.scss app/controllers/static_controller.rb
Diffstat (limited to 'app/views/main')
-rw-r--r--app/views/main/homepage.html.erb18
1 files changed, 18 insertions, 0 deletions
diff --git a/app/views/main/homepage.html.erb b/app/views/main/homepage.html.erb
new file mode 100644
index 0000000..3ca8176
--- /dev/null
+++ b/app/views/main/homepage.html.erb
@@ -0,0 +1,18 @@
+<div role="main" class="container theme-showcase">
+
+ <div class="jumbotron">
+ <h1>Welcome to Leaguer</h1>
+ <p>This is a tournment management system designed to be used for any team sport. Our peer review system ensures that the best players move on to the next round! Try creating a new tournament and having people sign up for it. </p>
+ <p id="jumbo-buttons">
+ <% if !signed_in? %>
+ <%= link_to 'Log In', new_session_path, :class => "btn btn-warning btn-lg", :role => "button" %>
+ <%= link_to 'Sign Up', new_user_path, :class => "btn btn-warning btn-lg", :role => "button" %>
+ <% else %>
+ <%= link_to 'Start a Tournament', new_tournament_path, :class => "btn btn-warning btn-lg", :role => "button" %>
+ <% end %>
+ <%= link_to 'See Ongoing Tournaments', tournaments_path, :class => "btn btn-warning btn-lg", :role => "button" %>
+
+ </p>
+ </div>
+
+ </div>