commit 302a26faece6ed37e8dec61bf85b71fe9d076f32
parent 34bc2ce25ef42cae35b97022c8a6b37d70d436d5
Author: Agastya Chandrakant <me@hanabi.in>
Date: Mon, 18 May 2020 11:12:59 +0530
remove dependency, move to CDN
Diffstat:
4 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/package.json b/package.json
@@ -6,7 +6,6 @@
"@testing-library/jest-dom": "^4.2.4",
"@testing-library/react": "^9.3.2",
"@testing-library/user-event": "^7.1.2",
- "bootstrap": "^4.5.0",
"dotenv": "^8.2.0",
"express": "^4.17.1",
"moment-timezone": "^0.5.29",
diff --git a/public/index.html b/public/index.html
@@ -17,6 +17,13 @@
integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI"
crossorigin="anonymous"
></script>
+ <link
+ rel="stylesheet"
+ href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
+ integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk"
+ crossorigin="anonymous"
+ />
+
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta name="theme-color" content="#000000" />
diff --git a/src/App.js b/src/App.js
@@ -1,6 +1,5 @@
import React from 'react';
import { Route, BrowserRouter as Router, Switch } from 'react-router-dom';
-import 'bootstrap/dist/css/bootstrap.min.css';
import FromTo from './subpages/fromTo';
import Future from './subpages/future';
diff --git a/yarn.lock b/yarn.lock
@@ -2395,11 +2395,6 @@ boolbase@^1.0.0, boolbase@~1.0.0:
resolved "https://registry.yarnpkg.com/boolbase/-/boolbase-1.0.0.tgz#68dff5fbe60c51eb37725ea9e3ed310dcc1e776e"
integrity sha1-aN/1++YMUes3cl6p4+0xDcwed24=
-bootstrap@^4.5.0:
- version "4.5.0"
- resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.5.0.tgz#97d9dbcb5a8972f8722c9962483543b907d9b9ec"
- integrity sha512-Z93QoXvodoVslA+PWNdk23Hze4RBYIkpb5h8I2HY2Tu2h7A0LpAgLcyrhrSUyo2/Oxm2l1fRZPs1e5hnxnliXA==
-
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.yarnpkg.com/brace-expansion/-/brace-expansion-1.1.11.tgz#3c7fcbf529d87226f3d2f52b966ff5271eb441dd"