Compare commits

...

2 Commits

Author SHA1 Message Date
Primakov Alexandr Alexandrovich
e21b41f9ca 3.1.1
Some checks failed
platform/bro/pipeline/head This commit looks good
platform/gitea-bro-js/journal.pl/pipeline/head There was a failure building this commit
platform/bro/pipeline/tag This commit looks good
2024-08-12 00:05:37 +03:00
Primakov Alexandr Alexandrovich
cb3629bd43 global __webpack_public_path__ 2024-08-12 00:05:30 +03:00
4 changed files with 21 additions and 21 deletions

4
index.d.ts vendored
View File

@ -1,4 +1,6 @@
declare module '*.svg' {
const src: string;
export default src;
}
}
declare const __webpack_public_path__: string;

4
package-lock.json generated
View File

@ -1,12 +1,12 @@
{
"name": "journal.pl",
"version": "3.1.0",
"version": "3.1.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "journal.pl",
"version": "3.1.0",
"version": "3.1.1",
"license": "MIT",
"dependencies": {
"@brojs/cli": "^0.0.4-alpha.9",

View File

@ -1,6 +1,6 @@
{
"name": "journal.pl",
"version": "3.1.0",
"version": "3.1.1",
"description": "bro-js platform journal ui repo",
"main": "./src/index.tsx",
"scripts": {

View File

@ -1,6 +1,6 @@
import React from 'react';
import { Helmet } from 'react-helmet';
import { Global, css } from '@emotion/react'
import { Global, css } from '@emotion/react'
import { BrowserRouter } from 'react-router-dom';
import ruLocale from 'dayjs/locale/ru';
import dayjs from 'dayjs';
@ -10,16 +10,15 @@ import { Dashboard } from './dashboard';
dayjs.locale('ru', ruLocale);
const App = ({ store }) => {
return(
<ChakraProvider>
<BrowserRouter>
<Helmet>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Журнал</title>
</Helmet>
<Global
styles={css`
const App = ({ store }) => (
<ChakraProvider>
<BrowserRouter>
<Helmet>
<meta name="viewport" content="width=device-width, user-scalable=no" />
<title>Журнал</title>
</Helmet>
<Global
styles={css`
html {
height: 100%;
max-width: 100%;
@ -76,12 +75,11 @@ const App = ({ store }) => {
font-style: normal;
}
`}
/>
<Dashboard store={store} />
</BrowserRouter>
</ChakraProvider>
)
}
/>
<Dashboard store={store} />
</BrowserRouter>
</ChakraProvider>
)
export default App;