gab-social/app/views/react/home.html.haml
mgabdev bffc202270 Updated routes to have root point to react
• Updated:
- routes to have root point to react
2020-08-06 00:20:28 -05:00

13 lines
692 B
Plaintext

- content_for :header_tags do
%meta{name: 'applicationServerKey', content: Rails.configuration.x.vapid_public_key}
%script#initial-state{ type: 'application/json' }!= json_escape(@initial_state_json)
= javascript_pack_tag 'application', integrity: true, crossorigin: 'anonymous'
#gabsocial{ data: { props: Oj.dump(default_props) } }
%noscript
%div{ :style => "padding: 60px; max-width: 560px;" }
= image_pack_tag 'logo.svg', alt: 'Gab Social', width: '100px'
%div{ :style => "margin-top: 20px; line-height: 2rem; font-family: system-ui, -apple-system, BlinkMacSystemFont, Roboto, sans-serif;" }
= t('errors.noscript_html', apps_path: 'https://apps.gab.com')