Skip to content

Commit

Permalink
Feat/rooms (#22)
Browse files Browse the repository at this point in the history
* fix(menu): fixes navigation

* feat(diary): change room names
  • Loading branch information
francescarpi authored Oct 16, 2023
1 parent 3454ecc commit e02332e
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 10 deletions.
13 changes: 9 additions & 4 deletions src/components/Sections/SDiary.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
import { diary } from '../../content'
import ATitle from '../Atoms/ATitle.vue'
import ASection from '../Atoms/ASection.vue'
const room1 = 'Auditori'
const room2 = 'Aula 3'
const room3 = 'Aula 4'
const room4 = 'Aula d\'Informàtica'
</script>

<template>
Expand All @@ -19,10 +24,10 @@ import ASection from '../Atoms/ASection.vue'
<thead>
<tr style="background: #efefef;">
<th>Hora</th>
<th>Auditori</th>
<th>Tallers A</th>
<th>Tallers B</th>
<th>Open Room</th>
<th>{{ room1 }}</th>
<th>{{ room2 }}</th>
<th>{{ room3 }}</th>
<th>{{ room4 }}</th>
</tr>
</thead>
<tbody>
Expand Down
8 changes: 4 additions & 4 deletions src/components/Sections/SMenu.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import { IMenuOption } from '../../types'
const emit = defineEmits(['click'])
const menuOptions: IMenuOption[] = [
{
name: 'Inici',
ref: 'begin'
},
{
name: 'Agenda',
ref: 'diary'
},
{
name: 'Ponents',
ref: 'speakers'
},
{
name: 'Patrocinadors',
ref: 'sponsors'
Expand Down
4 changes: 2 additions & 2 deletions src/views/Home.vue
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ const handlerMenuClick = (option: IMenuOption) => {
<s-intro id="intro" />
<s-what-we-will-do-lite id="watWeWillDo" />
<s-join id="join" />
<s-diary id="schedule" />
<s-speakers />
<s-diary id="diary" />
<s-speakers id="speakers" />
<s-code-of-conduct id="codeOfConduct" />
<s-organizers id="organizers" />
<s-supporters id="supporters" />
Expand Down

0 comments on commit e02332e

Please sign in to comment.