1
0
mirror of https://github.com/danbee/my-images synced 2025-03-04 08:49:05 +00:00
my-images/app/views/layouts/application.html.erb
Dan Barber 6936911880
Looks of things to make it pretty
* Convert SASS to SCSS
* Dark mode! (no light mode anymore though)
* Pretty GitHub login button
* Media queries to keep thumbnail sizes consistent by changing the
number of grid columns
2018-08-08 10:13:23 -04:00

29 lines
656 B
Plaintext

<!DOCTYPE html>
<html>
<head>
<title>My Images</title>
<%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
<%= javascript_include_tag "application", "data-turbolinks-track" => true %>
<%= csrf_meta_tags %>
</head>
<body>
<header>
<div class="container">
<% if @current_user %>
Signed in as: <%= @current_user.name %> | <%= link_to 'Sign out', session_path, method: :delete %>
<% else %>
<%= link_to 'Sign in with GitHub', '/auth/github' %>
<% end %>
</div>
</header>
<main>
<div class="container">
<%= yield %>
</div>
</main>
</body>
</html>