mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 15:17:25 +01:00
chore(news): Bailey
Also disable some costly analytics
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
.promo_armoire_background_201804 {
|
.promo_armoire_background_201804 {
|
||||||
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: -142px -244px;
|
background-position: -142px -581px;
|
||||||
width: 141px;
|
width: 141px;
|
||||||
height: 441px;
|
height: 441px;
|
||||||
}
|
}
|
||||||
@@ -10,6 +10,12 @@
|
|||||||
width: 141px;
|
width: 141px;
|
||||||
height: 441px;
|
height: 441px;
|
||||||
}
|
}
|
||||||
|
.promo_ios {
|
||||||
|
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
|
background-position: 0px -244px;
|
||||||
|
width: 325px;
|
||||||
|
height: 336px;
|
||||||
|
}
|
||||||
.promo_mystery_201803 {
|
.promo_mystery_201803 {
|
||||||
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: -915px -296px;
|
background-position: -915px -296px;
|
||||||
@@ -18,7 +24,7 @@
|
|||||||
}
|
}
|
||||||
.promo_rainbow_potions {
|
.promo_rainbow_potions {
|
||||||
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: -284px -244px;
|
background-position: -284px -581px;
|
||||||
width: 141px;
|
width: 141px;
|
||||||
height: 441px;
|
height: 441px;
|
||||||
}
|
}
|
||||||
@@ -42,7 +48,7 @@
|
|||||||
}
|
}
|
||||||
.promo_spring_fling_2018 {
|
.promo_spring_fling_2018 {
|
||||||
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
|
||||||
background-position: 0px -244px;
|
background-position: 0px -581px;
|
||||||
width: 141px;
|
width: 141px;
|
||||||
height: 588px;
|
height: 588px;
|
||||||
}
|
}
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 108 KiB After Width: | Height: | Size: 160 KiB |
@@ -1,7 +1,7 @@
|
|||||||
import Vue from 'vue';
|
import Vue from 'vue';
|
||||||
import VueRouter from 'vue-router';
|
import VueRouter from 'vue-router';
|
||||||
import getStore from 'client/store';
|
import getStore from 'client/store';
|
||||||
import * as Analytics from 'client/libs/analytics';
|
// import * as Analytics from 'client/libs/analytics';
|
||||||
|
|
||||||
// import EmptyView from './components/emptyView';
|
// import EmptyView from './components/emptyView';
|
||||||
|
|
||||||
@@ -342,12 +342,15 @@ router.beforeEach(function routerGuard (to, from, next) {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
Analytics.track({
|
Analytics.track({
|
||||||
hitType: 'pageview',
|
hitType: 'pageview',
|
||||||
eventCategory: 'navigation',
|
eventCategory: 'navigation',
|
||||||
eventAction: 'navigate',
|
eventAction: 'navigate',
|
||||||
page: to.name || to.path,
|
page: to.name || to.path,
|
||||||
});
|
});
|
||||||
|
*/
|
||||||
|
|
||||||
next();
|
next();
|
||||||
});
|
});
|
||||||
|
|||||||
BIN
website/raw_sprites/spritesmith_large/promo_ios.png
Normal file
BIN
website/raw_sprites/spritesmith_large/promo_ios.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 48 KiB |
@@ -3,7 +3,7 @@ import { authWithHeaders } from '../../middlewares/auth';
|
|||||||
let api = {};
|
let api = {};
|
||||||
|
|
||||||
// @TODO export this const, cannot export it from here because only routes are exported from controllers
|
// @TODO export this const, cannot export it from here because only routes are exported from controllers
|
||||||
const LAST_ANNOUNCEMENT_TITLE = 'SQUIRREL PET QUEST AND APRIL FOOLS CHALLENGE WINNERS';
|
const LAST_ANNOUNCEMENT_TITLE = 'iOS APP UPDATE!';
|
||||||
const worldDmg = { // @TODO
|
const worldDmg = { // @TODO
|
||||||
bailey: false,
|
bailey: false,
|
||||||
};
|
};
|
||||||
@@ -32,21 +32,17 @@ api.getNews = {
|
|||||||
<h1 class="align-self-center">${res.t('newStuff')}</h1>
|
<h1 class="align-self-center">${res.t('newStuff')}</h1>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<h2>4/10/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
|
<h2>4/17/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
|
||||||
<hr/>
|
<hr/>
|
||||||
<div class="media align-items-center">
|
<div class="media align-items-center">
|
||||||
<div class="media-body">
|
<div class="media-body">
|
||||||
<h3>New Pet Quest: The Sneaky Squirrel</h3>
|
<p>We've released a new <a href='https://itunes.apple.com/us/app/habitica-gamified-taskmanager/id994882113?mt=8' target='_blank'>iOS update</a>! In this update, we've added new features including the ability to purchase equipment from the Market, performance fixes for chat, and accessibility improvements. We've also smashed a number of pesky bugs, including problems some users experienced with notifications, chat, and Challenges!</p>
|
||||||
<p>Squirrels are loose, jamming up Habitican routines with stray acorns! Find and confront the hoarder in the latest pet quest, <a href='/shops/quests/' target='_blank'>The Sneaky Squirrel</a>, and earn some bushy-tailed squirrel pets by completing your real-life tasks.</p>
|
<p>We hope you enjoy the update! Be sure to download it now for a better Habitica experience!</p>
|
||||||
<div class="small">Art by randomdaisy, Shtut, virginiamoon, confusedcicada, and WillowTheWitty</div>
|
<p>If you like the improvements that we’ve been making to our app, please consider reviewing this new version. It really helps us out! Old reviews get hidden with each update, but if you go to the review section you can re-post them again with a single tap.</p>
|
||||||
<div class="small mb-3">Writing by Cantras and SabreCat</div>
|
<div class="small mb-3">by Viirus and piyorii</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="quest_squirrel ml-3"></div>
|
<div class="promo_ios ml-3"></div>
|
||||||
</div>
|
</div>
|
||||||
<h3>April Fool's Challenge Winners and Blog Post!</h3>
|
|
||||||
<p>The winners of the April Fool's Social Media Challenge have been selected! Congratulations to: Al Lith, Frar of the Lonely Mountain, Garwinna, Meakuel, and Koliz!</p>
|
|
||||||
<p>Thank you to everyone who shared their awesome pics with their tiny pets and mounts! You can see a fun <a href='https://habitica.wordpress.com/2018/04/10/its-the-little-things-tiny-pet-and-mount-pics-from-habiticas-april-fools-celebration/' target='_blank'>recap of the shenanigans</a> on our blog. Stay tuned to see what wacky antics the Fool gets up to next year!</p>
|
|
||||||
<div class="small mb-3">by Beffymaroo and SabreCat</div>
|
|
||||||
</div>
|
</div>
|
||||||
`,
|
`,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user