2022-11-27 16:34:37 +03:00
|
|
|
import React from 'react';
|
|
|
|
import { Global, css } from '@emotion/react'
|
|
|
|
|
|
|
|
import { MainPage } from './pages/main';
|
|
|
|
|
|
|
|
const App = () => {
|
|
|
|
return(
|
|
|
|
<>
|
|
|
|
<Global
|
|
|
|
styles={css`
|
|
|
|
* { box-sizing: border-box; }
|
2022-11-28 16:14:05 +03:00
|
|
|
html {
|
|
|
|
height: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
2022-11-27 16:34:37 +03:00
|
|
|
body {
|
2022-11-28 16:25:16 +03:00
|
|
|
color: #000;
|
2022-11-28 16:14:05 +03:00
|
|
|
/* background: radial-gradient(circle at top right, rgb(154 227 33), rgb(33 160 56)); */
|
|
|
|
background: radial-gradient(
|
|
|
|
farthest-side at bottom left,
|
|
|
|
rgba(35, 235, 4, 0.709),
|
2022-11-29 19:52:04 +03:00
|
|
|
rgba(255, 255, 255, 0) 65%
|
2022-11-28 16:14:05 +03:00
|
|
|
),
|
|
|
|
radial-gradient(
|
|
|
|
farthest-corner at bottom center,
|
|
|
|
rgba(244, 244, 8, 0.6),
|
2022-11-29 19:52:04 +03:00
|
|
|
rgba(255, 255, 255, 0) 40%
|
2022-11-28 16:14:05 +03:00
|
|
|
),
|
|
|
|
radial-gradient(
|
|
|
|
farthest-side at bottom right,
|
|
|
|
rgba(0, 195, 255, 0.648),
|
2022-11-29 19:52:04 +03:00
|
|
|
rgba(255, 255, 255, 0) 65%
|
2022-11-28 16:14:05 +03:00
|
|
|
);
|
2022-11-29 19:52:04 +03:00
|
|
|
height: 100%;
|
2022-11-27 16:34:37 +03:00
|
|
|
/* font-family: "SB Sans Screen"; */
|
|
|
|
font-family: "SBSansScreenRegular";
|
|
|
|
}
|
|
|
|
#app {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'SBSansScreenRegular';
|
|
|
|
src: url('${__webpack_public_path__ + 'remote-assets/SBSansScreen.eot'}');
|
|
|
|
src:
|
|
|
|
url('${__webpack_public_path__ + '/remote-assets/SBSansScreen.eot?#iefix'}') format('embedded-opentype'),
|
|
|
|
url('${__webpack_public_path__ + '/remote-assets/SBSansScreen.woff2'}') format('woff2'),
|
|
|
|
url('${__webpack_public_path__ + '/remote-assets/SBSansScreen.woff'}') format('woff'),
|
|
|
|
url('${__webpack_public_path__ + '/remote-assets/SBSansScreen.ttf'}') format('truetype'),
|
|
|
|
url('${__webpack_public_path__ + '/remote-assets/SBSansScreen.svg#SBSansScreen-Regular'}') format('svg');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
`}
|
|
|
|
/>
|
|
|
|
<MainPage />
|
|
|
|
</>
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
export default App;
|
|
|
|
|