Update Barcamp participation links
This commit is contained in:
parent
b1e07cdbf6
commit
63dd759af0
5 changed files with 85 additions and 32 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import { infoPages } from "./info";
|
||||
import { barcampParticipantsSheetUrl } from "./barcamp";
|
||||
import {
|
||||
getEventBasePath,
|
||||
getEventPageEntries,
|
||||
|
|
@ -44,7 +45,9 @@ export function getEventNavItems(event: Event) {
|
|||
if (event.slug === "barcamp") {
|
||||
return [
|
||||
...(!event.hideOverviewNav ? [{ label: "Overview", href: basePath }] : []),
|
||||
...(peoplePage ? [{ label: "Participants", href: peoplePage.href }] : []),
|
||||
...(peoplePage
|
||||
? [{ label: "Participants", href: barcampParticipantsSheetUrl, external: true }]
|
||||
: []),
|
||||
...(schedulePage ? [{ label: "Schedule", href: schedulePage.href }] : []),
|
||||
{
|
||||
label: "Venue",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue