mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-09 15:37:18 -04:00
(ads) apply publift's suggestions
This commit is contained in:
parent
e9aa928010
commit
c33abb16de
@ -1,6 +1,7 @@
|
|||||||
<template>
|
<template>
|
||||||
<footer v-if="config.header" class="bg-light border-top shadow mt-5">
|
<footer v-if="config.header" class="bg-light border-top shadow mt-5">
|
||||||
<div class="container-wide py-5">
|
<div class="container-wide py-5">
|
||||||
|
<AdPlaceholder phkey="footer" class="mb-3"/>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-12 col-md-6 col-lg-4 small">
|
<div class="col-12 col-md-6 col-lg-4 small">
|
||||||
<p class="h6 mb-2">
|
<p class="h6 mb-2">
|
||||||
@ -176,7 +177,6 @@
|
|||||||
</div>
|
</div>
|
||||||
<EasterEgg/>
|
<EasterEgg/>
|
||||||
<UkraineBanner class="my-3"/>
|
<UkraineBanner class="my-3"/>
|
||||||
<AdPlaceholder phkey="footer"/>
|
|
||||||
</div>
|
</div>
|
||||||
</footer>
|
</footer>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
|
@ -59,6 +59,7 @@
|
|||||||
@include media-breakpoint-up('lg', $grid-breakpoints) {
|
@include media-breakpoint-up('lg', $grid-breakpoints) {
|
||||||
.higher {
|
.higher {
|
||||||
z-index: 100001;
|
z-index: 100001;
|
||||||
|
bottom: 5 * $spacer;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
<template>
|
<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">
|
<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">
|
<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>
|
<small><T>translationMode.changes</T><T>quotation.colon</T> {{ changesCount }}</small>
|
||||||
@ -109,6 +110,7 @@
|
|||||||
@include media-breakpoint-up('lg', $grid-breakpoints) {
|
@include media-breakpoint-up('lg', $grid-breakpoints) {
|
||||||
.higher {
|
.higher {
|
||||||
z-index: 100001;
|
z-index: 100001;
|
||||||
|
bottom: 6 * $spacer + $square-button-size;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -84,7 +84,7 @@ export default ({ app, store }) => {
|
|||||||
}
|
}
|
||||||
|
|
||||||
app.router.afterEach((to, from) => {
|
app.router.afterEach((to, from) => {
|
||||||
if (window && window.fusetag) {
|
if (typeof window !== 'undefined' && window.fusetag) {
|
||||||
window.fusetag.pageInit();
|
window.fusetag.pageInit();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
@ -40,6 +40,10 @@ export default {
|
|||||||
window.location.pathname + window.location.search
|
window.location.pathname + window.location.search
|
||||||
+ (value ? '#' + fullValue : '')
|
+ (value ? '#' + fullValue : '')
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if (typeof window !== 'undefined' && window.fusetag) {
|
||||||
|
window.fusetag.refreshSlots();
|
||||||
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user