-
-
Save danielrudn/fc106217562f824b386a28c0fc91f900 to your computer and use it in GitHub Desktop.
application layout - https://cognitiveclass.ai/blog/react-on-rails-tutorial-integrating-react-and-ruby-on-rails
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>AppGarage</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1"> | |
<%= csrf_meta_tags %> | |
<%= csp_meta_tag %> | |
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %> | |
<%= javascript_pack_tag 'application' %> | |
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %> | |
</head> | |
<body> | |
<div class="ui container"> | |
<div class="ui stackable menu"> | |
<a class="header item" href="/"> | |
<img src="/logo.png"> | |
<span style="margin-left: 8px;">AppGarage</span> | |
</a> | |
<a class="item" href="/">Home</a> | |
<a class="disabled item">Featured Apps</a> | |
<a class="disabled item">Categories</a> | |
<div class="right menu"> | |
<div class="item"> | |
<div class="ui secondary disabled button">Log In</div> | |
</div> | |
<div class="item"> | |
<div class="ui primary disabled button">Sign Up</div> | |
</div> | |
</div> | |
</div> | |
</div> | |
<div class="ui container content"> | |
<%= yield %> | |
</div> | |
</body> | |
</html> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
app/views/layouts/application.html.erb