chore(promo): end g1g1

This commit is contained in:
Sabe Jones
2020-01-07 10:13:32 -06:00
parent d56d6cf280
commit f6ecc1cb84
8 changed files with 4 additions and 168 deletions

View File

@@ -20,10 +20,6 @@
z-index: 1400; // 1400 is above modal backgrounds
&-top-pos {
&-double {
top: 145px;
}
&-normal {
top: 65px;
}
@@ -38,7 +34,6 @@
<script>
import { mapState } from '@/libs/store';
import notification from './notification';
import { CONSTANTS, getLocalSetting } from '@/libs/userlocalManager';
export default {
components: {
@@ -52,9 +47,7 @@ export default {
notificationsTopPos () {
const base = 'notifications-top-pos-';
let modifier = '';
if (this.userSleeping && this.giftingShown) {
modifier = 'double';
} else if (this.userSleeping || this.giftingShown) {
if (this.userSleeping) {
modifier = 'sleeping';
} else {
modifier = 'normal';
@@ -62,10 +55,5 @@ export default {
return `${base}${modifier}`;
},
},
data () {
return {
giftingShown: getLocalSetting(CONSTANTS.keyConstants.GIFTING_BANNER_DISPLAY) !== 'dismissed',
};
},
};
</script>