Skip to content

Commit

Permalink
feat(venue): update accommodation link
Browse files Browse the repository at this point in the history
  • Loading branch information
baby230211 committed Jun 22, 2024
1 parent 1381000 commit 7d9b6ad
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 3 deletions.
6 changes: 4 additions & 2 deletions i18n/venue/accommodation.i18n.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ import { genI18nMessages } from '~/utils/i18n.utils'
export default genI18nMessages({
'en-us': {
title: 'Accommodation at National Science and Technology Museum (South Complex)',
intro: 'Following is a list of recommended accommodation outside the venue. PyCon TW does not assist with booking, nor provide direct shuttle service from and to the hotels. Please see the traffic information if needed.',
intro: 'Following is a list of recommended accommodation outside the venue. PyCon TW does not assist with booking, nor provide direct shuttle service from and to the hotels. Please see {0} if needed.',
venue: 'the traffic information',
$$$: {
hotel: [
'InterContinental Kaohsiung',
Expand Down Expand Up @@ -72,7 +73,8 @@ export default genI18nMessages({
},
'zh-hant': {
title: '住宿指引',
intro: '以下住宿選擇僅提供與會來賓參考,未提供代訂或折扣服務。如有需要請自行訂房,並自行前往會場',
intro: '以下住宿選擇僅提供與會來賓參考,未提供代訂或折扣服務。如有需要請自行訂房,並自行{0}',
venue: '前往會場',
$$$: {
hotel: [
'高雄洲際酒店',
Expand Down
11 changes: 10 additions & 1 deletion pages/venue/accommodation.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
<template>
<i18n-page-wrapper>
<core-h1 :title="$t('title')"></core-h1>
<p class="mb-14 text-sm md:text-base">{{ $t('intro') }}</p>
<i18n path="intro" tag="p" class="mb-14 text-sm md:text-base">
<locale-link
to="/venue"
class="text-pink-500 underline"
customized
>{{ $t('venue') }}</locale-link
>
</i18n>
<div class="mx-auto w-full lg:w-9/12">
<two-col-wrapper class="py-2 lg:py-5">
<template #default>
Expand Down Expand Up @@ -81,6 +88,7 @@ import I18nPageWrapper from '@/components/core/i18n/PageWrapper'
import i18n from '@/i18n/venue/accommodation.i18n'
import CoreH1 from '@/components/core/titles/H1'
import TwoColWrapper from '@/components/core/layout/TwoColWrapper'
import { LocaleLink } from '@/components/core/links'
export default {
i18n,
Expand All @@ -89,6 +97,7 @@ export default {
CoreH1,
I18nPageWrapper,
TwoColWrapper,
LocaleLink,
},
head() {
return {
Expand Down

0 comments on commit 7d9b6ad

Please sign in to comment.