-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: data for 2081 and new page * fix: remove unused image
- Loading branch information
Showing
7 changed files
with
84 additions
and
13 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
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,16 @@ | ||
import React from "react"; | ||
|
||
import './style.css'; | ||
import noDataImage from './no-data.svg'; | ||
|
||
const NoData = () => { | ||
return ( | ||
<div className="no-data-container"> | ||
<img src={noDataImage} alt="No Data Available" className="no-data-image" /> | ||
<h1 className="no-data-title">No Data Available</h1> | ||
<p className="no-data-message">Data for next year is not available yet.</p> | ||
</div> | ||
); | ||
}; | ||
|
||
export default NoData; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,44 @@ | ||
.no-data-container { | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
text-align: center; | ||
background: linear-gradient(135deg, #f3ec78, #af4261); | ||
color: #ffffff; | ||
font-family: 'Arial', sans-serif; | ||
position: relative; | ||
overflow: hidden; | ||
} | ||
|
||
.no-data-image { | ||
width: 200px; | ||
margin-bottom: 20px; | ||
animation: bounce 2s infinite; | ||
} | ||
|
||
.no-data-title { | ||
font-size: 3rem; | ||
margin-bottom: 10px; | ||
text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2); | ||
} | ||
|
||
.no-data-message { | ||
font-size: 1.5rem; | ||
max-width: 400px; | ||
margin-bottom: 20px; | ||
} | ||
|
||
@keyframes bounce { | ||
0%, 20%, 50%, 80%, 100% { | ||
transform: translateY(0); | ||
} | ||
40% { | ||
transform: translateY(-30px); | ||
} | ||
60% { | ||
transform: translateY(-15px); | ||
} | ||
} | ||
|
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