Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add location to schedule #376

Merged
merged 1 commit into from
Jan 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apps/site/src/app/(main)/schedule/components/EventCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ export default function EventCard({
now,
title,
eventType,
location,
virtual,
startTime,
endTime,
Expand Down Expand Up @@ -39,6 +40,7 @@ export default function EventCard({
now={now}
title={title}
eventType={eventType}
location={location}
virtual={virtual}
startTime={startTime}
endTime={endTime}
Expand Down
2 changes: 2 additions & 0 deletions apps/site/src/app/(main)/schedule/components/EventRegular.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ export default function EventRegular({
now,
title,
eventType,
location,
virtual,
startTime,
endTime,
Expand All @@ -97,6 +98,7 @@ export default function EventRegular({
{organization === undefined ? hosts?.join(", ") : organization}
</p>
)}
{location !== undefined && <p className="mb-2">Location: {location}</p>}
<p className="mb-2">
{dateTimeFormat.formatRange(startTimeInPST, endTimeInPST)} PST{" "}
{virtual && <a href={virtual}>| Meeting Link</a>}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ interface ScheduleProps {
schedule: {
title: string;
eventType: string;
location?: string | undefined;
location?: string;
virtual?: string | undefined;
startTime: Date;
endTime: Date;
Expand Down
Loading