diff --git a/components/core/header/nav-bar/NavBar.i18n.js b/components/core/header/nav-bar/NavBar.i18n.js index 9f663612c1..a597f7bfed 100644 --- a/components/core/header/nav-bar/NavBar.i18n.js +++ b/components/core/header/nav-bar/NavBar.i18n.js @@ -29,6 +29,8 @@ export default genI18nMessages({ tickets: 'Ticket Info', financialAid: 'Financial Aid', venue: 'Venue', + venueInfo: 'Venue Info', + accommodation: 'Accommodation', proposalSystemUrl: 'Proposal System', codeOfConduct: 'Code of Conduct', }, @@ -60,6 +62,8 @@ export default genI18nMessages({ tickets: '購票資訊', financialAid: '財務補助', venue: '會場', + venueInfo: '會場資訊', + accommodation: '住宿資訊', proposalSystemUrl: '投稿系統', codeOfConduct: '行為準則', }, diff --git a/components/core/header/nav-bar/NavBar.vue b/components/core/header/nav-bar/NavBar.vue index 975fed1016..719f2f611d 100644 --- a/components/core/header/nav-bar/NavBar.vue +++ b/components/core/header/nav-bar/NavBar.vue @@ -56,14 +56,13 @@ :class="getPageClassesByPath('registration')" > - - {{ $t('venue') }} - + - {{ $t('venue') }} + :label="$t('venue')" + :items="venueItems" + :expanding="expandingItem === 'venue'" + @click.native="toggleAccordion('venue')" + > + + +

{{ $t('intro') }}

+
+ + + + + + + + + + + + + +
+
+ + + + diff --git a/store/index.js b/store/index.js index 7d7b8d501e..6c3e5242b9 100644 --- a/store/index.js +++ b/store/index.js @@ -27,6 +27,7 @@ export const state = () => ({ eventsHideItems: ['sprints', 'openSpaces'], // ['sprints', 'openSpaces', 'jobs'] conferenceHideItems: [], // ['keynotes', 'talks', 'tutorials', 'youngInspirers'] registrationHideItems: [], // ['tickets', 'financialAid'] + venueHideItems: [], // ['venueInfo', 'accommodation'] }, })