2018-08-27 14:37:06 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
2018-08-31 13:32:14 +00:00
|
|
|
<%= favicon_link_tag 'favicon.ico' %> <!-- Need a favicon to change picture in title bar -->
|
|
|
|
<title>Polyglot - Live Translation</title>
|
2018-08-27 14:37:06 +00:00
|
|
|
<%= csrf_meta_tags %>
|
|
|
|
<%= action_cable_meta_tag %>
|
|
|
|
<%= stylesheet_link_tag 'application', media: 'all' %>
|
|
|
|
<%#= stylesheet_pack_tag 'application', media: 'all' %> <!-- Uncomment if you import CSS in app/javascript/packs/application.js -->
|
2018-08-31 13:32:14 +00:00
|
|
|
<meta property="og:title" content="<%= meta_title %>" />
|
|
|
|
<meta property="og:type" content="website" />
|
|
|
|
<meta property="og:url" content="<%= request.original_url %>" />
|
|
|
|
<meta property="og:image" content="<%= meta_image %>" />
|
|
|
|
<meta property="og:description" content="<%= meta_description %>" />
|
|
|
|
<meta property="og:site_name" content="<%= meta_title %>" />
|
2018-08-27 14:37:06 +00:00
|
|
|
</head>
|
|
|
|
<body>
|
2018-08-28 19:36:56 +00:00
|
|
|
<%= render 'shared/navbar' unless params["action"] == "home" || params["action"] == "new" || params["action"] == "call" %>
|
2018-08-27 14:37:06 +00:00
|
|
|
<%= render 'shared/flashes' %>
|
|
|
|
<%= yield %>
|
|
|
|
<%= javascript_include_tag 'application' %>
|
|
|
|
<%= javascript_pack_tag 'application' %>
|
2018-08-31 10:55:03 +00:00
|
|
|
|
2018-08-27 14:37:06 +00:00
|
|
|
</body>
|
|
|
|
</html>
|