Skip to content

Commit 00d2e3a

Browse files
Steve Hobbsluisrudge
authored andcommitted
Removed theme as NPM package in favor of CDN link (#138)
1 parent 80476f9 commit 00d2e3a

8 files changed

Lines changed: 12 additions & 14 deletions

File tree

01-Login/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@
2020
"react-dom": "^16.8.6",
2121
"react-router-dom": "^5.0.0",
2222
"react-scripts": "3.0.0",
23-
"reactstrap": "^8.0.0",
24-
"samples-bootstrap-theme": "github:auth0-quickstarts/samples-bootstrap-theme"
23+
"reactstrap": "^8.0.0"
2524
},
2625
"devDependencies": {},
2726
"eslintConfig": {

01-Login/public/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,11 @@
3030
crossorigin="anonymous"
3131
/>
3232

33+
<link
34+
rel="stylesheet"
35+
href="https://cdn.auth0.com/js/auth0-samples-theme/1.0/css/auth0-theme.min.css"
36+
/>
37+
3338
<title>Login</title>
3439
</head>
3540
<body class="h-100">

01-Login/src/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import Profile from "./views/Profile";
1111
import { useAuth0 } from "./react-auth0-spa";
1212

1313
// styles
14-
import "samples-bootstrap-theme/dist/css/auth0-theme.css";
1514
import "./App.css";
1615

1716
// fontawesome

01-Login/yarn.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8625,10 +8625,6 @@ safe-regex@^1.1.0:
86258625
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
86268626
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
86278627

8628-
"samples-bootstrap-theme@github:auth0-quickstarts/samples-bootstrap-theme":
8629-
version "0.5.1"
8630-
resolved "https://codeload.github.com/auth0-quickstarts/samples-bootstrap-theme/tar.gz/22a1f6a8950268dd9b68f5723675da6820133149"
8631-
86328628
sane@^4.0.3:
86338629
version "4.1.0"
86348630
resolved "https://registry.yarnpkg.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded"

02-Calling-an-API/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,7 @@
2828
"react-dom": "^16.8.6",
2929
"react-router-dom": "^5.0.0",
3030
"react-scripts": "3.0.0",
31-
"reactstrap": "^8.0.0",
32-
"samples-bootstrap-theme": "github:auth0-quickstarts/samples-bootstrap-theme"
31+
"reactstrap": "^8.0.0"
3332
},
3433
"devDependencies": {
3534
"nodemon": "^1.19.0"

02-Calling-an-API/public/index.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@
2929
crossorigin="anonymous"
3030
/>
3131

32+
<link
33+
rel="stylesheet"
34+
href="https://cdn.auth0.com/js/auth0-samples-theme/1.0/css/auth0-theme.min.css"
35+
/>
36+
3237
<title>Calling an API</title>
3338
</head>
3439
<body class="h-100">

02-Calling-an-API/src/App.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ import ExternalApi from "./views/ExternalApi";
1212
import { useAuth0 } from "./react-auth0-spa";
1313

1414
// styles
15-
import "samples-bootstrap-theme/dist/css/auth0-theme.css";
1615
import "./App.css";
1716

1817
// fontawesome

02-Calling-an-API/yarn.lock

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9218,10 +9218,6 @@ safe-regex@^1.1.0:
92189218
resolved "https://registry.yarnpkg.com/safer-buffer/-/safer-buffer-2.1.2.tgz#44fa161b0187b9549dd84bb91802f9bd8385cd6a"
92199219
integrity sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==
92209220

9221-
"samples-bootstrap-theme@github:auth0-quickstarts/samples-bootstrap-theme":
9222-
version "0.5.1"
9223-
resolved "https://codeload.github.com/auth0-quickstarts/samples-bootstrap-theme/tar.gz/22a1f6a8950268dd9b68f5723675da6820133149"
9224-
92259221
sane@^4.0.3:
92269222
version "4.1.0"
92279223
resolved "https://registry.yarnpkg.com/sane/-/sane-4.1.0.tgz#ed881fd922733a6c461bc189dc2b6c006f3ffded"

0 commit comments

Comments
 (0)