Fix presskit (#9418)

* Move presskit to static folder

* Fix image location

* Add press kit FAQ strings

* Add faq section, fix images

* Update Images

* Add images to presskit page

* Remove unecessary parts
This commit is contained in:
MathWhiz
2018-01-12 16:18:20 -06:00
committed by Sabe Jones
parent 9e1a262f96
commit 183c90ac3a
58 changed files with 103 additions and 37 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 38 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 140 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 172 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 121 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 308 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 147 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 201 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 171 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 169 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 624 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 372 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 324 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 360 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 296 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 191 KiB

View File

@@ -1,24 +1,33 @@
<template lang="pug"> <template lang="pug">
.container-fluid .container-fluid
h1 {{ $t('presskit') }} h1 {{ $t('presskit') }}
p {{ $t('presskitText', { pressEnquiryEmail : PRESS_ENQUIRY_EMAIL }) }} p {{ $t('presskitText', { pressEnquiryEmail : PRESS_ENQUIRY_EMAIL }) }}
p p
a.btn.btn-lg.btn-success(href='~assets/images/presskit/presskit.zip') presskit.zip a.btn.btn-lg.btn-success(href='/static/presskit/presskit.zip') presskit.zip
div(v-for='(images, category) in imgs') div(v-for='(images, category) in imgs')
h2 {{ $t('pk' + category) }} h2 {{ $t('pk' + category) }}
div(v-if='Array.isArray(images)') div(v-if='Array.isArray(images)')
div(v-for='img in images') div(v-for='img in images')
img.img-rendering-auto.press-img(:src="`assets/images/presskit/${category}/${img}.png`") img.img-fluid.img-rendering-auto.press-img(:src="`/static/presskit/${category}/${img}`")
div(v-else) div(v-else)
div(v-for='(images, category) in images') div(v-for='(images, secondaryCategory) in images')
h3 {{ $t('pk' + category) }} h3 {{ $t('pk' + secondaryCategory) }}
div(v-for='img in images') div(v-for='img in images')
img.img-rendering-auto.press-img(:src="~`assets/images/presskit/${category}/${img}.png`") img.img-fluid.img-rendering-auto.press-img(:src="`/static/presskit/${category}/${secondaryCategory}/${img}`")
h1 {{ $t('FAQ') }}
#faq(role='tablist')
div(v-for='(QA, index) in faq')
h2(v-b-toggle="QA.question", tabindex="0", role="button", v-html="$t(QA.question)")
b-collapse(:id="QA.question", accordion="pkAccordian", role="tabpanel")
p(v-html="$t(QA.answer)")
p {{ $t('pkMoreQuestions') }}
</template> </template>
<script> <script>
// @TODO: How to use images?
// @TODO: EMAILS.PRESS_ENQUIRY_EMAIL // @TODO: EMAILS.PRESS_ENQUIRY_EMAIL
const PRESS_ENQUIRY_EMAIL = 'admin@habitica.com'; const PRESS_ENQUIRY_EMAIL = 'admin@habitica.com';
@@ -28,49 +37,89 @@
PRESS_ENQUIRY_EMAIL, PRESS_ENQUIRY_EMAIL,
imgs: { imgs: {
Promo: [ Promo: [
'Promo', 'Promo.png',
'Promo - Thin', 'Promo - Thin.png',
], ],
Logo: [ Logo: [
'Icon with Text', 'Icon with Text.png',
'Habitica Gryphon', 'Icon.png',
'iOS', 'Text.png',
'Android', 'Habitica Gryphon.png',
'iOS.png',
'Android.png',
], ],
Boss: [ Boss: [
'Basi-List', 'Basi-List.png',
'Stagnant Dishes', 'Stagnant Dishes.png',
'SnackLess Monster', 'SnackLess Monster.png',
'Laundromancer', 'Laundromancer.png',
'Necro-Vice', 'Necro-Vice.png',
'Battling the Ghost Stag', 'Battling the Ghost Stag.png',
'Dread Drag\'on of Dilatory', 'Dread Drag\'on of Dilatory.png',
], ],
Samples: { Samples: {
Website: [ Website: [
'Tasks Page', 'CheckInIncentives.png',
'Equipment', 'Inventory.png',
'Market', 'Equipment.png',
'Guilds', 'Market.png',
'Challenges', 'Market2.png',
'Tavern.png',
'Guilds.png',
'Challenges.png',
], ],
iOS: [ iOS: [
'Tasks Page', 'Tasks Page.png',
'Level Up', 'Level Up.png',
'Pets', 'Market.png',
'Party', 'Party.png',
'Boss', 'Boss.png',
], ],
Android: [ Android: [
'User', 'Login.png',
'Tasks Page', 'User.png',
'Reward', 'Tasks Page.png',
'Level Up', 'Add Tasks.png',
'Tavern', 'Stats.png',
'Party', 'Shops.png',
'Party.png',
], ],
}, },
}, },
faq: [
{
question: 'pkQuestion1',
answer: 'pkAnswer1',
},
{
question: 'pkQuestion2',
answer: 'pkAnswer2',
},
{
question: 'pkQuestion3',
answer: 'pkAnswer3',
},
{
question: 'pkQuestion4',
answer: 'pkAnswer4',
},
{
question: 'pkQuestion5',
answer: 'pkAnswer5',
},
{
question: 'pkQuestion6',
answer: 'pkAnswer6',
},
{
question: 'pkQuestion7',
answer: 'pkAnswer7',
},
{
question: 'pkQuestion8',
answer: 'pkAnswer8',
},
],
}; };
}, },
}; };

