✨ Update design
This commit is contained in:
@@ -7,16 +7,13 @@ export type OpeningRange = { start: string; end: string }
|
||||
|
||||
// Keyed by the JS `Date#getDay()` convention: 0 = Sunday … 6 = Saturday.
|
||||
const OPENING_HOURS_BY_WEEKDAY: Record<number, OpeningRange[]> = {
|
||||
0: [
|
||||
{ start: '11:30', end: '13:30' },
|
||||
{ start: '17:00', end: '22:00' },
|
||||
],
|
||||
0: [{ start: '11:00', end: '20:00' }],
|
||||
1: [],
|
||||
2: [{ start: '17:00', end: '21:30' }],
|
||||
3: [{ start: '17:00', end: '21:30' }],
|
||||
4: [{ start: '17:00', end: '21:30' }],
|
||||
5: [{ start: '17:00', end: '22:00' }],
|
||||
6: [{ start: '17:00', end: '22:00' }],
|
||||
2: [{ start: '11:00', end: '20:00' }],
|
||||
3: [{ start: '11:00', end: '20:00' }],
|
||||
4: [{ start: '11:00', end: '20:00' }],
|
||||
5: [{ start: '11:00', end: '20:00' }],
|
||||
6: [{ start: '11:00', end: '20:00' }],
|
||||
}
|
||||
|
||||
const WEEKDAY_LABELS_MONDAY_FIRST: Array<{ day: string; weekday: number }> = [
|
||||
|
||||
Reference in New Issue
Block a user