desktop.html.erb 882 B

12345678910111213141516171819202122232425
  1. <!DOCTYPE html>
  2. <!-- TODO: use session user preference theme if logged in -->
  3. <html dir="ltr" lang="en-us" data-theme="light">
  4. <head>
  5. <title><%= Setting.get('product_name') %></title>
  6. <meta charset="utf-8">
  7. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no, viewport-fit=cover">
  8. <meta name="theme-color" content="#191919">
  9. <link rel="shortcut icon" href="/favicon.ico">
  10. <link rel="apple-touch-icon" href="/apple-touch-icon.png">
  11. <%= stylesheet_link_tag '/assets/frontend/fonts.css', nonce: true %>
  12. <%= csrf_meta_tags %>
  13. <%= csp_meta_tag %>
  14. <%= action_cable_meta_tag %>
  15. <%= vite_client_tag nonce: true %>
  16. <%= vite_typescript_tag 'desktop', nonce: true %>
  17. <%= javascript_tag nonce: true do -%>
  18. window.__ = (str) => str
  19. <% end -%>
  20. </head>
  21. <body>
  22. <%= yield %>
  23. </body>
  24. </html>