Skip to content
This repository has been archived by the owner on May 14, 2021. It is now read-only.

Victor/eco 1468/applying white theme #23

Open
wants to merge 31 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
dd96245
poll new ui
Doc999tor Apr 14, 2019
248d27d
added navigate back functionality
Doc999tor Apr 15, 2019
7c51021
back image changed
Doc999tor Apr 16, 2019
f8240c5
quiz ui draft
Doc999tor Apr 16, 2019
a9507f7
quiz+poll new design
Doc999tor Apr 30, 2019
c0726b4
basic script for changing offer_contents pages schema
May 2, 2019
53dff4c
images paths changed to S3
May 5, 2019
1e57fce
images paths fix
May 5, 2019
2f36c0d
title font-weight increased to 500, fixed updateJsonSchema script
May 5, 2019
f280c2f
first draft
May 7, 2019
7999cae
PR fixes
May 7, 2019
a513f06
tutorial page naviagation preparations
May 7, 2019
5fb0587
PR fix
May 8, 2019
e611171
navigation
May 8, 2019
30f83c3
styles fixes
May 12, 2019
2ca3777
PR fixes
Doc999tor May 12, 2019
03902ef
first draft
May 7, 2019
f60e9fd
tutorial page naviagation preparations
May 7, 2019
7002e92
navigation
May 8, 2019
b870054
styles fixes
May 12, 2019
0d71fa7
Merge branch 'victor/ECO-1368/tutorial_new_ui' of https://github.com/…
Doc999tor May 14, 2019
3f3d45a
tutorial new ui + new images; cancelled navigation back and hideTopBa…
Doc999tor May 28, 2019
1b05af3
EarnThankYou price fix
Doc999tor May 28, 2019
46afcab
updated poll structure for faucet support
Doc999tor May 29, 2019
a136024
added white theme
Doc999tor May 29, 2019
bef9986
fixes
Doc999tor May 30, 2019
7f65e19
fixes
Doc999tor May 30, 2019
bdaf4b6
Fix ECO-1469: Border for wrong answer
vanessatk Jun 3, 2019
7c47a1d
border decreased to 1px width
Doc999tor Jun 4, 2019
5d84f38
solves ECO-1545
Jul 29, 2019
8582164
i18n ( ECO-1560 ) (#24)
shaharsol Jul 29, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
199 changes: 117 additions & 82 deletions html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width">
<script>

(function (PageType) {
Expand Down Expand Up @@ -30,122 +31,156 @@
jsonData = {
pages: [
//*** Tutorial ***//
{
id: "ASsdgASD#$5F",
type: PageType.ImageAndText,
image: "https://s3.amazonaws.com/htmlpoll.kinecosystem.com/images/kin-logo.svg",
title: "What is Kin?",
bodyHtml: "Kin is a new currency for use in everyday digital services. In our Marketplace you\’ll be able to earn Kin by completing tasks and spend Kin on top brands",
rewardText: "Finish the tutorial and earn",
rewardValue: 6000,
buttonText: "Next",
},
{
id: "3e#$5F",
type: PageType.ImageAndText,
image: "https://s3.amazonaws.com/htmlpoll.kinecosystem.com/images/globehands.svg",
title: "Kin Marketplace",
bodyHtml: "The Kin Marketplace experience provides you with a core wallet functionally which includes a place to view your balance as well as incoming/outgoing payments. The Marketplace is a home base where you can engage in the earn/spend opportunities.",
rewardText: "Finish the tutorial and earn",
rewardValue: 6000,
buttonText: "Next",
},
{
id: "ASDFASD#$5F",
type: PageType.ImageAndText,
image: "https://s3.amazonaws.com/htmlpoll.kinecosystem.com/images/kin-club.svg",
title: "How to earn/spend Kin?",
bodyHtml: "You can earn Kin by investing a little time to complete tasks such as answering short surveys, watching a video or reading a tutorial just like this one.",
rewardText: "Finish the tutorial and earn",
rewardValue: 6000,
buttonText: "Got It",
},
{
type: PageType.EarnThankYou,
rewardValue: "4,500"
},

//*** Poll ***//
// {
// type: PageType.ImageAndText,
// id: "ASsdgASD#$5F",
// image: "https://s3.amazonaws.com/htmlpoll.kinecosystem.com/kinlogoTut%403x.png",
// title: "What is Kin?",
// bodyHtml: "Kin is a new currency for use in everyday digital services. In our Marketplace you\’ll be able to earn Kin by completing tasks and spend Kin on top brands",
// footerHtml: "Finish the tutorial and earn <span style='color:#047cfc;'>6,000</span> Kin",
// buttonText: "Next",
// },
// {
// id: "3e#$5F",
// type: PageType.ImageAndText,
// image: "https://s3.amazonaws.com/htmlpoll.kinecosystem.com/kinMarketplaceIcon%403x.png",
// title: "Kin Marketplace",
// bodyHtml: "The Kin Marketplace experience provides you with a core wallet functionally which includes a place to view your balance as well as incoming/outgoing payments. The Marketplace is a home base where you can engage in the earn/spend opportunities.",
// footerHtml: "Finish the tutorial and earn <span style='color:#047cfc;'>6,000</span> Kin",
// buttonText: "Next",
// },
// {
// id: "ASDFASD#$5F",
// type: PageType.ImageAndText,
// image: "https://s3.amazonaws.com/htmlpoll.kinecosystem.com/walletsIcon%403x.png",
// title: "How to earn/spend Kin?",
// bodyHtml: "You can earn Kin by investing a little time to complete tasks such as answering short surveys, watching a video or reading a tutorial just like this one.",
// footerHtml: "Finish the tutorial and earn <span style='color:#047cfc;'>6,000</span> Kin",
// buttonText: "Got It",
// },
// {
// type: PageType.EarnThankYou,
// description: "4,500"
// type: PageType.FullPageMultiChoice,
// title: "Who do you primarily chat with on Kik?",
// rewardText: "Finish the poll to earn",
// rewardValue: 6000,
// question: {
// id: "G@#$",
// answers: [
// "New friends I’ve met on Kik",
// "Friends I’ve met elsewhere online",
// "Friends I know from real life",
// "An equal mix of all three!",
// "An equal mix of all four!",
// ],
// },
// },
//
//*** Poll ***//
// {
// type: PageType.FullPageMultiChoice,
// title: "Who do you primarily chat with on Kik?",
// description: "Finish the poll to earn <span style='color:#047cfc;'>6,000</span> Kin",
// rewardText: "Finish the poll to earn",
// rewardValue: 6000,
// question: {
// id: "G@#$",
// answers: [
// "New friends I’ve met on Kik",
// "Friends I’ve met elsewhere online",
// "Friends I know from real life",
// "An equal mix of all three!",
// "An equal mix of all four!",
// ],
// },
// },
// {
// type: PageType.EarnThankYou,
// description: "4,500"
// description: "4,500",
// rewardValue: "4,500",
// },

//*** Quiz ***//
// {
// type: PageType.TimedFullPageMultiChoice,
// description: "What was the name of the substance that Star Wars hero Han Solo was encased in?",
// title: "What was the name of the substance that Star Wars hero Han Solo was encased in?",
// amount: 15,
// rightAnswer: 3,
// rewardText: "Finish the poll to earn",
// rewardValue: 6000,
// question: {
// id: "erthwt",
// answers: [
// "Radonite",
// "Argonite",
// "Carbonite",
// "Kryptonite",
// "Kryptonite-2",
// ],
// },
// },
{
type: PageType.TimedFullPageMultiChoice,
description: "How much wood could a woodchuck chuck?",
amount: 15,
rightAnswer: 2,
question: {
id: "question-1",
answers: [
"Not a lot, they are very small",
"A woodchuck would chuck as much wood as a woodchuck could chuck",
"320 kg",
"361.9237001 cm3",
],
},
},
{
type: PageType.TimedFullPageMultiChoice,
description: "Yes?",
amount: 20,
rightAnswer: 3,
question: {
id: "question-2",
answers: [
"Of course",
"no",
"320 kg",
"Camel",
],
},
},
{
type: PageType.TimedFullPageMultiChoice,
description: "Color?",
amount: 15,
rightAnswer: 4,
question: {
id: "question-3",
answers: [
"Yellow",
"Red",
"Crimson",
"Dorothy",
],
},
},
{
type: PageType.SuccessBasedThankYou,
},
// {
// type: PageType.TimedFullPageMultiChoice,
// title: "How much wood could a woodchuck chuck?",
// amount: 15,
// rightAnswer: 2,
// rewardText: "Finish the poll to earn",
// rewardValue: 6000,
// question: {
// id: "question-1",
// answers: [
// "Not a lot, they are very small",
// "A woodchuck would chuck as much wood as a woodchuck could chuck",
// "320 kg",
// "361.9237001 cm3",
// "361.9237001 cm3-2",
// ],
// },
// },
// {
// type: PageType.TimedFullPageMultiChoice,
// title: "Yes?",
// amount: 20,
// rightAnswer: 3,
// rewardText: "Finish the poll to earn",
// rewardValue: 6000,
// question: {
// id: "question-2",
// answers: [
// "Of course",
// "no",
// "320 kg",
// "Camel",
// "Camel-2",
// ],
// },
// },
// {
// type: PageType.TimedFullPageMultiChoice,
// title: "Color?",
// amount: 15,
// rightAnswer: 4,
// rewardText: "Finish the poll to earn",
// rewardValue: 6000,
// question: {
// id: "question-3",
// answers: [
// "Yellow",
// "Red",
// "Crimson",
// "Dorothy",
// "Dorothy-2",
// ],
// },
// },
// {
// type: PageType.SuccessBasedThankYou,
// },
]
}
}
Expand Down
Loading