Skip to content

Commit 4ef3e65

Browse files
author
“Gabriel
committed
Upgrade react and react router
1 parent 53f9668 commit 4ef3e65

6 files changed

Lines changed: 1492 additions & 1389 deletions

File tree

.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
stable

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111
"express": "^4.17.1",
1212
"lodash": "^4.17.21",
1313
"qrious": "^4.0.2",
14-
"react": "^16.12.0",
15-
"react-dom": "^16.12.0",
16-
"react-router-dom": "^5.3.0",
14+
"react": "^18.2.0",
15+
"react-dom": "^18.2.0",
16+
"react-router-dom": "^6.8.1",
1717
"react-scripts": "3.4.0",
1818
"short-unique-id": "^4.4.4",
1919
"short-uuid": "^4.2.2"

src/App.css

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
}
1010

1111
.App-header {
12-
background-color: #282c34;
12+
background: linear-gradient(#3A3D51,#000E2E);
1313
min-height: 3vh;
1414
color: white;
1515
}
@@ -22,6 +22,7 @@
2222
max-width: 1440px;
2323
margin: auto;
2424
}
25+
2526
.App-controls {
2627
display: flex;
2728
flex-direction: column;
@@ -31,12 +32,18 @@
3132
padding: 8px;
3233
}
3334

34-
.pure-form .App-headerInput {
35-
background-color: #282c34;
36-
}
3735
.pure-menu-link {
36+
display: flex;
37+
height: 55px;
3838
color: #ffffff;
39+
align-items: center;
3940
}
41+
42+
.pure-menu-link.active, .pure-menu-link:active, .pure-menu-link:hover, .pure-menu-link:focus {
43+
background: linear-gradient(#FF2631,#D90429);
44+
}
45+
46+
4047
.App-link {
4148
color: #61dafb;
4249
}

0 commit comments

Comments
 (0)