File tree Expand file tree Collapse file tree 7 files changed +62
-13
lines changed Expand file tree Collapse file tree 7 files changed +62
-13
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ REDIS_PORT=<6379/other port of database server>
40
40
# Node
41
41
NODE_ENV = <development/test/production>
42
42
NODE_OPTIONS = <openssl-legacy-provider>
43
+ FONTAWESOME_PACKAGE_TOKEN = <fontawesome package token>
43
44
44
45
# React
45
46
REACT_APP_API_HOST = <localhost:8000/other hostname:port or IP:port of Django server>
Original file line number Diff line number Diff line change @@ -7,6 +7,8 @@ RUN chown node:root /app
7
7
# Install dependencies
8
8
COPY ./src/frontend/package.json /app/
9
9
COPY ./src/frontend/package-lock.json /app/
10
+ COPY ./src/frontend/.npmrc /app/
11
+ ARG FONTAWESOME_PACKAGE_TOKEN
10
12
RUN npm install
11
13
12
14
# Add rest of the client code
Original file line number Diff line number Diff line change @@ -42,6 +42,7 @@ services:
42
42
dockerfile : ./compose/frontend/Dockerfile
43
43
args :
44
44
DEBUG_BUILD : true
45
+ FONTAWESOME_PACKAGE_TOKEN : ${FONTAWESOME_PACKAGE_TOKEN}
45
46
stdin_open : true
46
47
tty : true
47
48
ports :
Original file line number Diff line number Diff line change
1
+ @fortawesome:registry = https://npm.fontawesome.com/
2
+ @awesome.me:registry = https://npm.fontawesome.com/
3
+ //npm.fontawesome.com/:_authToken = ${ FONTAWESOME_PACKAGE_TOKEN }
4
+ npmScopes:
5
+ fortawesome:
6
+ npmAlwaysAuth: true
7
+ npmRegistryServer: "https://npm.fontawesome.com/"
8
+ npmAuthToken: ${ FONTAWESOME_PACKAGE_TOKEN }
9
+ awesome.me:
10
+ npmAlwaysAuth: true
11
+ npmRegistryServer: "https://npm.fontawesome.com/"
12
+ npmAuthToken: ${ FONTAWESOME_PACKAGE_TOKEN }
Original file line number Diff line number Diff line change 4
4
"private" : true ,
5
5
"dependencies" : {
6
6
"@bcgov/bc-sans" : " ^1.0.1" ,
7
- "@fortawesome/fontawesome-svg-core" : " ^6.2 .1" ,
7
+ "@fortawesome/fontawesome-svg-core" : " ^6.5 .1" ,
8
8
"@fortawesome/free-brands-svg-icons" : " ^6.4.2" ,
9
9
"@fortawesome/free-regular-svg-icons" : " ^6.2.1" ,
10
10
"@fortawesome/free-solid-svg-icons" : " ^6.2.1" ,
11
+ "@fortawesome/pro-solid-svg-icons" : " ^6.5.1" ,
11
12
"@fortawesome/react-fontawesome" : " ^0.2.0" ,
12
13
"@reduxjs/toolkit" : " ^1.9.6" ,
13
14
"@tanstack/react-table" : " ^8.9.3" ,
Original file line number Diff line number Diff line change @@ -80,15 +80,18 @@ export default function Filters(props) {
80
80
81
81
// const tooltipReststops = (
82
82
// <Tooltip id="tooltip" className="tooltip-content">
83
- // <p>Locations of provincial rest stops run by the province.</p>
83
+ // <p>Locations of rest stops run by the province.</p>
84
84
// </Tooltip>
85
85
// );
86
86
87
87
// const tooltipWeather = (
88
88
// <Tooltip id="tooltip" className="tooltip-content">
89
- // <p>Current weather and predictions for a region from Environment Canada.
90
- // Winter forecasts for high mountain passes, also from Environment Canada.
91
- // Find out how the road is at the moment and what nearby weather stations predict for it in this specific location.</p>
89
+ // <p>Learn about weather conditions that could affect your route including:
90
+ // <ul>
91
+ // <li>Current weather for a region from Environment Canada</li>
92
+ // <li>Find out how the road is at the moment at nearby weather stations in this specific location</li>
93
+ // </ul>
94
+ // </p>
92
95
// </Tooltip>
93
96
// );
94
97
@@ -315,7 +318,9 @@ export default function Filters(props) {
315
318
<span className="tooltip-info">?</span>
316
319
</OverlayTrigger>
317
320
</div>
318
-
321
+ */ }
322
+
323
+ { /*
319
324
<div className={'filter-item filter-item--weather'}>
320
325
<span className="filter-item__icon">
321
326
<FontAwesomeIcon icon={faCloudSun} alt="weather" />
You can’t perform that action at this time.
0 commit comments