View File

@@ -141,6 +141,23 @@
"presskit": "Press Kit", "presskit": "Press Kit",
"presskitDownload": "Download all images:", "presskitDownload": "Download all images:",
"presskitText": "Thanks for your interest in Habitica! The following images can be used for articles or videos about Habitica. For more information, please contact Siena Leslie at <%= pressEnquiryEmail %>.", "presskitText": "Thanks for your interest in Habitica! The following images can be used for articles or videos about Habitica. For more information, please contact Siena Leslie at <%= pressEnquiryEmail %>.",
"pkQuestion1": "What inspired Habitica? How did it start?",
"pkAnswer1": "If youve ever invested time in leveling up a character in a game, its hard not to wonder how great your life would be if you put all of that effort into improving your real-life self instead of your avatar. We starting building Habitica to address that question. <br /> Habitica officially launched with a Kickstarter in 2013, and the idea really took off. Since then, its grown into a huge project, supported by our awesome open-source volunteers and our generous users.",
"pkQuestion2": "Why does Habitica work?",
"pkAnswer2": "Forming a new habit is hard because people really need that obvious, instant reward. For example, its tough to start flossing, because even though our dentist tells us that it's healthier in the long run, in the immediate moment it just makes your gums hurt. <br /> Habitica's gamification adds a sense of instant gratification to everyday objectives by rewarding a tough task with experience, gold… and maybe even a random prize, like a dragon egg! This helps keep people motivated even when the task itself doesn't have an intrinsic reward, and we've seen people turn their lives around as a result. You can check out success stories here: https://habitversary.tumblr.com",
"pkQuestion3": "Why did you add social features?",
"pkAnswer3": "Social pressure is a huge motivating factor for a lot of people, so we knew that we wanted to have a strong community that would hold each other accountable for their goals and cheer for their successes. Luckily, one of the things that multiplayer video games do best is foster a sense of community among their users! Habiticas community structure borrows from these types of games; you can form a small Party of close friends, but you can also join a larger, shared-interest groups known as a Guild. Although some users choose to play solo, most decide to form a support network that encourages social accountability through features such as Quests, where Party members pool their productivity to battle monsters together.",
"pkQuestion4": "Why does skipping tasks remove your avatars health?",
"pkAnswer4": "If you skip one of your daily goals, your avatar will lose health the following day. This serves as an important motivating factor to encourage people to follow through with their goals because people really hate hurting their little avatar! Plus, the social accountability is critical for a lot of people: if youre fighting a monster with your friends, skipping your tasks hurts their avatars, too.",
"pkQuestion5": "What distinguishes Habitica from other gamification programs?",
"pkAnswer5": "One of the ways that Habitica has been most successful at using gamification is that we've put a lot of effort into thinking about the game aspects to ensure that they are actually fun. We've also included many social components, because we feel that some of the most motivating games let you play with friends, and because research has shown that it's easier to form habits when you have accountability to other people.",
"pkQuestion6": "Who is the typical user of Habitica?",
"pkAnswer6": "Lots of different people use Habitica! More than half of our users are ages 18 to 34, but we have grandparents using the site with their young grandkids and every age in-between. Often families will join a party and battle monsters together. <br /> Many of our users have a background in games, but surprisingly, when we ran a survey a while back, 40% of our users identified as non-gamers! So it looks like our method can be effective for anyone who wants productivity and wellness to feel more fun.",
"pkQuestion7": "Why does Habitica use pixel art?",
"pkAnswer7": "Habitica uses pixel art for several reasons. In addition to the fun nostalgia factor, pixel art is very approachable to our volunteer artists who want to chip in. It's much easier to keep our pixel art consistent even when lots of different artists contribute, and it lets us quickly generate a ton of new content!",
"pkQuestion8": "How has Habitica affected people's real lives?",
"pkAnswer8": "You can find lots of testimonials for how Habitica has helped people here: https://habitversary.tumblr.com",
"pkMoreQuestions": "Do you have a question thats not on this list? Send an email to leslie@habitica.com!",
"pkVideo": "Video", "pkVideo": "Video",
"pkPromo": "Promos", "pkPromo": "Promos",
"pkLogo": "Logos", "pkLogo": "Logos",

View File

Before

Width:  |  Height:  |  Size: 7.6 KiB

After

Width:  |  Height:  |  Size: 7.6 KiB

View File

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 11 KiB

View File

Before

Width:  |  Height:  |  Size: 30 KiB

After

Width:  |  Height:  |  Size: 30 KiB

View File

Before

Width:  |  Height:  |  Size: 7.1 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

View File

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 5.7 KiB

View File

Before

Width:  |  Height:  |  Size: 27 KiB

After

Width:  |  Height:  |  Size: 27 KiB

View File

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

View File

Before

Width:  |  Height:  |  Size: 4.1 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

View File

Before

Width:  |  Height:  |  Size: 17 KiB

After

Width:  |  Height:  |  Size: 17 KiB

View File

Before

Width:  |  Height:  |  Size: 28 KiB

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 202 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 199 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 190 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 103 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 203 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 32 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 141 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 192 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 89 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 160 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 194 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 429 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 404 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 365 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 347 KiB