File tree Expand file tree Collapse file tree 3 files changed +19
-5
lines changed
Expand file tree Collapse file tree 3 files changed +19
-5
lines changed Original file line number Diff line number Diff line change 1+ <i18n lang="yaml">
2+ en :
3+ monthly_events : Besides the regular opening hours, there are also various [monthly events](/#recurring-events-monthly) at DWH.
4+ nl :
5+ monthly_events : Naast de vaste openingstijden zijn er ook diverse [maandelijkse activiteiten](/#recurring-events-monthly) bij DWH.
6+ </i18n >
7+
18<script setup>
2- const { tt } = useT ()
9+ import Markdown from ' #shared/components/Markdown.vue'
10+
11+ const { t , tt } = useT ()
312
4- const openingHours = (await useAsyncData (() => queryContent (' opening_hours' ).findOne ())).data .value .events
13+ const openingHours = (await useAsyncData (() => queryContent (' opening_hours' ).findOne ())).data .value .events .filter (
14+ (event ) => ! (' monthly' in event )
15+ )
516 </script >
617
718<template >
@@ -26,4 +37,7 @@ const openingHours = (await useAsyncData(() => queryContent('opening_hours').fin
2637 </div >
2738 </li >
2839 </ul >
40+ <div class =" mt-6 w-80 text-gray-800" >
41+ <Markdown :content =" t('monthly_events')" />
42+ </div >
2943</template >
Original file line number Diff line number Diff line change @@ -49,7 +49,7 @@ const openingHoursMonthly = openingHours.value.events.filter((o) => 'monthly' in
4949 </table >
5050
5151 <!-- Monthly events -->
52- <h2 class =" text-5xl font-medium leading-tight text-brand-500 md:mb-6 md:text-center" >
52+ <h2 id = " recurring-events-monthly " class =" text-5xl font-medium leading-tight text-brand-500 md:mb-6 md:text-center" >
5353 <Markdown :content =" t('announcement_month')" />
5454 </h2 >
5555
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const instagramChannels = [
5555 <a href =" #join-dwh" class =" block" >
5656 <ElementsPrimaryButton >{{ t('hero.leftButton') }}</ElementsPrimaryButton >
5757 </a >
58- <a href =" #recurring_events " class =" block" >
58+ <a href =" #recurring-events " class =" block" >
5959 <ElementsSecondaryButton >{{ t('hero.rightButton') }}</ElementsSecondaryButton >
6060 </a >
6161 </div >
@@ -88,7 +88,7 @@ const instagramChannels = [
8888 <PagesHomeJoinOptions />
8989 </section >
9090
91- <section id =" recurring_events " class =" bg-white" >
91+ <section id =" recurring-events " class =" bg-white" >
9292 <PagesHomeRecurringEvents />
9393 </section >
9494
You can’t perform that action at this time.
0 commit comments