This commit is contained in:
2025-08-31 01:07:43 +02:00
parent 7d68cce351
commit e10c69495f
3 changed files with 23 additions and 1 deletions

BIN
public/img/amogus.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 126 KiB

View File

@@ -12,6 +12,7 @@ import Terminal from "@/components/Terminal/Terminal";
import Timetable from "@/components/Timetable/Timetable"; import Timetable from "@/components/Timetable/Timetable";
import Weather from "@/components/Weather/Weather"; import Weather from "@/components/Weather/Weather";
import amogus from "/img/amogus.png";
import style from "./style.module.css"; import style from "./style.module.css";
export default function Dashboard() { export default function Dashboard() {
@@ -41,7 +42,8 @@ export default function Dashboard() {
}, []); }, []);
return ( return (
<div className={`${style.dashboard} ${scheme}`}> <div className={`${style.dashboard} ${scheme}`}>
<div className={style.amogus}><img src={amogus} alt="Amogus" /></div>
<div className={style.body}> <div className={style.body}>
<CardColumn> <CardColumn>
<Card icon="🚊" name="Timetable"> <Card icon="🚊" name="Timetable">

View File

@@ -25,3 +25,23 @@
.night { .night {
background-color: #2a3f55; background-color: #2a3f55;
} }
.amogus {
z-index: 100;
position: absolute;
scale: 60%;
animation:
x 10s linear infinite alternate,
y 7s linear infinite alternate;
}
@keyframes x {
from { left: 0; }
to { left: calc(100vw - 70px); }
}
@keyframes y {
from { top: 0; }
to { top: calc(100vh - 90px); }
}