Add Redux and reducers.

Load i18n files and add dayjs.
This commit is contained in:
Paul
2021-06-18 17:57:08 +01:00
parent 0cba2b362d
commit 27eeb3acd2
25 changed files with 1506 additions and 53 deletions

View File

@@ -3,7 +3,7 @@ import styled from 'styled-components';
import '../src/styles/index.scss'
import { render } from 'preact'
import { GlobalTheme } from '../src/context/Theme';
import Theme from '../src/context/Theme';
export const UIDemo = styled.div`
gap: 12px;
@@ -61,8 +61,9 @@ export function UI() {
}
render(<>
<GlobalTheme />
<UIDemo>
<UI />
</UIDemo>
<Theme>
<UIDemo>
<UI />
</UIDemo>
</Theme>
</>, document.getElementById('app')!)