mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
imported current state of the mockup into the public repo
Co-authored-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de> Signed-off-by: Philip Molares <philip.molares@udo.edu> Signed-off-by: Tilman Vatteroth <tilman.vatteroth@tu-dortmund.de>
This commit is contained in:
commit
93ce059577
161 changed files with 17419 additions and 0 deletions
31
src/index.tsx
Normal file
31
src/index.tsx
Normal file
|
@ -0,0 +1,31 @@
|
|||
import React from 'react'
|
||||
import ReactDOM from 'react-dom'
|
||||
import {BrowserRouter as Router} from 'react-router-dom'
|
||||
import * as serviceWorker from './service-worker';
|
||||
import {ApplicationStateStoreProvider} from "./redux/application-state-store-provider/application-state-store-provider";
|
||||
import {setUpI18n} from "./initializers/i18n";
|
||||
import {InitializeUserStateFromApi} from "./components/initialize/initialize-user-state-from-api";
|
||||
import {Landing} from "./components/landing/layout";
|
||||
import {setUpFontAwesome} from "./initializers/fontAwesome";
|
||||
import {InitializeConfigStateFromApi} from "./components/initialize/initalize-config-state-from-api";
|
||||
|
||||
setUpFontAwesome();
|
||||
setUpI18n().then(
|
||||
() => {
|
||||
ReactDOM.render(
|
||||
<ApplicationStateStoreProvider>
|
||||
<InitializeUserStateFromApi/>
|
||||
<InitializeConfigStateFromApi/>
|
||||
<Router>
|
||||
<Landing/>
|
||||
</Router>
|
||||
</ApplicationStateStoreProvider>
|
||||
, document.getElementById('root')
|
||||
)
|
||||
}
|
||||
);
|
||||
|
||||
// If you want your app to work offline and load faster, you can change
|
||||
// unregister() to register() below. Note this comes with some pitfalls.
|
||||
// Learn more about service workers: https://bit.ly/CRA-PWA
|
||||
serviceWorker.unregister();
|
Loading…
Add table
Add a link
Reference in a new issue