Skip to content

Commit 6e9bf9e

Browse files
authored
Merge pull request #757 from bcgov/SRS/795
feat: SRS-795 CATS Manage People – View Person
2 parents e2dbd86 + 509b41e commit 6e9bf9e

File tree

10 files changed

+280
-146
lines changed

10 files changed

+280
-146
lines changed

backend/users/package-lock.json

Lines changed: 22 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

backend/users/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"@nestjs/core": "^9.0.0",
3434
"@nestjs/graphql": "^10.1.3",
3535
"@nestjs/platform-express": "^9.0.0",
36-
"@nestjs/typeorm": "^9.0.1",
36+
"@nestjs/typeorm": "^10.0.2",
3737
"apollo-server-express": "^3.10.2",
3838
"axios": "^1.7.9",
3939
"class-transformer": "^0.5.1",
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
/* Dark Overlay */
2+
.overlay {
3+
width: 100%;
4+
height: 100%;
5+
background-color: rgba(0, 0, 0, 0.5); /* semi-transparent dark background */
6+
display: flex;
7+
justify-content: center;
8+
align-items: center;
9+
}
10+
11+
/* Loader Spinner */
12+
.loader {
13+
border: 8px solid #f3f3f3; /* Light gray background */
14+
border-top: 8px solid #3498db; /* Blue color for the spinner */
15+
border-radius: 50%;
16+
width: 50px;
17+
height: 50px;
18+
animation: spin 2s linear infinite;
19+
}
20+
21+
/* Spinner animation */
22+
@keyframes spin {
23+
0% { transform: rotate(0deg); }
24+
100% { transform: rotate(360deg); }
25+
}
26+
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
import React from 'react';
2+
import './LoadingOverlay.css';
3+
4+
interface LoadingOverlayProps {
5+
loading: boolean;
6+
}
7+
8+
const LoadingOverlay: React.FC<LoadingOverlayProps> = ({ loading }) => {
9+
if (!loading) return null;
10+
11+
return (
12+
<div className="overlay">
13+
<div className="loader"></div>
14+
</div>
15+
);
16+
};
17+
18+
export default LoadingOverlay;

0 commit comments

Comments
 (0)