Skip to content

Commit 389e95c

Browse files
Merge pull request #7 from AnderssonProgramming/feature/implement_login_insights
Feature/implement login insights
2 parents 2880464 + 672ec8c commit 389e95c

34 files changed

+2111
-157
lines changed

.hintrc

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
{
2+
"extends": [
3+
"development"
4+
],
5+
"hints": {
6+
"compat-api/css": [
7+
"default",
8+
{
9+
"ignore": [
10+
"scrollbar-color",
11+
"scrollbar-width",
12+
"scrollbar-width: thin"
13+
]
14+
}
15+
]
16+
}
17+
}

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@ Durante el desarrollo del proyecto, se utilizaron las siguientes librerías:
5454
```sh
5555
npm install react-router-dom
5656
npm install axios
57+
npm install d3
58+
npm install jwt-decode
5759
npm install framer-motion
5860
npm install react-datepicker
5961
npm install date-fns

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@
88
"@testing-library/react": "^16.2.0",
99
"@testing-library/user-event": "^13.5.0",
1010
"axios": "^1.8.4",
11+
"d3": "^7.9.0",
12+
"jwt-decode": "^4.0.0",
1113
"framer-motion": "^12.6.2",
1214
"react": "^19.0.0",
1315
"date-fns": "^4.1.0",
@@ -17,6 +19,7 @@
1719
"react-router-dom": "^7.4.0",
1820
"react-scripts": "^5.0.1",
1921
"styled-components": "^6.1.16",
22+
"styled-system": "^5.1.5",
2023
"web-vitals": "^2.1.4"
2124
},
2225
"scripts": {

src/App.css

Lines changed: 25 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -94,21 +94,42 @@ ul {
9494
}
9595

9696
.content .panel .header {
97+
display: flex;
98+
flex-direction: row;
99+
justify-content: flex-start;
100+
align-items: center;
101+
height: 20%;
102+
margin-right: 5%;
103+
}
104+
105+
.content .panel .header .info {
97106
display: flex;
98107
flex-direction: column;
99-
justify-content: center;
108+
gap: 5px;
100109
width: 100%;
101-
height: 20%;
102110
}
103111

104-
.content .panel .header .title {
112+
.content .panel .header .info .title {
105113
font-weight: bold;
106114
}
107115

108-
.content .panel .header .title, .content .panel .header .greetings {
116+
.content .panel .header .info .title, .content .panel .header .greetings {
109117
font-size: 21px;
110118
}
111119

120+
.content .panel .header .user-info {
121+
display: flex;
122+
flex-direction: row;
123+
gap: 20px;
124+
width: 100%;
125+
align-items: center;
126+
justify-content: flex-end;
127+
}
128+
129+
.content .panel .header .user-info span {
130+
font-size: 18px;
131+
}
132+
112133
.content .panel .container {
113134
flex: 1;
114135
display: flex;

0 commit comments

Comments
 (0)