Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
carlotacb committed Apr 6, 2024
1 parent 89f65ab commit 0e1b5ff
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions src/data/schedule.ts
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ export const schedule: RawSchedule = {
},
{
id: 'hacking-ends',
title: '😮‍💨 Hacking starts',
title: '😮‍💨 Hacking ends',
start: '05/05/2024 09:00',
description: /* markdown */ `Remember to submit a valid project, on time, on Devpost to be eligible for prizes 🏆 or travel reimbursement 🛫`,
},
Expand Down Expand Up @@ -250,8 +250,8 @@ export const schedule: RawSchedule = {
icon: 'youtube',
},
title: '🗣️ Closing ceremony',
start: '03/05/2024 15:30',
end: '03/05/2024 17:30',
start: '05/05/2024 15:30',
end: '05/05/2024 17:30',
description: /* markdown */ `Want to know how the event went? Just join us on YouTube & Vèrtex auditorium for the closing ceremony, where we’ll wrap up HackUPC 2023 and the winners will be announced! 🥇🥈🥉`,
},
{
Expand Down
14 changes: 7 additions & 7 deletions src/views/Schedule.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import LiveView from '@/components/LiveView.vue'
const route = useRoute()
const currentSchedule = computed<'live' | 'basic'>(() => {
const currentSchedule = computed<'live' | 'detailed'>(() => {
if (
route.params?.scheduleId !== 'live' &&
route.params?.scheduleId !== 'basic'
route.params?.scheduleId !== 'detailed'
) {
return 'basic'
return 'detailed'
}
return route.params.scheduleId
Expand All @@ -27,11 +27,11 @@ const currentSchedule = computed<'live' | 'basic'>(() => {
<RouterLink
:to="{
name: 'schedule',
params: { scheduleId: 'basic' },
params: { scheduleId: 'detailed' },
}"
class="button"
:class="{ 'button--disabled': currentSchedule === 'basic' }"
>Basic view</RouterLink
:class="{ 'button--disabled': currentSchedule === 'detailed' }"
>Detailed view</RouterLink
>
<RouterLink
:to="{
Expand All @@ -49,7 +49,7 @@ const currentSchedule = computed<'live' | 'basic'>(() => {
</p>
</div>
<div class="scrollable">
<div v-if="currentSchedule === 'basic'">
<div v-if="currentSchedule === 'detailed'">
<ScheduleView />
</div>

Expand Down

0 comments on commit 0e1b5ff

Please sign in to comment.