Skip to content

Commit

Permalink
Modify talks as we talked with sponsorship
Browse files Browse the repository at this point in the history
  • Loading branch information
carlotacb committed Apr 12, 2024
1 parent ef22b48 commit 0d5647a
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
20 changes: 7 additions & 13 deletions src/data/talks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ export interface Talk {
readonly end?: string
readonly streamLink?: string
readonly isSecret?: boolean
readonly secretTitle?: string
readonly isWorkshop?: boolean
}

export const talks: Talk[] = [
Expand All @@ -24,7 +24,6 @@ export const talks: Talk[] = [
start: '3/5/2024 22:30',
end: '3/5/2024 23:00',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Challenge talk',
isSecret: true,
},
{
Expand All @@ -36,7 +35,6 @@ export const talks: Talk[] = [
start: '3/5/2024 22:30',
end: '3/5/2024 23:00',
streamLink: 'https://www.youtube.com/c/HackersUPC',
secretTitle: 'Challenge talk',
isSecret: true,
},
{
Expand All @@ -48,7 +46,7 @@ export const talks: Talk[] = [
start: '3/5/2024 23:00',
end: '3/5/2024 23:30',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Workshop',
isWorkshop: true,
isSecret: true,
},
{
Expand All @@ -60,7 +58,6 @@ export const talks: Talk[] = [
start: '3/5/2024 22:30',
end: '3/5/2024 23:00',
streamLink: 'https://www.youtube.com/c/HackersUPC',
secretTitle: 'Challenge talk',
isSecret: true,
},
{
Expand All @@ -72,7 +69,7 @@ export const talks: Talk[] = [
start: '3/5/2024 23:30',
end: '4/5/2024 00:00',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Workshop',
isWorkshop: true,
isSecret: true,
},
{
Expand All @@ -84,7 +81,6 @@ export const talks: Talk[] = [
start: '3/5/2024 23:30',
end: '4/5/2024 00:00',
streamLink: 'https://www.youtube.com/c/HackersUPC',
secretTitle: 'Challenge talk',
isSecret: true,
},
{
Expand All @@ -96,7 +92,6 @@ export const talks: Talk[] = [
start: '4/5/2024 00:00',
end: '4/5/2024 00:30',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Challenge talk',
isSecret: true,
},
{
Expand All @@ -107,7 +102,6 @@ export const talks: Talk[] = [
// videoUrl: '',
start: '4/5/2024 00:00',
end: '4/5/2024 00:30',
secretTitle: 'Challenge talk',
isSecret: true,
},
{
Expand All @@ -119,7 +113,7 @@ export const talks: Talk[] = [
start: '4/5/2024 10:00',
end: '4/5/2024 10:30',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Workshop',
isWorkshop: true,
isSecret: true,
},
{
Expand All @@ -131,7 +125,7 @@ export const talks: Talk[] = [
start: '4/5/2024 10:30',
end: '4/5/2024 11:00',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Workshop',
isWorkshop: true,
isSecret: true,
},
{
Expand All @@ -143,7 +137,7 @@ export const talks: Talk[] = [
start: '4/5/2024 11:00',
end: '4/5/2024 11:30',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Workshop',
isWorkshop: true,
isSecret: true,
},
{
Expand All @@ -155,7 +149,7 @@ export const talks: Talk[] = [
start: '4/5/2024 11:30',
end: '4/5/2024 12:00',
streamLink: 'https://www.twitch.tv/hackersupc',
secretTitle: 'Workshop',
isWorkshop: true,
isSecret: true,
},
]
10 changes: 8 additions & 2 deletions src/views/Talks.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,15 @@ const hideChallengesAndPrizes = ref(config.hideChallengesAndPrizes)
<template>
<PanelContainer v-if="hideChallengesAndPrizes" id="talks">
<template v-for="talk in talks" :key="talk.title">
<Panel v-if="talk.isSecret" :title="talk.secretTitle">
<SecretContent />
<Panel
v-if="talk.isSecret"
:title="talk.isWorkshop ? 'Workshop' : 'Challenge talk'"
>
<SecretContent
:secret-text="talk.isWorkshop ? 'Comming soon' : undefined"
/>
</Panel>

<PanelTalk v-else :talk="talk" />
</template>
</PanelContainer>
Expand Down

0 comments on commit 0d5647a

Please sign in to comment.