Skip to content

Commit

Permalink
Show schedule (#76)
Browse files Browse the repository at this point in the history
* ### Summary of Most Important Changes

The primary changes involve modifying the visibility of sections within the `activeSections` array in the `Index.cshtml` file. Specifically, the "sessions" section has been hidden, and the "schedule" section has been made visible. This adjustment likely indicates a shift in the webpage's focus, emphasizing the schedule over the sessions.

### List of Changes

1. **Visibility of "sessions" Section**:
   - Changed from `true` (visible) to `false` (hidden).
   - **Reference**: `Index.cshtml`

2. **Visibility of "schedule" Section**:
   - Changed from `false` (hidden) to `true` (visible).
   - **Reference**: `Index.cshtml`

* ### Summary of Important Changes

The primary changes to the `_Layout.cshtml` file involve updates to the navigation menu. Specifically, the "Sessions" menu item has been commented out, and a new "Schedule" menu item has been added. The other menu items remain unchanged.

### List of Changes

1. **Commented Out "Sessions" Menu Item**:
   - The "Sessions" link, which previously pointed to `"/@slug#sessions"`, has been commented out using Razor syntax (`@* ... *@`), making it inactive.
   - **Reference**: `@* <li><a href="/@slug#sessions">Sessions</a></li> *@`

2. **Added "Schedule" Menu Item**:
   - A new "Schedule" link has been added to the navigation bar, pointing to `"/@slug#schedule"`.
   - **Reference**: `<li><a href="/@slug#schedule">Schedule</a></li>`

3. **Unchanged Menu Items**:
   - The "Tickets" and "Code of Conduct" menu items remain unchanged, ensuring continuity in the navigation structure.
   - **Reference**: `<li><a href="/@slug#tickets">Tickets</a></li>` and `<li><a href="/@slug#codeofconduct">Code of Conduct</a></li>`

These changes ensure that the navigation menu is updated to reflect the new structure while maintaining the integrity of the existing links.
  • Loading branch information
ceciliasharp authored Aug 23, 2024
1 parent cc15e46 commit 10a1194
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions Pages/gbg-2024/Index.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@
("previousLinks", true),
("sponsor", true),
("speakers", true),
("sessions", true),
("schedule", false),
("sessions", false),
("schedule", true),
("tickets", true),
("contact", true),
("members", false)
Expand Down
8 changes: 4 additions & 4 deletions Pages/gbg-2024/_Layout.cshtml
Original file line number Diff line number Diff line change
Expand Up @@ -118,12 +118,12 @@
<li class="page-scroll">
<a href="/@slug#speakers" data-target="#speakers">Speakers</a>
</li>
<li class="page-scroll">
@*<li class="page-scroll">
<a href="/@slug#sessions" data-target="#sessions">Sessions</a>
</li>
@* <li class="page-scroll">
</li>*@
<li class="page-scroll">
<a href="/@slug#schedule" data-target="#schedule">Schedule</a>
</li> *@
</li>
<li class="page-scroll">
<a href="/@slug#tickets" data-target="#tickets">Tickets</a>
</li>
Expand Down

0 comments on commit 10a1194

Please sign in to comment.