(ads) apply publift's suggestions

This commit is contained in:
Andrea Vos 2023-09-27 20:59:53 +02:00
parent e9aa928010
commit c33abb16de
5 changed files with 10 additions and 3 deletions

View File

@ -1,6 +1,7 @@
<template>
<footer v-if="config.header" class="bg-light border-top shadow mt-5">
<div class="container-wide py-5">
<AdPlaceholder phkey="footer" class="mb-3"/>
<div class="row">
<div class="col-12 col-md-6 col-lg-4 small">
<p class="h6 mb-2">
@ -176,7 +177,6 @@
</div>
<EasterEgg/>
<UkraineBanner class="my-3"/>
<AdPlaceholder phkey="footer"/>
</div>
</footer>
<div v-else>

View File

@ -59,6 +59,7 @@
@include media-breakpoint-up('lg', $grid-breakpoints) {
.higher {
z-index: 100001;
bottom: 5 * $spacer;
}
}
</style>

View File

@ -1,5 +1,6 @@
<template>
<div v-if="translationModeVisible && $user() && !config.disableTranslationProposals" :class="['scroll-btn', 'd-print-none', 'd-flex', 'align-items-center', config.ads && config.ads.enabled ? 'higher' : '']">
<div v-if="translationModeVisible && $user() && !config.disableTranslationProposals"
:class="['scroll-btn', 'd-print-none', 'd-flex', 'align-items-center', config.ads && config.ads.enabled ? 'higher' : '']">
<template v-if="translationMode">
<button class="btn btn-info btn-sm m-1 px-3 py-1 d-flex justify-content-center align-items-center" @click="showChanges">
<small><T>translationMode.changes</T><T>quotation.colon</T> {{ changesCount }}</small>
@ -109,6 +110,7 @@
@include media-breakpoint-up('lg', $grid-breakpoints) {
.higher {
z-index: 100001;
bottom: 6 * $spacer + $square-button-size;
}
}
</style>

View File

@ -84,7 +84,7 @@ export default ({ app, store }) => {
}
app.router.afterEach((to, from) => {
if (window && window.fusetag) {
if (typeof window !== 'undefined' && window.fusetag) {
window.fusetag.pageInit();
}
});

View File

@ -40,6 +40,10 @@ export default {
window.location.pathname + window.location.search
+ (value ? '#' + fullValue : '')
);
if (typeof window !== 'undefined' && window.fusetag) {
window.fusetag.refreshSlots();
}
},
}
}