|
2 | 2 | <!-- eslint-disable vue/no-v-html -->
|
3 | 3 | <main>
|
4 | 4 | <section class="min-h-screen md:min-h-750 bg-hero flex flex-col justify-center items-center">
|
5 |
| - <div |
6 |
| - :class="{'capitalize' : $i18n.locale !== 'de'}" |
7 |
| - class="text-center text-lg lg:text-3xl text-rains-lighter mt-8 md:mt-16 lg:mt-32" |
8 |
| - > |
9 |
| - {{ $t('index.hero.intro') }} |
10 |
| - </div> |
11 |
| - <Transition |
12 |
| - appear |
13 |
| - duration="1000" |
14 |
| - enter-active-class="fade-in-down" |
15 |
| - leave-active-class="fade-out-down" |
16 |
| - mode="out-in" |
17 |
| - > |
18 |
| - <h1 |
19 |
| - :key="currentSloganIndex" |
20 |
| - class="block text-center font-normal text-2xl md:text-3xl lg:text-5xl xl:text-7xl text-rains-lightest my-4 opacity-85 text-shadow animated capitalize" |
21 |
| - v-html="currentSlogan" |
22 |
| - /> |
23 |
| - </Transition> |
| 5 | + <h1 class="font-normal text-center"> |
| 6 | + <span |
| 7 | + :class="{'capitalize' : $i18n.locale !== 'de'}" |
| 8 | + class="text-lg lg:text-3xl text-rains-lighter mt-8 md:mt-16 lg:mt-32" |
| 9 | + > |
| 10 | + {{ $t('index.hero.intro') }} |
| 11 | + </span> |
| 12 | + <Transition |
| 13 | + appear |
| 14 | + duration="1000" |
| 15 | + enter-active-class="fade-in-down" |
| 16 | + leave-active-class="fade-out-down" |
| 17 | + mode="out-in" |
| 18 | + > |
| 19 | + <span |
| 20 | + :key="currentSloganIndex" |
| 21 | + class="block font-normal text-2xl md:text-3xl lg:text-5xl xl:text-7xl text-rains-lightest my-4 opacity-85 text-shadow animated capitalize" |
| 22 | + v-html="currentSlogan" |
| 23 | + /> |
| 24 | + </Transition> |
| 25 | + </h1> |
24 | 26 | <NuxtLink
|
25 | 27 | :to="'#' + $t('anchors.contact-us')"
|
26 | 28 | class="no-underline mt-8 md:mt-16 lg:mt-32 opacity-85 bg-gradient-rains-rains-dark hover:bg-gradient-rains-dark-rains rounded-full text-2xl md:text-3xl lg:text-4xl text-grey-light px-24 py-2 border border-grey-dark hover:border-grey hover:opacity-100 transition-opacity transition-border-color"
|
@@ -192,18 +194,18 @@ export default {
|
192 | 194 | background-size: cover;
|
193 | 195 | background-image: linear-gradient(config('colors.rains-dark'), rgba(11, 7, 16, 0.65)), url("~assets/img/bg/hero_sm.jpg");
|
194 | 196 |
|
195 |
| - @screen md { |
196 |
| - background-image: linear-gradient(config('colors.rains-dark'), rgba(11, 7, 16, 0.65)), url("~assets/img/bg/hero.jpg"); |
197 |
| - } |
| 197 | + @screen md { |
| 198 | + background-image: linear-gradient(config('colors.rains-dark'), rgba(11, 7, 16, 0.65)), url("~assets/img/bg/hero.jpg"); |
| 199 | + } |
198 | 200 | }
|
199 | 201 |
|
200 | 202 | .bg-cta-end {
|
201 | 203 | background-size: cover;
|
202 | 204 | background-image: linear-gradient(rgba(9, 0, 16, 0.25), rgba(11, 7, 16, 1)), url("~assets/img/bg/contact_sm.jpg");
|
203 | 205 |
|
204 |
| - @screen md { |
205 |
| - background-image: linear-gradient(rgba(9, 0, 16, 0.25), rgba(11, 7, 16, 1)), url("~assets/img/bg/contact.jpg"); |
206 |
| - background-position: bottom; |
207 |
| - } |
| 206 | + @screen md { |
| 207 | + background-image: linear-gradient(rgba(9, 0, 16, 0.25), rgba(11, 7, 16, 1)), url("~assets/img/bg/contact.jpg"); |
| 208 | + background-position: bottom; |
| 209 | + } |
208 | 210 | }
|
209 | 211 | </style>
|
0 commit comments