gab-social/app/views/react/react.html.haml

17 lines
902 B
Plaintext
Raw Normal View History

2019-07-02 08:10:25 +01:00
- content_for :header_tags do
- if @current_user
= preload_link_tag asset_pack_path('features/home_timeline.js'), crossorigin: 'anonymous'
= preload_link_tag asset_pack_path('features/notifications.js'), crossorigin: 'anonymous'
2019-07-02 08:10:25 +01:00
%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'
2020-02-04 15:50:18 +00:00
#gabsocial{ data: { props: Oj.dump(default_props) } }
2019-07-02 08:10:25 +01:00
%noscript
2020-04-30 05:34:50 +01:00
%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')