Compare commits

..

3 Commits

Author SHA1 Message Date
930a844749 fix ci
All checks were successful
CI / build (push) Successful in 12s
CI / lint (push) Successful in 6s
CI / build-and-push-docker (push) Successful in 19s
2025-08-30 23:21:52 +02:00
6631101d3d fix typo in docker-compose file
All checks were successful
CI / build (push) Successful in 12s
CI / lint (push) Successful in 9s
CI / build-and-push-docker (push) Successful in 17s
2025-08-30 23:12:22 +02:00
01a8f18bae add nginx file to docker container
All checks were successful
CI / build (push) Successful in 13s
CI / lint (push) Successful in 8s
CI / build-and-push-docker (push) Successful in 20s
2025-08-30 23:04:01 +02:00
5 changed files with 33 additions and 37 deletions

View File

@@ -17,9 +17,9 @@ export default function Card({
}) {
return (
<div className={style.card}>
{header ? (
<CardHeader icon={icon} content={name} active={active} />
) : null}
{header && (
<CardHeader icon={icon} content={name} isActive={active} />
)}
<div className={style.cardContent}>{children}</div>
</div>
);

View File

@@ -5,6 +5,7 @@
justify-content: flex-start;
align-items: stretch;
gap: 30px;
margin: 30px;
}
.cardRow {

View File

@@ -1,14 +1,17 @@
import classNames from "classnames";
import classNames from "classnames/bind";
import style from "./style.module.css";
export default function CardHeader({ icon, content, active = false }) {
const styles = {
container: style.container,
active: style.active,
};
const cx = classNames.bind(styles);
export default function CardHeader({ icon, content, isActive = false }) {
return (
<div
className={classNames(style.container, {
[`${style.active}`]: active,
})}
>
<div className={cx("container", { active: isActive })}>
<div className={style.title}>
<div className={style.icon}>{icon}</div>
<div className={style.content}>{content}</div>

View File

@@ -42,7 +42,6 @@ export default function Dashboard() {
return (
<div className={`${style.dashboard} ${scheme}`}>
<div className={style.body}>
<CardColumn>
<Card icon="🚊" name="Timetable">
<Timetable />
@@ -66,7 +65,6 @@ export default function Dashboard() {
<Flatastic />
</Card>
</CardColumn>
</div>
<Footer />
</div>

View File

@@ -5,12 +5,6 @@
transition: 0.5s;
}
.body {
height: 100%;
margin: 30px;
overflow: scroll;
}
/* 7 to 16 */
.day {
background-color: #007c7d;