mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-08 06:51:43 -04:00
(ads) apply publift's suggestions
This commit is contained in:
parent
e9aa928010
commit
c33abb16de
@ -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>
|
||||
|
@ -59,6 +59,7 @@
|
||||
@include media-breakpoint-up('lg', $grid-breakpoints) {
|
||||
.higher {
|
||||
z-index: 100001;
|
||||
bottom: 5 * $spacer;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
@ -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>
|
||||
|
@ -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();
|
||||
}
|
||||
});
|
||||
|
@ -40,6 +40,10 @@ export default {
|
||||
window.location.pathname + window.location.search
|
||||
+ (value ? '#' + fullValue : '')
|
||||
);
|
||||
|
||||
if (typeof window !== 'undefined' && window.fusetag) {
|
||||
window.fusetag.refreshSlots();
|
||||
}
|
||||
},
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user