chore: move files to new structure

This commit is contained in:
Carlos Valente
2024-12-10 14:31:50 +01:00
committed by Carlos Valente
parent fa7ec623f1
commit 6ffbf2af9d
27 changed files with 6 additions and 6 deletions
@@ -0,0 +1,3 @@
.progressOverride {
height: 1rem;
}
@@ -0,0 +1,24 @@
import MultiPartProgressBar from '../../../common/components/multi-part-progress-bar/MultiPartProgressBar';
import { useProgressData } from '../../../common/hooks/useSocket';
import useViewSettings from '../../../common/hooks-query/useViewSettings';
import styles from './CuesheetProgress.module.scss';
export default function CuesheetProgress() {
const { data } = useViewSettings();
const { current, duration, timeWarning, timeDanger } = useProgressData();
return (
<MultiPartProgressBar
now={current}
complete={duration}
normalColor={data.normalColor}
warning={timeWarning}
warningColor={data.warningColor}
danger={timeDanger}
dangerColor={data.dangerColor}
className={styles.progressOverride}
ignoreCssOverride
/>
);
}