Constants
3 months ago
Router
3 months ago
Theme
4 months ago
components
3 months ago
context
1 year ago
images
3 months ago
reducers
1 year ago
screens
2 weeks ago
skeleton
4 months ago
utils
5 months ago
App.js
4 months ago
header-standalone.js
3 months ago
index.js
3 months ago
index.js
21 lines
| 1 | import ReactDOM from 'react-dom/client'; |
| 2 | import App from './App'; |
| 3 | import Analytics from './screens/Analytics/Analytics'; |
| 4 | |
| 5 | (function () { |
| 6 | const container = document.getElementById('everest-forms-dashboard'); |
| 7 | |
| 8 | if (!container) return; |
| 9 | |
| 10 | const root = ReactDOM.createRoot(container); |
| 11 | if (root) { |
| 12 | root.render(<App />); |
| 13 | } |
| 14 | })(); |
| 15 | |
| 16 | // Mount on the dedicated evf-analytics page (free version — shows upgrade prompt). |
| 17 | const analyticsRoot = document.getElementById('evf-analytics-root'); |
| 18 | if (analyticsRoot) { |
| 19 | ReactDOM.createRoot(analyticsRoot).render(<Analytics />); |
| 20 | } |
| 21 |