Updated routes to have root point to react
• Updated: - routes to have root point to react
This commit is contained in:
12
app/views/react/home.html.haml
Normal file
12
app/views/react/home.html.haml
Normal file
@@ -0,0 +1,12 @@
|
||||
- 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')
|
||||
Reference in New Issue
Block a user