@@ -85,11 +85,19 @@ const cta = computed(() =>
8585
8686const { y } = useScroll (window );
8787const isShowedSpMenu = computed (() => {
88- const targetBp: Breakpoint [] = isWidenContent .value ? [" mobile-wide" , " mobile" ] : [" mobile" ];
88+ const targetBp: Breakpoint []
89+ = isTimetable .value
90+ ? [" pc" , " mobile-wide" , " mobile" ]
91+ : isWidenContent .value
92+ ? [" mobile-wide" , " mobile" ]
93+ : [" mobile" ];
8994 return targetBp .includes (bp .value ) && (! isRoot .value || y .value > 450 );
9095});
9196const isShowedSpCta = computed (() => {
92- const targetBp: Breakpoint [] = isWidenContent .value ? [" pc" , " mobile-wide" , " mobile" ] : [" mobile-wide" , " mobile" ];
97+ const targetBp: Breakpoint []
98+ = isTimetable .value || isWidenContent .value
99+ ? [" pc" , " mobile-wide" , " mobile" ]
100+ : [" mobile-wide" , " mobile" ];
93101 return targetBp .includes (bp .value ) && (! isRoot .value || y .value > 450 );
94102});
95103
@@ -102,7 +110,6 @@ const WIDE_ROUTE_NAMES: RoutesNamesList[] = [
102110 " sponsors" ,
103111 " sponsors-sponsorId" ,
104112 " event" ,
105- " timetable" ,
106113 " related-events" ,
107114 " store" ,
108115];
@@ -114,6 +121,8 @@ const isWidenContent = computed(() =>
114121 .includes (route .name ?.toString () ?? " " ),
115122);
116123
124+ const isTimetable = computed (() => localeRoute (" timetable" as string ).name === route .name ?.toString ());
125+
117126// scroll behavior
118127watch (() => route .hash , async (hash ) => {
119128 if (hash === " " ) {
@@ -150,7 +159,7 @@ watch(() => route.hash, async (hash) => {
150159 <VFMenu :items =" menuItems" />
151160 </div >
152161 </div >
153- <div class =" content" :class =" { 'widen-content': isWidenContent }" >
162+ <div class =" content" :class =" { 'widen-content': isWidenContent, 'timetable': isTimetable }" >
154163 <VFHeader :is-root class =" header" />
155164
156165 <main class =" main" >
@@ -230,6 +239,16 @@ watch(() => route.hash, async (hash) => {
230239 flex-basis : auto ;
231240 }
232241
242+ &.timetable {
243+ width : 90% ;
244+ max-width : 1400px ;
245+
246+ @media (--mobile ) {
247+ min-width : 0 ;
248+ width : 100% ;
249+ }
250+ }
251+
233252 &.widen-content {
234253 min-width : 960px ;
235254 transition : unset ;
0 commit comments