feat(event): avatar customizations

This commit is contained in:
SabreCat 2018-04-05 21:03:57 +00:00
parent d9b852e1ea
commit 952e813b30
5 changed files with 27 additions and 16 deletions

View file

@ -6,28 +6,34 @@
}
.promo_hugabug_bundle {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -284px -244px;
background-position: -532px 0px;
width: 141px;
height: 441px;
}
.promo_mystery_201803 {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -915px -148px;
background-position: -915px -296px;
width: 114px;
height: 90px;
}
.promo_rainbow_potions {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -532px 0px;
background-position: -284px -244px;
width: 141px;
height: 441px;
}
.promo_seasonalshop_spring {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -674px -344px;
background-position: -674px -492px;
width: 162px;
height: 138px;
}
.promo_shimmer_pastel {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -674px -148px;
width: 354px;
height: 147px;
}
.promo_shiny_seeds {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -674px 0px;
@ -42,7 +48,7 @@
}
.promo_take_this {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -915px -239px;
background-position: -915px -387px;
width: 114px;
height: 87px;
}
@ -54,7 +60,7 @@
}
.scene_todos {
background-image: url('~assets/images/sprites/spritesmith-largeSprites-0.png');
background-position: -674px -148px;
background-position: -674px -296px;
width: 240px;
height: 195px;
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 100 KiB

After

Width:  |  Height:  |  Size: 108 KiB

View file

@ -10,12 +10,12 @@ module.exports = prefill({
winterHairColors: {setPrice: 5, availableUntil: '2016-01-01'},
pastelHairColors: {setPrice: 5, availableUntil: '2016-01-01'},
rainbowHairColors: {setPrice: 5, text: t('rainbowColors')},
shimmerHairColors: {setPrice: 5, availableUntil: '2017-05-02', text: t('shimmerColors')},
shimmerHairColors: {setPrice: 5, availableFrom: '2018-04-05', availableUntil: '2018-05-02', text: t('shimmerColors')},
hauntedHairColors: {setPrice: 5, availableFrom: '2017-10-01', availableUntil: '2017-11-02', text: t('hauntedColors')},
winteryHairColors: {setPrice: 5, availableFrom: '2018-01-04', availableUntil: '2018-02-02', text: t('winteryColors')},
rainbowSkins: {setPrice: 5, text: t('rainbowSkins')},
animalSkins: {setPrice: 5, text: t('animalSkins')},
pastelSkins: {setPrice: 5, availableUntil: '2017-05-02', text: t('pastelSkins')},
pastelSkins: {setPrice: 5, availableFrom: '2018-04-05', availableUntil: '2018-05-02', text: t('pastelSkins')},
spookySkins: {setPrice: 5, availableUntil: '2016-01-01', text: t('spookySkins')},
supernaturalSkins: {setPrice: 5, availableFrom: '2017-10-01', availableUntil: '2017-11-02', text: t('supernaturalSkins')},
splashySkins: {setPrice: 5, availableUntil: '2017-08-02', text: t('splashySkins')},

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB

View file

@ -3,7 +3,7 @@ import { authWithHeaders } from '../../middlewares/auth';
let api = {};
// @TODO export this const, cannot export it from here because only routes are exported from controllers
const LAST_ANNOUNCEMENT_TITLE = 'SHINY SEEDS';
const LAST_ANNOUNCEMENT_TITLE = 'SHIMMER HAIR, PASTEL SKINS, HABITICA FORGE TWITTER, AND GUILD SPOTLIGHT';
const worldDmg = { // @TODO
bailey: false,
};
@ -32,14 +32,19 @@ api.getNews = {
<h1 class="align-self-center">${res.t('newStuff')}</h1>
</div>
</div>
<h2>4/3/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
<h2>4/5/2018 - ${LAST_ANNOUNCEMENT_TITLE}</h2>
<hr/>
<div class="promo_shiny_seeds center-block"></div>
<h3>Shiny Seeds</h3>
<p>Throw a Shiny Seed at your friends and they will turn into a cheerful flower until their next cron! You can buy the Seeds in the <a href='/shops/seasonal' target='_blank'>Seasonal Shop</a> for gold. Plus, if you get transformed by a Shiny Seed, you'll receive the Agricultural Friends badge!</p>
<p>Don't want to be a flower? Just buy some Petal-Free Potion from your Rewards column to reverse it.</p>
<p>Shiny Seeds will be available in the <a href='/shops/seasonal' target='_blank'>Seasonal Shop</a> until April 30th!</p>
<div class="small mb-3">by Lemoness</div>
<div class="promo_shimmer_pastel center-block"></div>
<h3>Shimmer Hair Colors and Pastel Skin Set</h3>
<p>The Seasonal Edition Shimmer Hair Colors and Pastel Skin Set are now available for purchase in User > Edit Avatar! These skin sets will only be available to purchase until April 30th, and then they will disappear from the shop until next Spring Fling. If you buy them, though, you will have access to them year-round!</p>
<div class="small mb-3">by Lemoness and McCoyly</div>
<h3>The Habitica Forge</h3>
<p>We've launched an exciting new Twitter account! <a href='https://twitter.com/habiticaforge' target='_blank'>Habitica Forge</a> will be tweeting automated updates about all the work of our fantastic blacksmiths. If you're curious about what fixes and improvements are in the works, be sure to check it out! This account will also be the official source for updates from Habitica about any site or app access issues or outages.</p>
<div class="small mb-3">by Beffymaroo, TheHollidayInn, Paglias, Alys, Viirus, SabreCat, Blade, and all Habitica's wonderful Blacksmiths!</div>
<h3>Be the Change: Guilds for Making a Difference</h3>
<p>There's a new <a href='https://habitica.wordpress.com/2018/04/05/be-the-change-guilds-for-making-a-difference/' target='_blank'>Guild Spotlight on the blog</a> that highlights the Guilds that can help you as you work to make the world a better place! Check it out now to find Habitica's best communities for volunteers and general do-gooders.</p>
<div class="small mb-3">by Beffymaroo</div>
<div class="scene_positivity center-block"></div>
</div>
`,
});