fix: build errors and restructure Calendar page

This commit is contained in:
knownotunknown
2024-02-19 18:26:09 -06:00
committed by doprz
parent 39947b3694
commit c6a48dd3f6
22 changed files with 69 additions and 40 deletions

View File

@@ -0,0 +1,18 @@
.calendarCell {
display: flex;
width: 213.8px;
height: 44.769px;
min-width: 45px;
min-height: 40px;
flex-direction: column;
justify-content: center;
align-items: flex-start;
border: 1px solid #dadce0;
}
.hourLine {
width: 213.8px;
height: 1px;
border-radius: var(--border-radius-none, 0px);
background: rgba(218, 220, 224, 0.25);
}

View File

@@ -0,0 +1,14 @@
import React from 'react';
import styles from './CalendarGridCell.module.scss';
/**
* Component representing each 1 hour time block of a calendar
* @param props
*/
const CalendarCell: React.FC = props => (
<div className={styles.calendarCell}>
<div className={styles.hourLine} />
</div>
);
export default CalendarCell;