style: build theme instead of loading from cdn
This commit is contained in:
Родитель
d9326a1387
Коммит
1711a9c5d1
|
@ -5,11 +5,11 @@
|
|||
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
<meta name="theme-color" content="#000000" />
|
||||
<meta name="robots" content="noindex" />
|
||||
<meta
|
||||
name="description"
|
||||
content="Web site created using create-react-app"
|
||||
/>
|
||||
<link rel="stylesheet" href="https://unpkg.com/@progress/kendo-theme-default@latest/dist/all.css"></link>
|
||||
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap" rel="stylesheet">
|
||||
<!--
|
||||
Notice the use of %PUBLIC_URL% in the tags above.
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
import React from 'react';
|
||||
|
||||
import './App.scss';
|
||||
|
||||
import { HashRouter, Switch, Route } from 'react-router-dom';
|
||||
import Dashboard from './pages/Dashboard.jsx';
|
||||
import Planning from './pages/Planning.jsx';
|
||||
|
@ -35,6 +33,10 @@ import { enMessages } from './messages/en-US';
|
|||
import { frMessages } from './messages/fr';
|
||||
import { esMessages } from './messages/es';
|
||||
|
||||
import 'hammerjs';
|
||||
import '@progress/kendo-theme-default/dist/all.css';
|
||||
import './App.scss';
|
||||
|
||||
load(
|
||||
likelySubtags,
|
||||
currencyData,
|
||||
|
@ -81,6 +83,7 @@ const App = () => {
|
|||
},
|
||||
[contextState, setContextState]
|
||||
);
|
||||
|
||||
return (
|
||||
<div className="App">
|
||||
<LocalizationProvider language={contextState.localeId}>
|
||||
|
|
Загрузка…
Ссылка в новой задаче