Skip to content

Commit c0dd0d4

Browse files
Fix "A day in the Life Panel" web view
1 parent a4a15f4 commit c0dd0d4

File tree

2 files changed

+19
-9
lines changed

2 files changed

+19
-9
lines changed

src/sections/schedule/Schedule.jsx

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -539,8 +539,23 @@ const Schedule = () => {
539539
)
540540
}
541541
}
542-
if (index >= 10 && index <= 13) {
543-
if (index === 10) {
542+
if (index == 8) {
543+
return (
544+
<tr key={index} className="h-[50px]">
545+
<td className="bg-blue text-white p-2 rounded-3xl text-s font-bold text-center ">{row.time}</td>
546+
{renderTableCell(row.tandonGym)}
547+
{renderTableCell(row.tandonGym)}
548+
<td
549+
className="p-2 border border-blue border-opacity-50 rounded-3xl bg-white text-blue"
550+
rowSpan={1}
551+
>
552+
<div className="text-s font-bold text-center">A Day in the Life Panel</div>
553+
</td>
554+
</tr>
555+
)
556+
}
557+
if (index >= 9 && index <= 13) {
558+
if (index === 9) {
544559
return (
545560
<tr key={index} className="h-[50px]">
546561
<td className="bg-blue text-white p-2 rounded-3xl text-s font-bold text-center ">{row.time}</td>

src/sections/schedule/data.js

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -190,11 +190,6 @@ export const sundayScheduleWeb = [
190190
{
191191
time: "2:00 PM - 2:30 PM",
192192
tandonGym: "",
193-
pfizer: "",
194-
},
195-
{
196-
time: "2:30 PM - 3:00 PM",
197-
tandonGym: "",
198193
pfizer: "A Day in the Life Panel",
199194
},
200195
{
@@ -321,8 +316,8 @@ export const sundayMobileScheduleData = [
321316
location: "NYU Tandon Gym",
322317
},
323318
{
324-
startTime: "2:30 PM",
325-
endTime: "3:00 PM",
319+
startTime: "2:00 PM",
320+
endTime: "2:30 PM",
326321
description: "A Day in the Life Panel",
327322
location: "Pfizer Auditorium",
328323
},

0 commit comments

Comments
 (0)