7373 <!-- eslint-enable vue/no-v-html -->
7474 <h2 class =" text-h6 text-md-h5 my-4 tt-landing-content__subtitle" >
7575 {{ $t('landing.intro') }} <br />
76- <span
77- class =" font-weight-medium tt-landing-content__cities"
78- :class =" [darkMode ? 'secondary--text' : 'primary-dark--text']"
79- >
80- <span
81- class =" tt-landing-content__cities__line"
82- :class =" [darkMode ? 'secondary' : 'primary-dark']"
83- ></span >
76+ <span class =" font-weight-medium tt-landing-content__cities" >
77+ <span class =" tt-landing-content__cities__line" ></span >
8478 <span ref =" letters" class =" tt-landing-content__cities__letters"
8579 >Montréal</span
8680 >
9488 })
9589 }}
9690 </h2 >
91+ <v-chip-group >
92+ <v-chip
93+ v-for =" feature in features.features"
94+ :key =" feature.properties.slug"
95+ label
96+ outlined
97+ nuxt
98+ :to =" localePath(`/regions/${feature.properties.slug}/`)"
99+ >
100+ {{ feature.properties.name }}
101+ </v-chip >
102+ </v-chip-group >
97103 </div >
98- <div
99- class =" tt-landing-content__border secondary-dark"
100- :class =" [dataIsLoaded && 'tt-landing__short']"
101- ></div >
104+ <div class =" tt-landing-overlay" ></div >
102105 </div >
103106</template >
104107
@@ -358,15 +361,41 @@ export default {
358361 </script >
359362
360363<style lang="scss">
364+ @use ' sass:selector' ;
365+
366+ @mixin nest ($parent ) {
367+ @at-root #{selector .nest ($parent , & )} {
368+ @content ;
369+ }
370+ }
371+
361372.tt-landing {
362373 width : 100% ;
363374 height : 100% ;
364375 display : flex ;
376+ position : relative ;
365377
366378 & -content {
367379 overflow : hidden ;
368380 position : relative ;
369381
382+ @include nest (' .theme--light' ) {
383+ color : #011d32 ;
384+ background-color : #91ccff ;
385+ }
386+
387+ @include nest (' .theme--dark' ) {
388+ color : #cbe5ff ;
389+ background-color : #011d32 ;
390+
391+ & __cities {
392+ color : #91ccff ;
393+ & __line {
394+ background-color : #91ccff ;
395+ }
396+ }
397+ }
398+
370399 h1 ,
371400 h2 ,
372401 & -message {
@@ -379,10 +408,6 @@ export default {
379408 }
380409 }
381410
382- & __border {
383- display : none ;
384- }
385-
386411 & __subtitle {
387412 min-height : 96px ;
388413 }
@@ -481,35 +506,47 @@ export default {
481506 }
482507}
483508
484- .theme--light .tt-landing-content {
485- background : #c0ede7 ;
486- }
487-
488509@media (min-width : 960px ) {
489510 .tt-landing {
511+ & -overlay {
512+ position : absolute ;
513+ top : 0 ;
514+ left : 0 ;
515+ right : 0 ;
516+ bottom : 0 ;
517+ pointer-events : none ;
518+
519+ @include nest (' .theme--light' ) {
520+ background : linear-gradient (
521+ 100deg ,
522+ rgba (222 , 236 , 249 , 1 ) 0% ,
523+ rgba (222 , 236 , 249 , 1 ) 50% ,
524+ rgba (222 , 236 , 249 , 0 ) 70% ,
525+ rgba (222 , 236 , 249 , 0 ) 100%
526+ );
527+ }
528+
529+ @include nest (' .theme--dark' ) {
530+ background : linear-gradient (
531+ 100deg ,
532+ rgba (0 , 60 , 94 , 1 ) 0% ,
533+ rgba (0 , 60 , 94 , 1 ) 50% ,
534+ rgba (0 , 60 , 94 , 0 ) 70% ,
535+ rgba (0 , 60 , 94 , 0 ) 100%
536+ );
537+ }
538+ }
490539 & -content {
491540 height : 100% ;
492541 z-index : 2 ;
493- width : 55% ;
494- clip-path : polygon (0 0 , 95% 0 , 85% 100% , 0 100% );
542+ width : 50% ;
495543
496544 h1 ,
497545 h2 ,
498546 .tt-landing-content-message {
499547 max-width : 85% ;
500548 }
501549
502- & __border {
503- display : block ;
504- position : absolute ;
505- width : 55% ;
506- clip-path : polygon (95% 0 , 98% 0 , 88% 100% , 85% 100% );
507- top : 0 ;
508- left : 0 ;
509- bottom : 0 ;
510- z-index : 2 ;
511- }
512-
513550 & __subtitle {
514551 min-height : 64px ;
515552 }
@@ -522,9 +559,5 @@ export default {
522559 height : 100% ;
523560 }
524561 }
525-
526- .theme--dark .tt-landing-content {
527- background : #121212 ;
528- }
529562}
530563 </style >
0 commit comments