Quality of life update & package migrations. Use Vercel as default adapter (#67)
* Update all packages * Manual migration to SkeletonUI v4.8.0. Event elements has breaking tabs underline highlight * Remove unused dependencies & Let Prettier clean everything * Minor misc styling update
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
</script>
|
||||
|
||||
<div
|
||||
class="bg-ecsess-100 text-ecsess-900 grid h-full place-content-center rounded-md text-center hover:bg-ecsess-200 border-ecsess-300 border shadow-md transition-all hover:shadow-lg"
|
||||
class="bg-ecsess-100 text-ecsess-900 hover:bg-ecsess-200 border-ecsess-300 grid h-full place-content-center rounded-md border text-center shadow-md transition-all hover:shadow-lg"
|
||||
>
|
||||
<p class="text-base font-extrabold lg:text-lg">
|
||||
{officeHour.member.name.split(' ')[0]}
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
const DEFAULT_START_TIME = 10 * 60; // 10 AM in minutes
|
||||
const DEFAULT_END_TIME = 17 * 60; // 5 PM in minutes
|
||||
|
||||
type Segment = {
|
||||
type SegmentedControl = {
|
||||
startSlot: number;
|
||||
endSlot: number;
|
||||
ohs: OfficeHour[];
|
||||
@@ -86,8 +86,8 @@
|
||||
});
|
||||
|
||||
// Create continuous segments for a day
|
||||
const getSegmentsForDay = (day: string): Segment[] => {
|
||||
const segments: Segment[] = [];
|
||||
const getSegmentsForDay = (day: string): SegmentedControl[] => {
|
||||
const segments: SegmentedControl[] = [];
|
||||
|
||||
for (const currentSlot of timeSlots) {
|
||||
const activeOHs = getActiveOHs(day, currentSlot);
|
||||
|
||||
Reference in New Issue
Block a user