mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-07 06:08:48 +00:00
remove unused component
This commit is contained in:
parent
7ae07cb1ee
commit
b0e640fd03
1 changed files with 0 additions and 15 deletions
|
@ -1,15 +0,0 @@
|
|||
export default function Greeting() {
|
||||
const hour = new Date().getHours();
|
||||
|
||||
let day = "day";
|
||||
|
||||
if (hour < 12) {
|
||||
day = "morning";
|
||||
} else if (hour < 17) {
|
||||
day = "afternoon";
|
||||
} else {
|
||||
day = "evening";
|
||||
}
|
||||
|
||||
return <div className="self-end grow text-2xl font-thin text-theme-800 dark:text-theme-200">Good {day}</div>;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue