forked from Lintuasemasovellus/lintuasemasovellus
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix day details page showing that there's no observations before load…
…ing the page
- Loading branch information
Showing
13 changed files
with
163 additions
and
95 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
FROM node:18 AS builder | ||
FROM node:20 AS builder | ||
|
||
COPY /frontend /front | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
18 | ||
20 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
import React from "react"; | ||
import { makeStyles } from "@mui/styles"; | ||
|
||
const useStyles = makeStyles({ | ||
spinnerContainer: { | ||
height: "100%", | ||
display: "flex", | ||
alignItems: "center", | ||
justifyContent: "center", | ||
flexDirection: "column" | ||
}, | ||
spinner: { | ||
padding: "0px", | ||
margin: "60px 60px", | ||
fontSize: "10px", | ||
position: "relative", | ||
borderTop: "1.1em solid lightgrey", | ||
borderRight: "1.1em solid lightgrey", | ||
borderBottom: "1.1em solid lightgrey", | ||
borderLeft: "1.1em solid #2691d9", | ||
animation: "$spin 1.1s infinite linear", | ||
"&, :after": { | ||
borderRadius: "50%", | ||
width: "10em", | ||
height: "10em", | ||
}, | ||
}, | ||
"@keyframes spin": { | ||
"0%": { | ||
transform: "rotate(0deg)", | ||
}, | ||
"100%": { | ||
transform: "rotate(360deg)", | ||
}, | ||
} | ||
}); | ||
|
||
const LoadingSpinner = () => { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<div className={classes.spinnerContainer}> | ||
<div className={classes.spinner}> | ||
</div> | ||
</div> | ||
); | ||
}; | ||
|
||
export default LoadingSpinner; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.