Skip to content

Commit

Permalink
Add default selected schedule day to 2 and maps (#257)
Browse files Browse the repository at this point in the history
* Add default selected schedule day to 2

* Add venue and audi maps
  • Loading branch information
RajatRajdeep authored Oct 1, 2023
1 parent 90a4442 commit 34bafad
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
21 changes: 19 additions & 2 deletions components/schedule.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const getTrackRoom = (num) => {
};

const ConferenceSchedule = () => {
const defaultScheduleIndex = 1
const defaultScheduleIndex = 2;
const [selectedTab, setSelectedTab] = useState(defaultScheduleIndex);

const handleTabClick = (index) => {
Expand Down Expand Up @@ -74,6 +74,23 @@ const ConferenceSchedule = () => {
buttonLabel="Download"
/>
</div>
<div className="d-inline">
<Link
href="images/maps/venue.jpg"
target="_blank"
rel="noopener noreferrer"
>
Venue Map
</Link>
<Link
className="ms-3"
href="images/maps/audi.jpg"
target="_blank"
rel="noopener noreferrer"
>
Audi Map
</Link>
</div>
</div>
<ul
className="nav nav-pills mb-3 pt-5"
Expand Down Expand Up @@ -126,7 +143,7 @@ const ConferenceSchedule = () => {
</div>
</div>
{/* Mobile Accordion */}
<Accordion defaultActiveKey={["1"]} className="d-block d-lg-none">
<Accordion defaultActiveKey={[`${defaultScheduleIndex}`]} className="d-block d-lg-none">
{ScheduleData.map((item, idx) => {
return (
<ScheduleAccordion
Expand Down
Binary file added public/images/maps/audi.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/maps/venue.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 34bafad

Please sign in to comment.