fix rebase issues

This commit is contained in:
2025-08-29 11:57:14 +02:00
parent 79117da969
commit 66ad042bf1
7 changed files with 38 additions and 43 deletions

View File

@@ -16,11 +16,11 @@ export default function Dashboard() {
const scheme = schemes[schemeIndex];
// change background color based on time of day
const time = useEffect(() => {
useEffect(() => {
const timer = setInterval(
() => {
let d = new Date();
let hour = d.getHours();
const d = new Date();
const hour = d.getHours();
if (hour >= 7 && hour < 16) {
setSchemeIndex(0);
} else if (hour >= 16 && hour < 23) {

View File

@@ -19,11 +19,11 @@ img {
}
.divider {
animation: blink 3s step-end infinite;
animation: blink 3s step-end infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
opacity: 0;
}
}

View File

@@ -35,11 +35,11 @@ export default function Flatastic() {
className = "irregular";
} else {
className = chore.timeLeftNext <= 0 ? "due" : "notDue";
timeLeftInDays = <span className={style.timeLeft}>
{Math.abs(
Math.floor(chore.timeLeftNext / (60 * 60 * 24)),
)}d
</span>;
timeLeftInDays = (
<span className={style.timeLeft}>
{Math.abs(Math.floor(chore.timeLeftNext / (60 * 60 * 24)))}d
</span>
);
}
return (

View File

@@ -1,7 +1,3 @@
import { useEffect, useState } from "react";
import Marquee from "react-fast-marquee";
import pasta from "./pasta.ts";
import style from "./style.module.css";
export default function Footer() {

View File

@@ -1,8 +1,7 @@
import { useHomeAssistantStore } from "@/store/homeAssistant";
import { useEffect, useState } from "react";
import style from "./style.module.css";
import { useHomeAssistantStore } from "@/store/homeAssistant";
import pasta from "./pasta.ts";
import style from "./style.module.css";
export default function Terminal() {
const [index, setIndex] = useState(0);
@@ -44,7 +43,7 @@ export default function Terminal() {
<div className={style.fetch}>
<span>
<pre>
{" "}-///:.{" "}
{" -///:. "}
<span className={style.username}>tent</span>@
<span className={style.hostname}>home</span>
</pre>

View File

@@ -1,49 +1,47 @@
.container {
display: flex;
flex-direction: column;
font-family: monospace;
font-size: 10pt;
background-color: black;
color: white;
display: flex;
flex-direction: column;
width: 100%;
height: 290px;
overflow: hidden;
display: flex;
flex-direction: column;
font-family: monospace;
font-size: 10pt;
background-color: black;
color: white;
width: 100%;
height: 290px;
overflow: hidden;
}
.fetch {
display: flex;
flex-direction: column;
padding-bottom: 10px;
display: flex;
flex-direction: column;
padding-bottom: 10px;
}
.prompt {
color: lightgreen;
color: lightgreen;
}
.username {
color: violet;
color: violet;
}
.hostname {
color: skyblue;
color: skyblue;
}
.temp {
color: pink;
font-weight: bold;
color: pink;
font-weight: bold;
}
.humidity {
color: skyblue;
font-weight: bold;
color: skyblue;
font-weight: bold;
}
.plants {
color: lightgreen;
color: lightgreen;
}
pre {
margin: 0;
margin: 0;
}

View File

@@ -1,5 +1,7 @@
:root {
font-family: Noto Sans Condensed, sans-serif;
font-family:
Noto Sans Condensed,
sans-serif;
line-height: 1.5;
font-weight: 400;