<link rel"stylesheet" type="text/css" href="application.css">


<body>

<div class="box fade-in one">

<h1 style="margin-left:100px;margin-top:300px;font-family:Droid Sans">Election 2016</h1>

<h3 style="color:#0080ff;margin-left:100px">
<%= link_to "MIS 21 - B DataBAES", "/about" %>
</h3>

<h4 style="color:#0080ff;margin-left:100px">
	<% if user_signed_in? %>
	  	Hello <%= current_user.email %>! <br>
	  	<h4 style="margin-left:100px"><%= link_to "Profile", "/profiles"%></h4>

	  	<h4 style="margin-left:100px"><%= link_to "Candidates", candidates_path %></h4>

		<h4 style="margin-left:100px"><%= link_to "Positions", positions_path %></h4>

		<h4 style="margin-left:100px"><%= link_to('Log Out', destroy_user_session_path, :method => :delete) %> </h4>
	<% else %>
		<h5 style="color:#0080ff;margin-left:100px">
			You're not signed in.
			<%= link_to "Login", new_user_session_path %>
			<%= link_to "Register", new_user_registration_path %>
		</h5>
	<% end %>

</h4>






</div>

</body>

