2019-10-12 14:33:05 +00:00
|
|
|
<template>
|
|
|
|
|
<div
|
|
|
|
|
id="front"
|
|
|
|
|
class="static-view"
|
|
|
|
|
>
|
2019-10-12 15:05:15 +00:00
|
|
|
<noscript class="banner">
|
|
|
|
|
{{ $t('jsDisabledHeadingFull') }}
|
|
|
|
|
<br />
|
2022-06-10 19:02:58 +00:00
|
|
|
<a href="https://www.enable-javascript.com/" target="_blank">{{ $t('jsDisabledLink') }}</a>
|
2019-10-12 15:05:15 +00:00
|
|
|
</noscript>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
id="intro-signup"
|
|
|
|
|
class="purple-1"
|
|
|
|
|
>
|
|
|
|
|
<div class="container">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-12 col-md-6 col-lg-6">
|
|
|
|
|
<img
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/home-main@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="357px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<h1>{{ $t('motivateYourself') }}</h1>
|
|
|
|
|
<p class="section-main">
|
2019-10-12 14:33:05 +00:00
|
|
|
{{ $t('timeToGetThingsDone', {userCountInMillions}) }}
|
|
|
|
|
</p>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="col-12 col-md-6 col-lg-6">
|
2019-10-12 14:33:05 +00:00
|
|
|
<h3 class="text-center">
|
|
|
|
|
{{ $t('singUpForFree') }}
|
2019-10-12 15:05:15 +00:00
|
|
|
</h3>
|
2019-12-18 18:02:15 +00:00
|
|
|
<form
|
2019-10-12 14:33:05 +00:00
|
|
|
class="form"
|
2019-12-18 18:02:15 +00:00
|
|
|
@submit.prevent.stop="register()"
|
2019-10-12 14:33:05 +00:00
|
|
|
>
|
|
|
|
|
<p class="form-text">
|
|
|
|
|
{{ $t('usernameLimitations') }}
|
2019-10-12 15:05:15 +00:00
|
|
|
</p>
|
|
|
|
|
<input
|
2019-10-12 14:33:05 +00:00
|
|
|
id="usernameInput"
|
|
|
|
|
v-model="username"
|
2019-12-18 18:02:15 +00:00
|
|
|
class="form-control input-with-error"
|
2019-10-12 14:33:05 +00:00
|
|
|
type="text"
|
|
|
|
|
:placeholder="$t('username')"
|
|
|
|
|
:class="{'input-valid': usernameValid, 'input-invalid': usernameInvalid}"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
2019-10-13 16:04:04 +00:00
|
|
|
<!-- eslint-disable vue/require-v-for-key -->
|
2019-10-12 15:05:15 +00:00
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
v-for="issue in usernameIssues"
|
|
|
|
|
class="input-error"
|
|
|
|
|
>
|
2019-10-13 16:04:04 +00:00
|
|
|
<!-- eslint-enable vue/require-v-for-key -->
|
2019-10-12 14:33:05 +00:00
|
|
|
{{ issue }}
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<input
|
2019-10-12 14:33:05 +00:00
|
|
|
v-model="email"
|
|
|
|
|
class="form-control"
|
|
|
|
|
type="email"
|
|
|
|
|
:placeholder="$t('email')"
|
|
|
|
|
:class="{'input-invalid': emailInvalid, 'input-valid': emailValid}"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<input
|
2019-10-12 14:33:05 +00:00
|
|
|
v-model="password"
|
2019-12-18 18:02:15 +00:00
|
|
|
class="form-control input-with-error"
|
2019-10-12 14:33:05 +00:00
|
|
|
type="password"
|
|
|
|
|
:placeholder="$t('password')"
|
2019-12-18 18:02:15 +00:00
|
|
|
:class="{
|
|
|
|
|
'input-valid': passwordValid,
|
|
|
|
|
'input-invalid': passwordInvalid,
|
|
|
|
|
}"
|
|
|
|
|
>
|
|
|
|
|
<div
|
|
|
|
|
v-if="passwordInvalid"
|
|
|
|
|
class="input-error"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
2019-12-18 18:02:15 +00:00
|
|
|
{{ $t('minPasswordLength') }}
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
<input
|
2019-10-12 14:33:05 +00:00
|
|
|
v-model="passwordConfirm"
|
2019-12-18 18:02:15 +00:00
|
|
|
class="form-control input-with-error"
|
2019-10-12 14:33:05 +00:00
|
|
|
type="password"
|
|
|
|
|
:placeholder="$t('confirmPassword')"
|
2019-10-13 16:04:04 +00:00
|
|
|
:class="{
|
|
|
|
|
'input-invalid': passwordConfirmInvalid,
|
|
|
|
|
'input-valid': passwordConfirmValid}"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
2019-12-18 18:02:15 +00:00
|
|
|
<div
|
|
|
|
|
v-if="passwordConfirmInvalid"
|
|
|
|
|
class="input-error"
|
|
|
|
|
>
|
|
|
|
|
{{ $t('passwordConfirmationMatch') }}
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
<p
|
2019-10-12 14:33:05 +00:00
|
|
|
v-once
|
|
|
|
|
class="form-text"
|
|
|
|
|
v-html="$t('termsAndAgreement')"
|
2019-10-12 15:05:15 +00:00
|
|
|
></p>
|
|
|
|
|
<button
|
2019-12-18 18:02:15 +00:00
|
|
|
class="btn btn-block btn-info sign-up"
|
|
|
|
|
:disabled="signupFormInvalid"
|
|
|
|
|
type="submit"
|
2019-10-12 14:33:05 +00:00
|
|
|
>
|
|
|
|
|
{{ $t('signup') }}
|
|
|
|
|
</button>
|
2019-12-18 18:02:15 +00:00
|
|
|
</form>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="col-12">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div
|
|
|
|
|
class="spacer svg-icon"
|
|
|
|
|
v-html="icons.spacer"
|
|
|
|
|
></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
id="gamify-life"
|
|
|
|
|
class="purple-2"
|
|
|
|
|
>
|
|
|
|
|
<div class="container-fluid">
|
|
|
|
|
<div
|
|
|
|
|
class="pixel-horizontal svg-icon"
|
|
|
|
|
v-html="icons.pixelHorizontal"
|
|
|
|
|
></div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="container">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-12 col-sm-6 col-md-6 col-lg-6 offset-sm-3 text-center">
|
2019-10-12 15:05:15 +00:00
|
|
|
<h2>{{ $t('gamifyYourLife') }}</h2>
|
|
|
|
|
<p class="section-main">
|
2019-10-12 14:33:05 +00:00
|
|
|
{{ $t('aboutHabitica') }}
|
|
|
|
|
</p>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="col-12 col-md-4">
|
|
|
|
|
<img
|
|
|
|
|
class="track-habits"
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/track-habits@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="354px"
|
|
|
|
|
height="228px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<strong>{{ $t('trackYourGoals') }}</strong>
|
|
|
|
|
<p>{{ $t('trackYourGoalsDesc') }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-12 col-md-4">
|
2019-10-12 14:33:05 +00:00
|
|
|
<img
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/earn-rewards@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="316px"
|
|
|
|
|
height="244px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<strong>{{ $t('earnRewards') }}</strong>
|
|
|
|
|
<p>{{ $t('earnRewardsDesc') }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-12 col-md-4">
|
2019-10-12 14:33:05 +00:00
|
|
|
<img
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/battle-monsters@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="303px"
|
|
|
|
|
height="244px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<strong>{{ $t('battleMonsters') }}</strong>
|
|
|
|
|
<p>{{ $t('battleMonstersDesc') }}</p>
|
2019-10-12 14:33:05 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="col-12">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div
|
|
|
|
|
class="spacer svg-icon"
|
|
|
|
|
v-html="icons.spacer"
|
|
|
|
|
></div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
id="use-cases"
|
|
|
|
|
class="purple-2"
|
|
|
|
|
>
|
|
|
|
|
<div class="container text-center">
|
|
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-12">
|
|
|
|
|
<h2>{{ $t('playersUseToImprove') }}</h2>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="col-12 col-sm-4">
|
|
|
|
|
<img
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/health-fitness@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="300px"
|
|
|
|
|
height="300px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<strong>{{ $t('healthAndFitness') }}</strong>
|
|
|
|
|
<p>{{ $t('healthAndFitnessDesc') }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-12 col-sm-4">
|
2019-10-12 14:33:05 +00:00
|
|
|
<img
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/school-work@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="300px"
|
|
|
|
|
height="300px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<strong>{{ $t('schoolAndWork') }}</strong>
|
|
|
|
|
<p>{{ $t('schoolAndWorkDesc') }}</p>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="col-12 col-sm-4">
|
2019-10-12 14:33:05 +00:00
|
|
|
<img
|
2025-06-12 00:20:11 +00:00
|
|
|
src="@/assets/images/home/much-more@3x.png"
|
2019-10-12 14:33:05 +00:00
|
|
|
width="300px"
|
|
|
|
|
height="300px"
|
2019-10-12 15:05:15 +00:00
|
|
|
>
|
|
|
|
|
<strong>{{ $t('muchmuchMore') }}</strong>
|
|
|
|
|
<p>{{ $t('muchmuchMoreDesc') }}</p>
|
2019-10-12 14:33:05 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="col-12">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div
|
|
|
|
|
class="spacer svg-icon"
|
|
|
|
|
v-html="icons.spacer"
|
|
|
|
|
></div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="container-fluid">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div
|
|
|
|
|
class="pixel-horizontal-2 svg-icon"
|
|
|
|
|
v-html="icons.pixelHorizontal2"
|
|
|
|
|
></div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
id="call-to-action"
|
|
|
|
|
class="purple-4"
|
|
|
|
|
>
|
|
|
|
|
<div class="container featured">
|
|
|
|
|
<div class="row text-center">
|
|
|
|
|
<h3 class="col-12">
|
2020-02-12 16:59:32 +00:00
|
|
|
{{ $t('joinMany', {userCountInMillions}) }}
|
2019-10-12 14:33:05 +00:00
|
|
|
</h3>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="row">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="col-12 text-center">
|
|
|
|
|
<button
|
Teams UI Redesign and A11y Updates (#12142)
* WIP(a11y): task modal updates
* fix(tasks): borders in modal
* fix(tasks): circley locks
* fix(task-modal): placeholders
* WIP(task-modal): disabled states, hide empty options, +/- restyle
* fix(task-modal): box shadows instead of borders, habit control pointer
* fix(task-modal): button states?
* fix(modal): tighten up layout, new spacing utils
* fix(tasks): more stylin
* fix(tasks): habit hovers
* fix(css): checklist labels, a11y colors
* fix(css): one more missed hover issue
* fix(css): lock Challenges, label fixes
* fix(css): scope input/textarea changes
* fix(style): task tweakies
* fix(style): more button fixage
* WIP(component): start select list story
* working example of a templated selectList
* fix(style): more button corrections
* fix(lint): EOL
* fix(buttons): factor btn-secondary to better override Bootstrap
* fix(styles): standardize more buttons
* wip: difficulty select - style fixes
* selectDifficulty works! :tada: - fix styles
* change the dropdown-item sizes only for the selectList ones
* selectTranslatedArray
* changed many label margins
* more correct dropdown style
* fix(modals): button corrections
* input-group styling + datetime picker without today button
* Style/margins for "repeat every" - extract selectTag.vue
* working tag-selection / update - cleanup
* fix stories
* fix svg color on create modal (purple)
* fix task modal bottom padding
* correct dropdown shadow
* update dropdown-toggle caret size / color
* fixed checklist style
* sync checked state
* selectTag padding
* fix spacing between positive/negative streak inputs
* toggle-checkbox + fix some spacings
* disable repeat-on when its a groupTask
* fix new checklist-item
* fix toggle-checkbox style - fix difficulty style
* fix checklist ui
* add tags label , when there arent any tags selected
* WORKING select-tag component :tada:
* fix taglist story
* show max 5 items in tag dropdown + "X more" label
* fix datetime clear button
* replace m-b-xs to mb-1 (bootstrap) - fix input-group-text style
* fix styles of advanced settings
* fix delete task styles
* always show grippy on hover of the item
* extract modal-text-input mixin + fix the borders/dropshadow
* fix(spacing): revert most to Bootstrap
* feat(checklists): make local copy of master checklist non-editable
also aggressively update checklists because they weren't syncing??
* fix(checklists): handle add/remove options better
* feat(teams): manager notes field
* fix select/dropdown styles
* input border + icon colors
* delete task underline color
* fix checklist "delete icon" vertical position
* selectTag fixes - normal open/close toggle working again - remove icon color
* fixing icons:
Trash can - Delete
Little X - Remove
Big X - Close
Block - Block
* fix taglist margins / icon sizes
* wip margin overview (in storybook)
* fix routerlink
* remove unused method
* new selectTag style + add markdown inside tagList + scrollable tag selection
* fix selectTag / selectList active border
* fix difficulty select (svg default color)
* fix input padding-left + fix reset habit streak fullwidth / padding + "repeat every" gray text (no border)
* feat(teams): improved approval request > approve > reward flow
* fix(tests): address failures
* fix(lint): oops only
* fix(tasks): short-circuit group related logic
* fix(tasks): more short circuiting
* fix(tasks): more lines, less lint
* fix(tasks): how do i keep missing these
* feat(teams): provide assigning user summary
* fix(teams): don't attempt to record assiging user if not supplied
* fix advanced-settings styling / margin
* fix merge + hide advanced streak settings when none enabled
* fix styles
* set Roboto font for advanced settings
* Add Challenge flag to the tag list
* add tag with enter, when no other tag is found
* fix styles + tag cancel button
* refactor footer / margin
* split repeat fields into option mt-3 groups
* button all the things
* fix(tasks): style updates
* no hover state for non-editable tasks on team board
* keep assign/claim footer on task after requesting approval
* disable more fields on user copy of team task, and remove hover states
for them
* fix(tasks): functional revisions
* "Claim Rewards" instead of "x" in task approved notif
* Remove default transition supplied by Bootstrap, apply individually to
some elements
* Delete individual tasks and related notifications when master task
deleted from team board
* Manager notes now save when supplied at task initial creation
* Can no longer dismiss rewards from approved task by hitting Dismiss
All
* fix(tasks): clean tasksOrder
also adjust related test expectation
* fix(tests): adjust integration expectations
* fix(test): ratzen fratzen only
* fix(teams): checklist, notes
* fix(teams): improve disabled states
* fix(teams): more style fixage
* BREAKING(teams): return 202 instead of 401 for approval request
* fix(teams): better taskboard sync
also re-re-fix checklist borders
* fix(tests): update expectations for breaking change
* refactor(task-modal): lockable label component
* refactor(teams): move task scoring to mixin
* fix(teams): style corrections
* fix(tasks): spacing and wording corrections
* fix(teams): don't bork manager notes
* fix(teams): assignment fix and more approval flow revisions
* WIP(teams): use tag dropdown control for assignment
* refactor(tasks): better spacing, generic multi select
* fix(tasks): various visual and behavior updates
* fix(tasks): incidental style tweaks
* fix(teams): standardize approval request response
* refactor(teams): correct test, use res.respond message param
* fix(storybook): renamed component
* fix(teams): age approval-required To Do's
Fixes #8730
* fix(teams): sync personal data as well as team on mixin sync
* fix(teams): hide unclaim button, not whole footer; fix switch focus
* fix(achievements): unrevert width fix
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
2020-07-25 12:37:10 +00:00
|
|
|
class="btn btn-primary btn-front join-button"
|
2019-10-12 14:33:05 +00:00
|
|
|
@click="playButtonClick()"
|
|
|
|
|
>
|
|
|
|
|
{{ $t('joinToday') }}
|
|
|
|
|
</button>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="row featured">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="col-12 text-center">
|
|
|
|
|
<strong>{{ $t('featuredIn') }}</strong>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="container-fluid featured">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="row">
|
|
|
|
|
<div class="col-12 text-center">
|
|
|
|
|
<div
|
|
|
|
|
class="lifehacker svg-icon"
|
|
|
|
|
v-html="icons.lifehacker"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="thenewyorktimes svg-icon"
|
|
|
|
|
v-html="icons.thenewyorktimes"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="makeuseof svg-icon"
|
|
|
|
|
v-html="icons.makeuseof"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="forbes svg-icon"
|
|
|
|
|
v-html="icons.forbes"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="cnet svg-icon"
|
|
|
|
|
v-html="icons.cnet"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="kickstarter svg-icon"
|
|
|
|
|
v-html="icons.kickstarter"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="fast-company svg-icon"
|
|
|
|
|
v-html="icons.fastCompany"
|
2019-10-12 15:05:15 +00:00
|
|
|
></div>
|
|
|
|
|
<div
|
2019-10-12 14:33:05 +00:00
|
|
|
class="discover svg-icon"
|
|
|
|
|
v-html="icons.discover"
|
|
|
|
|
></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2019-10-12 15:05:15 +00:00
|
|
|
</div>
|
|
|
|
|
<div class="container-fluid">
|
2019-10-12 14:33:05 +00:00
|
|
|
<div class="row seamless_stars_varied_opacity_repeat"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2017-07-20 18:20:53 +00:00
|
|
|
</template>
|
|
|
|
|
|
2018-01-31 10:55:39 +00:00
|
|
|
<style lang='scss'>
|
2025-06-12 00:20:11 +00:00
|
|
|
@import '@/assets/scss/static.scss';
|
2023-03-25 00:46:11 +00:00
|
|
|
#front .form-text a {
|
|
|
|
|
color: $white !important;
|
|
|
|
|
}
|
2018-01-31 10:55:39 +00:00
|
|
|
</style>
|
|
|
|
|
|
2017-07-31 19:54:52 +00:00
|
|
|
<style lang="scss" scoped>
|
2025-06-12 00:20:11 +00:00
|
|
|
@import '@/assets/scss/colors.scss';
|
2017-08-31 23:37:09 +00:00
|
|
|
|
2018-10-08 20:16:14 +00:00
|
|
|
@import url('https://fonts.googleapis.com/css?family=Varela+Round');
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
#front {
|
|
|
|
|
.container-fluid {
|
|
|
|
|
margin: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container {
|
|
|
|
|
padding-top: 5em;
|
|
|
|
|
padding-bottom: 5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purple-1, .purple-2, .purple-3, .purple-4, h1, h2, h3, h4, h5 {
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $white;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purple-1 {
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-300;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purple-2 {
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-100;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purple-3 {
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-50;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.purple-4 {
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $header-dark-background;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
p.section-main {
|
|
|
|
|
font-size: 18px;
|
|
|
|
|
line-height: 1.33;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h2 {
|
|
|
|
|
font-size: 48px;
|
|
|
|
|
line-height: 1.33;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.spacer {
|
|
|
|
|
width: 24px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-top: 2em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pixel-horizontal {
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $purple-300;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pixel-horizontal-2 {
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $purple-100;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.pixel-horizontal-3 {
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $header-dark-background;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
2018-10-08 20:16:14 +00:00
|
|
|
|
|
|
|
|
h1, h2, h3, h4, h5, h6, button, .strike > span, input {
|
|
|
|
|
font-family: 'Varela Round', sans-serif;
|
|
|
|
|
font-weight: normal;
|
|
|
|
|
}
|
2017-08-23 03:58:13 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
#intro-signup {
|
2025-06-12 00:20:11 +00:00
|
|
|
background-image: url('@/assets/svg/for-css/confetti.svg?raw');
|
2017-09-12 04:00:34 +00:00
|
|
|
|
|
|
|
|
img {
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h1 {
|
|
|
|
|
font-size: 56px;
|
|
|
|
|
line-height: 1.14;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
h3 {
|
2020-04-08 16:44:30 +00:00
|
|
|
font-size: 32px;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.social-button {
|
|
|
|
|
border-radius: 2px;
|
2022-10-07 21:10:29 +00:00
|
|
|
border: solid 2px $purple-500;
|
2020-04-08 16:44:30 +00:00
|
|
|
width: 100%;
|
2017-09-19 20:35:32 +00:00
|
|
|
min-height: 40px;
|
|
|
|
|
padding: .5em;
|
2017-09-12 04:00:34 +00:00
|
|
|
background: transparent;
|
2020-04-08 16:44:30 +00:00
|
|
|
margin-bottom: .5em;
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $purple-500;
|
2017-09-26 20:04:29 +00:00
|
|
|
transition: .5s;
|
|
|
|
|
|
|
|
|
|
span {
|
|
|
|
|
transition: none;
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-19 20:35:32 +00:00
|
|
|
.social-button:hover {
|
|
|
|
|
cursor: pointer;
|
2022-10-07 21:10:29 +00:00
|
|
|
border-color: $white;
|
|
|
|
|
color: $white;
|
2017-09-19 20:35:32 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.social-icon {
|
|
|
|
|
margin-right: 1em;
|
|
|
|
|
width: 18px;
|
|
|
|
|
height: 18px;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: top;
|
2020-04-08 16:44:30 +00:00
|
|
|
margin-top: .1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.apple-icon {
|
|
|
|
|
margin-top: -1px;
|
2024-03-11 14:59:57 +00:00
|
|
|
color: $white;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.strike {
|
|
|
|
|
display: block;
|
|
|
|
|
text-align: center;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
margin-top: 1.5em;
|
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.strike > span {
|
|
|
|
|
position: relative;
|
|
|
|
|
display: inline-block;
|
2018-10-08 20:16:14 +00:00
|
|
|
line-height: 1.14;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.strike > span:before,
|
|
|
|
|
.strike > span:after {
|
|
|
|
|
content: "";
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 50%;
|
|
|
|
|
width: 9999px;
|
|
|
|
|
height: 1px;
|
|
|
|
|
background: #fff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.strike > span:before {
|
|
|
|
|
right: 100%;
|
|
|
|
|
margin-right: 15px;
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.strike > span:after {
|
|
|
|
|
left: 100%;
|
|
|
|
|
margin-left: 15px;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-19 20:35:32 +00:00
|
|
|
.form {
|
|
|
|
|
padding-top: 1em;
|
|
|
|
|
padding-bottom: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
input {
|
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
border-radius: 2px;
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-100;
|
|
|
|
|
border-color: $purple-100;
|
2017-09-13 18:31:23 +00:00
|
|
|
color: $purple-400;
|
2017-09-19 20:35:32 +00:00
|
|
|
border: solid 2px transparent;
|
2017-09-20 14:56:26 +00:00
|
|
|
transition-timing-function: ease;
|
2017-09-26 20:04:29 +00:00
|
|
|
transition: border .5s, color .5s;
|
2017-09-20 14:56:26 +00:00
|
|
|
}
|
|
|
|
|
|
2019-12-18 18:02:15 +00:00
|
|
|
.input-invalid.input-with-error {
|
2018-10-02 21:17:06 +00:00
|
|
|
margin-bottom: 0.5em;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-20 14:56:26 +00:00
|
|
|
.input-valid {
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $white;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-18 16:54:25 +00:00
|
|
|
input:focus {
|
2022-10-07 21:10:29 +00:00
|
|
|
border: solid 2px $purple-400;
|
2017-09-18 16:54:25 +00:00
|
|
|
color: #fff;
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-50;
|
2017-09-19 20:35:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input:hover {
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-50;
|
2017-09-18 16:54:25 +00:00
|
|
|
}
|
|
|
|
|
|
2019-12-18 18:02:15 +00:00
|
|
|
.sign-up {
|
2024-11-21 18:37:02 +00:00
|
|
|
border: 2px solid transparent;
|
|
|
|
|
box-shadow: 0 1px 3px 0 rgba($black, 0.16), 0 1px 3px 0 rgba($black, 0.24);
|
2019-12-18 18:02:15 +00:00
|
|
|
padding-top: 11px;
|
|
|
|
|
padding-bottom: 11px;
|
2024-11-21 18:37:02 +00:00
|
|
|
|
|
|
|
|
&:focus, &:active {
|
|
|
|
|
background-color: $blue-50;
|
|
|
|
|
border: 2px solid $purple-400;
|
|
|
|
|
box-shadow: 0 3px 6px 0 rgba($black, 0.16), 0 3px 6px 0 rgba($black, 0.24);
|
|
|
|
|
}
|
2017-09-18 16:54:25 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-13 18:31:23 +00:00
|
|
|
::-webkit-input-placeholder { /* Chrome/Opera/Safari */
|
|
|
|
|
color: $purple-400;
|
|
|
|
|
}
|
|
|
|
|
::-moz-placeholder { /* Firefox 19+ */
|
|
|
|
|
color: $purple-400;
|
|
|
|
|
}
|
|
|
|
|
:-ms-input-placeholder { /* IE 10+ */
|
|
|
|
|
color: $purple-400;
|
|
|
|
|
}
|
|
|
|
|
:-moz-placeholder { /* Firefox 18- */
|
|
|
|
|
color: $purple-400;
|
|
|
|
|
}
|
|
|
|
|
::placeholder { // Standard browsers
|
|
|
|
|
color: $purple-400;
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
#gamify-life {
|
|
|
|
|
text-align: center;
|
|
|
|
|
|
|
|
|
|
img {
|
2018-05-19 16:43:19 +00:00
|
|
|
max-width: 100%;
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 0 auto;
|
2017-09-12 04:00:34 +00:00
|
|
|
margin-top: 1em;
|
|
|
|
|
margin-bottom: 1.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.track-habits {
|
|
|
|
|
margin-bottom: 2.5em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
strong {
|
2018-10-08 20:16:14 +00:00
|
|
|
font-size: 24px;
|
|
|
|
|
font-family: 'Varela Round', sans-serif;
|
|
|
|
|
line-height: 1.33;
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
#use-cases {
|
|
|
|
|
strong {
|
2018-10-08 20:16:14 +00:00
|
|
|
font-size: 24px;
|
|
|
|
|
font-family: 'Varela Round', sans-serif;
|
|
|
|
|
line-height: 1.33;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
img {
|
|
|
|
|
display: block;
|
|
|
|
|
height: 200px;
|
|
|
|
|
width: 200px;
|
|
|
|
|
margin: 0 auto;
|
2017-07-31 19:54:52 +00:00
|
|
|
margin-top: 2em;
|
2017-09-12 04:00:34 +00:00
|
|
|
margin-bottom: 2em;
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
#level-up-anywhere {
|
|
|
|
|
.app {
|
|
|
|
|
display: inline-block;
|
|
|
|
|
width: 135px;
|
|
|
|
|
margin-right: .5em;
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-18 16:54:25 +00:00
|
|
|
.app {
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.iphones {
|
2017-09-21 00:35:03 +00:00
|
|
|
width: 436px;
|
|
|
|
|
height: 520px;
|
2018-05-19 16:43:19 +00:00
|
|
|
max-width: 100%;
|
|
|
|
|
background-repeat: no-repeat;
|
2017-09-21 00:35:03 +00:00
|
|
|
background-size: 100%;
|
2025-06-12 00:20:11 +00:00
|
|
|
background-image: url('@/assets/images/home/mobile-preview@3x.png');
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.text-column {
|
|
|
|
|
padding-top: 9em;
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
#call-to-action {
|
|
|
|
|
.row {
|
|
|
|
|
margin-top: 1em;
|
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
h3 {
|
|
|
|
|
font-size: 32px;
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.btn-primary {
|
|
|
|
|
width: 411px;
|
|
|
|
|
height: 48px;
|
2024-11-21 18:37:02 +00:00
|
|
|
border-radius: 4px;
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-400;
|
2024-11-21 18:37:02 +00:00
|
|
|
box-shadow: 0 2px 2px 0 rgba($black, 0.24), 0 1px 4px 0 rgba($black, 0.16);
|
2017-09-12 04:00:34 +00:00
|
|
|
margin-bottom: 5em;
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.container.featured {
|
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.container-fluid.featured {
|
|
|
|
|
padding-bottom: 5em;
|
|
|
|
|
}
|
|
|
|
|
|
Teams UI Redesign and A11y Updates (#12142)
* WIP(a11y): task modal updates
* fix(tasks): borders in modal
* fix(tasks): circley locks
* fix(task-modal): placeholders
* WIP(task-modal): disabled states, hide empty options, +/- restyle
* fix(task-modal): box shadows instead of borders, habit control pointer
* fix(task-modal): button states?
* fix(modal): tighten up layout, new spacing utils
* fix(tasks): more stylin
* fix(tasks): habit hovers
* fix(css): checklist labels, a11y colors
* fix(css): one more missed hover issue
* fix(css): lock Challenges, label fixes
* fix(css): scope input/textarea changes
* fix(style): task tweakies
* fix(style): more button fixage
* WIP(component): start select list story
* working example of a templated selectList
* fix(style): more button corrections
* fix(lint): EOL
* fix(buttons): factor btn-secondary to better override Bootstrap
* fix(styles): standardize more buttons
* wip: difficulty select - style fixes
* selectDifficulty works! :tada: - fix styles
* change the dropdown-item sizes only for the selectList ones
* selectTranslatedArray
* changed many label margins
* more correct dropdown style
* fix(modals): button corrections
* input-group styling + datetime picker without today button
* Style/margins for "repeat every" - extract selectTag.vue
* working tag-selection / update - cleanup
* fix stories
* fix svg color on create modal (purple)
* fix task modal bottom padding
* correct dropdown shadow
* update dropdown-toggle caret size / color
* fixed checklist style
* sync checked state
* selectTag padding
* fix spacing between positive/negative streak inputs
* toggle-checkbox + fix some spacings
* disable repeat-on when its a groupTask
* fix new checklist-item
* fix toggle-checkbox style - fix difficulty style
* fix checklist ui
* add tags label , when there arent any tags selected
* WORKING select-tag component :tada:
* fix taglist story
* show max 5 items in tag dropdown + "X more" label
* fix datetime clear button
* replace m-b-xs to mb-1 (bootstrap) - fix input-group-text style
* fix styles of advanced settings
* fix delete task styles
* always show grippy on hover of the item
* extract modal-text-input mixin + fix the borders/dropshadow
* fix(spacing): revert most to Bootstrap
* feat(checklists): make local copy of master checklist non-editable
also aggressively update checklists because they weren't syncing??
* fix(checklists): handle add/remove options better
* feat(teams): manager notes field
* fix select/dropdown styles
* input border + icon colors
* delete task underline color
* fix checklist "delete icon" vertical position
* selectTag fixes - normal open/close toggle working again - remove icon color
* fixing icons:
Trash can - Delete
Little X - Remove
Big X - Close
Block - Block
* fix taglist margins / icon sizes
* wip margin overview (in storybook)
* fix routerlink
* remove unused method
* new selectTag style + add markdown inside tagList + scrollable tag selection
* fix selectTag / selectList active border
* fix difficulty select (svg default color)
* fix input padding-left + fix reset habit streak fullwidth / padding + "repeat every" gray text (no border)
* feat(teams): improved approval request > approve > reward flow
* fix(tests): address failures
* fix(lint): oops only
* fix(tasks): short-circuit group related logic
* fix(tasks): more short circuiting
* fix(tasks): more lines, less lint
* fix(tasks): how do i keep missing these
* feat(teams): provide assigning user summary
* fix(teams): don't attempt to record assiging user if not supplied
* fix advanced-settings styling / margin
* fix merge + hide advanced streak settings when none enabled
* fix styles
* set Roboto font for advanced settings
* Add Challenge flag to the tag list
* add tag with enter, when no other tag is found
* fix styles + tag cancel button
* refactor footer / margin
* split repeat fields into option mt-3 groups
* button all the things
* fix(tasks): style updates
* no hover state for non-editable tasks on team board
* keep assign/claim footer on task after requesting approval
* disable more fields on user copy of team task, and remove hover states
for them
* fix(tasks): functional revisions
* "Claim Rewards" instead of "x" in task approved notif
* Remove default transition supplied by Bootstrap, apply individually to
some elements
* Delete individual tasks and related notifications when master task
deleted from team board
* Manager notes now save when supplied at task initial creation
* Can no longer dismiss rewards from approved task by hitting Dismiss
All
* fix(tasks): clean tasksOrder
also adjust related test expectation
* fix(tests): adjust integration expectations
* fix(test): ratzen fratzen only
* fix(teams): checklist, notes
* fix(teams): improve disabled states
* fix(teams): more style fixage
* BREAKING(teams): return 202 instead of 401 for approval request
* fix(teams): better taskboard sync
also re-re-fix checklist borders
* fix(tests): update expectations for breaking change
* refactor(task-modal): lockable label component
* refactor(teams): move task scoring to mixin
* fix(teams): style corrections
* fix(tasks): spacing and wording corrections
* fix(teams): don't bork manager notes
* fix(teams): assignment fix and more approval flow revisions
* WIP(teams): use tag dropdown control for assignment
* refactor(tasks): better spacing, generic multi select
* fix(tasks): various visual and behavior updates
* fix(tasks): incidental style tweaks
* fix(teams): standardize approval request response
* refactor(teams): correct test, use res.respond message param
* fix(storybook): renamed component
* fix(teams): age approval-required To Do's
Fixes #8730
* fix(teams): sync personal data as well as team on mixin sync
* fix(teams): hide unclaim button, not whole footer; fix switch focus
* fix(achievements): unrevert width fix
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
2020-07-25 12:37:10 +00:00
|
|
|
.join-button {
|
2017-09-18 16:54:25 +00:00
|
|
|
cursor: pointer;
|
Teams UI Redesign and A11y Updates (#12142)
* WIP(a11y): task modal updates
* fix(tasks): borders in modal
* fix(tasks): circley locks
* fix(task-modal): placeholders
* WIP(task-modal): disabled states, hide empty options, +/- restyle
* fix(task-modal): box shadows instead of borders, habit control pointer
* fix(task-modal): button states?
* fix(modal): tighten up layout, new spacing utils
* fix(tasks): more stylin
* fix(tasks): habit hovers
* fix(css): checklist labels, a11y colors
* fix(css): one more missed hover issue
* fix(css): lock Challenges, label fixes
* fix(css): scope input/textarea changes
* fix(style): task tweakies
* fix(style): more button fixage
* WIP(component): start select list story
* working example of a templated selectList
* fix(style): more button corrections
* fix(lint): EOL
* fix(buttons): factor btn-secondary to better override Bootstrap
* fix(styles): standardize more buttons
* wip: difficulty select - style fixes
* selectDifficulty works! :tada: - fix styles
* change the dropdown-item sizes only for the selectList ones
* selectTranslatedArray
* changed many label margins
* more correct dropdown style
* fix(modals): button corrections
* input-group styling + datetime picker without today button
* Style/margins for "repeat every" - extract selectTag.vue
* working tag-selection / update - cleanup
* fix stories
* fix svg color on create modal (purple)
* fix task modal bottom padding
* correct dropdown shadow
* update dropdown-toggle caret size / color
* fixed checklist style
* sync checked state
* selectTag padding
* fix spacing between positive/negative streak inputs
* toggle-checkbox + fix some spacings
* disable repeat-on when its a groupTask
* fix new checklist-item
* fix toggle-checkbox style - fix difficulty style
* fix checklist ui
* add tags label , when there arent any tags selected
* WORKING select-tag component :tada:
* fix taglist story
* show max 5 items in tag dropdown + "X more" label
* fix datetime clear button
* replace m-b-xs to mb-1 (bootstrap) - fix input-group-text style
* fix styles of advanced settings
* fix delete task styles
* always show grippy on hover of the item
* extract modal-text-input mixin + fix the borders/dropshadow
* fix(spacing): revert most to Bootstrap
* feat(checklists): make local copy of master checklist non-editable
also aggressively update checklists because they weren't syncing??
* fix(checklists): handle add/remove options better
* feat(teams): manager notes field
* fix select/dropdown styles
* input border + icon colors
* delete task underline color
* fix checklist "delete icon" vertical position
* selectTag fixes - normal open/close toggle working again - remove icon color
* fixing icons:
Trash can - Delete
Little X - Remove
Big X - Close
Block - Block
* fix taglist margins / icon sizes
* wip margin overview (in storybook)
* fix routerlink
* remove unused method
* new selectTag style + add markdown inside tagList + scrollable tag selection
* fix selectTag / selectList active border
* fix difficulty select (svg default color)
* fix input padding-left + fix reset habit streak fullwidth / padding + "repeat every" gray text (no border)
* feat(teams): improved approval request > approve > reward flow
* fix(tests): address failures
* fix(lint): oops only
* fix(tasks): short-circuit group related logic
* fix(tasks): more short circuiting
* fix(tasks): more lines, less lint
* fix(tasks): how do i keep missing these
* feat(teams): provide assigning user summary
* fix(teams): don't attempt to record assiging user if not supplied
* fix advanced-settings styling / margin
* fix merge + hide advanced streak settings when none enabled
* fix styles
* set Roboto font for advanced settings
* Add Challenge flag to the tag list
* add tag with enter, when no other tag is found
* fix styles + tag cancel button
* refactor footer / margin
* split repeat fields into option mt-3 groups
* button all the things
* fix(tasks): style updates
* no hover state for non-editable tasks on team board
* keep assign/claim footer on task after requesting approval
* disable more fields on user copy of team task, and remove hover states
for them
* fix(tasks): functional revisions
* "Claim Rewards" instead of "x" in task approved notif
* Remove default transition supplied by Bootstrap, apply individually to
some elements
* Delete individual tasks and related notifications when master task
deleted from team board
* Manager notes now save when supplied at task initial creation
* Can no longer dismiss rewards from approved task by hitting Dismiss
All
* fix(tasks): clean tasksOrder
also adjust related test expectation
* fix(tests): adjust integration expectations
* fix(test): ratzen fratzen only
* fix(teams): checklist, notes
* fix(teams): improve disabled states
* fix(teams): more style fixage
* BREAKING(teams): return 202 instead of 401 for approval request
* fix(teams): better taskboard sync
also re-re-fix checklist borders
* fix(tests): update expectations for breaking change
* refactor(task-modal): lockable label component
* refactor(teams): move task scoring to mixin
* fix(teams): style corrections
* fix(tasks): spacing and wording corrections
* fix(teams): don't bork manager notes
* fix(teams): assignment fix and more approval flow revisions
* WIP(teams): use tag dropdown control for assignment
* refactor(tasks): better spacing, generic multi select
* fix(tasks): various visual and behavior updates
* fix(tasks): incidental style tweaks
* fix(teams): standardize approval request response
* refactor(teams): correct test, use res.respond message param
* fix(storybook): renamed component
* fix(teams): age approval-required To Do's
Fixes #8730
* fix(teams): sync personal data as well as team on mixin sync
* fix(teams): hide unclaim button, not whole footer; fix switch focus
* fix(achievements): unrevert width fix
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
2020-07-25 12:37:10 +00:00
|
|
|
|
|
|
|
|
&:hover {
|
2022-10-07 21:10:29 +00:00
|
|
|
background-color: $purple-50;
|
2024-11-21 18:37:02 +00:00
|
|
|
box-shadow: 0 4px 4px 0 rgba($black, 0.16), 0 1px 8px 0 rgba($black, 0.12);
|
Teams UI Redesign and A11y Updates (#12142)
* WIP(a11y): task modal updates
* fix(tasks): borders in modal
* fix(tasks): circley locks
* fix(task-modal): placeholders
* WIP(task-modal): disabled states, hide empty options, +/- restyle
* fix(task-modal): box shadows instead of borders, habit control pointer
* fix(task-modal): button states?
* fix(modal): tighten up layout, new spacing utils
* fix(tasks): more stylin
* fix(tasks): habit hovers
* fix(css): checklist labels, a11y colors
* fix(css): one more missed hover issue
* fix(css): lock Challenges, label fixes
* fix(css): scope input/textarea changes
* fix(style): task tweakies
* fix(style): more button fixage
* WIP(component): start select list story
* working example of a templated selectList
* fix(style): more button corrections
* fix(lint): EOL
* fix(buttons): factor btn-secondary to better override Bootstrap
* fix(styles): standardize more buttons
* wip: difficulty select - style fixes
* selectDifficulty works! :tada: - fix styles
* change the dropdown-item sizes only for the selectList ones
* selectTranslatedArray
* changed many label margins
* more correct dropdown style
* fix(modals): button corrections
* input-group styling + datetime picker without today button
* Style/margins for "repeat every" - extract selectTag.vue
* working tag-selection / update - cleanup
* fix stories
* fix svg color on create modal (purple)
* fix task modal bottom padding
* correct dropdown shadow
* update dropdown-toggle caret size / color
* fixed checklist style
* sync checked state
* selectTag padding
* fix spacing between positive/negative streak inputs
* toggle-checkbox + fix some spacings
* disable repeat-on when its a groupTask
* fix new checklist-item
* fix toggle-checkbox style - fix difficulty style
* fix checklist ui
* add tags label , when there arent any tags selected
* WORKING select-tag component :tada:
* fix taglist story
* show max 5 items in tag dropdown + "X more" label
* fix datetime clear button
* replace m-b-xs to mb-1 (bootstrap) - fix input-group-text style
* fix styles of advanced settings
* fix delete task styles
* always show grippy on hover of the item
* extract modal-text-input mixin + fix the borders/dropshadow
* fix(spacing): revert most to Bootstrap
* feat(checklists): make local copy of master checklist non-editable
also aggressively update checklists because they weren't syncing??
* fix(checklists): handle add/remove options better
* feat(teams): manager notes field
* fix select/dropdown styles
* input border + icon colors
* delete task underline color
* fix checklist "delete icon" vertical position
* selectTag fixes - normal open/close toggle working again - remove icon color
* fixing icons:
Trash can - Delete
Little X - Remove
Big X - Close
Block - Block
* fix taglist margins / icon sizes
* wip margin overview (in storybook)
* fix routerlink
* remove unused method
* new selectTag style + add markdown inside tagList + scrollable tag selection
* fix selectTag / selectList active border
* fix difficulty select (svg default color)
* fix input padding-left + fix reset habit streak fullwidth / padding + "repeat every" gray text (no border)
* feat(teams): improved approval request > approve > reward flow
* fix(tests): address failures
* fix(lint): oops only
* fix(tasks): short-circuit group related logic
* fix(tasks): more short circuiting
* fix(tasks): more lines, less lint
* fix(tasks): how do i keep missing these
* feat(teams): provide assigning user summary
* fix(teams): don't attempt to record assiging user if not supplied
* fix advanced-settings styling / margin
* fix merge + hide advanced streak settings when none enabled
* fix styles
* set Roboto font for advanced settings
* Add Challenge flag to the tag list
* add tag with enter, when no other tag is found
* fix styles + tag cancel button
* refactor footer / margin
* split repeat fields into option mt-3 groups
* button all the things
* fix(tasks): style updates
* no hover state for non-editable tasks on team board
* keep assign/claim footer on task after requesting approval
* disable more fields on user copy of team task, and remove hover states
for them
* fix(tasks): functional revisions
* "Claim Rewards" instead of "x" in task approved notif
* Remove default transition supplied by Bootstrap, apply individually to
some elements
* Delete individual tasks and related notifications when master task
deleted from team board
* Manager notes now save when supplied at task initial creation
* Can no longer dismiss rewards from approved task by hitting Dismiss
All
* fix(tasks): clean tasksOrder
also adjust related test expectation
* fix(tests): adjust integration expectations
* fix(test): ratzen fratzen only
* fix(teams): checklist, notes
* fix(teams): improve disabled states
* fix(teams): more style fixage
* BREAKING(teams): return 202 instead of 401 for approval request
* fix(teams): better taskboard sync
also re-re-fix checklist borders
* fix(tests): update expectations for breaking change
* refactor(task-modal): lockable label component
* refactor(teams): move task scoring to mixin
* fix(teams): style corrections
* fix(tasks): spacing and wording corrections
* fix(teams): don't bork manager notes
* fix(teams): assignment fix and more approval flow revisions
* WIP(teams): use tag dropdown control for assignment
* refactor(tasks): better spacing, generic multi select
* fix(tasks): various visual and behavior updates
* fix(tasks): incidental style tweaks
* fix(teams): standardize approval request response
* refactor(teams): correct test, use res.respond message param
* fix(storybook): renamed component
* fix(teams): age approval-required To Do's
Fixes #8730
* fix(teams): sync personal data as well as team on mixin sync
* fix(teams): hide unclaim button, not whole footer; fix switch focus
* fix(achievements): unrevert width fix
Co-authored-by: Sabe Jones <sabrecat@gmail.com>
2020-07-25 12:37:10 +00:00
|
|
|
}
|
2017-09-18 16:54:25 +00:00
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
.featured .row {
|
|
|
|
|
margin-top: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.featured {
|
|
|
|
|
text-align: center;
|
2018-10-08 20:16:14 +00:00
|
|
|
font-family: 'Varela Round', sans-serif;
|
|
|
|
|
|
|
|
|
|
strong {
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
}
|
2017-09-12 04:00:34 +00:00
|
|
|
|
2017-09-18 16:54:25 +00:00
|
|
|
.svg-icon {
|
2017-09-21 00:35:03 +00:00
|
|
|
vertical-align: bottom;
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $purple-600;
|
2017-09-18 16:54:25 +00:00
|
|
|
display: inline-block;
|
2017-09-21 00:35:03 +00:00
|
|
|
margin-right: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.lifehacker {
|
|
|
|
|
width: 116.7px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.thenewyorktimes {
|
|
|
|
|
width: 170.4px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.makeuseof {
|
|
|
|
|
width: 59.7px;
|
|
|
|
|
height: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.forbes {
|
|
|
|
|
width: 91.7px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.kickstarter {
|
|
|
|
|
width: 205px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.discover {
|
|
|
|
|
width: 119.6px;
|
|
|
|
|
height: 24px;
|
2017-09-18 16:54:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.cnet {
|
|
|
|
|
width: 40px;
|
|
|
|
|
height: 40px;
|
|
|
|
|
padding-top: .5em;
|
|
|
|
|
margin-right: 1em;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.fast-company {
|
|
|
|
|
width: 161.3px;
|
|
|
|
|
height: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
2017-09-12 04:00:34 +00:00
|
|
|
img {
|
|
|
|
|
max-height: 30px;
|
|
|
|
|
max-width: 120px;
|
|
|
|
|
vertical-align: middle;
|
|
|
|
|
margin: 20px;
|
|
|
|
|
-moz-filter: brightness(0) invert(1);
|
|
|
|
|
-ms-filter: brightness(0) invert(1);
|
|
|
|
|
-o-filter: brightness(0) invert(1);
|
|
|
|
|
filter: brightness(0) invert(1);
|
|
|
|
|
-webkit-filter: brightness(0) invert(1);
|
2017-07-31 19:54:52 +00:00
|
|
|
}
|
|
|
|
|
}
|
2017-09-12 04:00:34 +00:00
|
|
|
|
|
|
|
|
.seamless_stars_varied_opacity_repeat {
|
2025-06-12 00:20:11 +00:00
|
|
|
background-image: url('@/assets/images/auth/seamless_stars_varied_opacity.png');
|
2017-09-12 04:00:34 +00:00
|
|
|
background-repeat: repeat-x;
|
|
|
|
|
position: absolute;
|
|
|
|
|
height: 500px;
|
|
|
|
|
width: 100%;
|
2017-09-21 23:53:45 +00:00
|
|
|
opacity: .5;
|
2022-10-07 21:10:29 +00:00
|
|
|
pointer-events: none;
|
2017-09-12 04:00:34 +00:00
|
|
|
}
|
|
|
|
|
}
|
2017-12-26 23:31:00 +00:00
|
|
|
|
|
|
|
|
@media only screen and (max-width: 768px) {
|
|
|
|
|
#call-to-action .btn-primary {
|
|
|
|
|
width: 95%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#call-to-action .featured .svg-icon {
|
|
|
|
|
display: block;
|
|
|
|
|
margin: 0 auto;
|
|
|
|
|
margin-bottom: .5em;
|
|
|
|
|
}
|
|
|
|
|
}
|
2018-10-02 21:17:06 +00:00
|
|
|
|
|
|
|
|
.input-error {
|
2022-10-07 21:10:29 +00:00
|
|
|
color: $white;
|
2018-10-02 21:17:06 +00:00
|
|
|
font-size: 90%;
|
|
|
|
|
width: 100%;
|
|
|
|
|
margin-bottom: 1em;
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
</style>
|
|
|
|
|
|
2017-07-20 18:20:53 +00:00
|
|
|
<script>
|
2019-10-09 18:08:36 +00:00
|
|
|
import hello from 'hellojs';
|
|
|
|
|
import debounce from 'lodash/debounce';
|
2024-08-06 17:53:44 +00:00
|
|
|
import isEmail from 'validator/es/lib/isEmail';
|
2023-12-27 17:20:49 +00:00
|
|
|
import { MINIMUM_PASSWORD_LENGTH } from '@/../../common/script/constants';
|
2020-04-08 16:44:30 +00:00
|
|
|
import { buildAppleAuthUrl } from '../../libs/auth';
|
2024-09-11 14:15:47 +00:00
|
|
|
import sanitizeRedirect from '@/mixins/sanitizeRedirect';
|
2025-06-12 00:20:11 +00:00
|
|
|
import googlePlay from '@/assets/images/home/google-play-badge.svg?raw';
|
|
|
|
|
import iosAppStore from '@/assets/images/home/ios-app-store.svg?raw';
|
|
|
|
|
import iphones from '@/assets/images/home/iphones.svg?raw';
|
|
|
|
|
import spacer from '@/assets/images/home/spacer.svg?raw';
|
|
|
|
|
import pixelHorizontal from '@/assets/images/home/pixel-horizontal.svg?raw';
|
|
|
|
|
import pixelHorizontal2 from '@/assets/images/home/pixel-horizontal-2.svg?raw';
|
|
|
|
|
import pixelHorizontal3 from '@/assets/images/home/pixel-horizontal-3.svg?raw';
|
|
|
|
|
import facebookSquareIcon from '@/assets/svg/facebook-square.svg?raw';
|
|
|
|
|
import googleIcon from '@/assets/svg/google.svg?raw';
|
|
|
|
|
import appleIcon from '@/assets/svg/apple_black.svg?raw';
|
|
|
|
|
import cnet from '@/assets/svg/cnet.svg?raw';
|
|
|
|
|
import fastCompany from '@/assets/svg/fast-company.svg?raw';
|
|
|
|
|
import discover from '@/assets/images/home/discover.svg?raw';
|
|
|
|
|
import forbes from '@/assets/images/home/forbes.svg?raw';
|
|
|
|
|
import kickstarter from '@/assets/images/home/kickstarter.svg?raw';
|
|
|
|
|
import lifehacker from '@/assets/images/home/lifehacker.svg?raw';
|
|
|
|
|
import makeuseof from '@/assets/images/home/make-use-of.svg?raw';
|
|
|
|
|
import thenewyorktimes from '@/assets/images/home/the-new-york-times.svg?raw';
|
2019-10-09 18:08:36 +00:00
|
|
|
|
|
|
|
|
export default {
|
2024-09-11 14:15:47 +00:00
|
|
|
mixins: [sanitizeRedirect],
|
2019-10-09 18:08:36 +00:00
|
|
|
data () {
|
|
|
|
|
return {
|
|
|
|
|
icons: Object.freeze({
|
|
|
|
|
googlePlay,
|
|
|
|
|
iosAppStore,
|
|
|
|
|
iphones,
|
|
|
|
|
spacer,
|
|
|
|
|
pixelHorizontal,
|
|
|
|
|
pixelHorizontal2,
|
|
|
|
|
pixelHorizontal3,
|
|
|
|
|
facebookIcon: facebookSquareIcon,
|
|
|
|
|
googleIcon,
|
2020-04-08 16:44:30 +00:00
|
|
|
appleIcon,
|
2019-10-09 18:08:36 +00:00
|
|
|
cnet,
|
|
|
|
|
fastCompany,
|
|
|
|
|
discover,
|
|
|
|
|
forbes,
|
|
|
|
|
kickstarter,
|
|
|
|
|
lifehacker,
|
|
|
|
|
makeuseof,
|
|
|
|
|
thenewyorktimes,
|
|
|
|
|
}),
|
2020-02-12 16:59:32 +00:00
|
|
|
userCountInMillions: 4,
|
2019-10-09 18:08:36 +00:00
|
|
|
username: '',
|
|
|
|
|
password: '',
|
|
|
|
|
passwordConfirm: '',
|
|
|
|
|
email: '',
|
|
|
|
|
usernameIssues: [],
|
|
|
|
|
};
|
|
|
|
|
},
|
|
|
|
|
computed: {
|
|
|
|
|
emailValid () {
|
2021-11-12 16:30:31 +00:00
|
|
|
if (this.email.length < 1) return false;
|
2019-10-09 18:08:36 +00:00
|
|
|
return isEmail(this.email);
|
2017-08-31 23:37:09 +00:00
|
|
|
},
|
2019-10-09 18:08:36 +00:00
|
|
|
emailInvalid () {
|
2021-11-12 16:30:31 +00:00
|
|
|
if (this.email.length < 1) return false;
|
2019-10-09 18:08:36 +00:00
|
|
|
return !isEmail(this.email);
|
2017-08-31 23:37:09 +00:00
|
|
|
},
|
2019-10-09 18:08:36 +00:00
|
|
|
usernameValid () {
|
|
|
|
|
if (this.username.length < 1) return false;
|
|
|
|
|
return this.usernameIssues.length === 0;
|
2017-09-18 16:54:25 +00:00
|
|
|
},
|
2019-10-09 18:08:36 +00:00
|
|
|
usernameInvalid () {
|
|
|
|
|
if (this.username.length < 1) return false;
|
|
|
|
|
return !this.usernameValid;
|
2018-10-02 21:17:06 +00:00
|
|
|
},
|
2019-12-18 18:02:15 +00:00
|
|
|
passwordValid () {
|
|
|
|
|
if (this.password.length <= 0) return false;
|
|
|
|
|
return this.password.length >= MINIMUM_PASSWORD_LENGTH;
|
|
|
|
|
},
|
|
|
|
|
passwordInvalid () {
|
|
|
|
|
if (this.password.length <= 0) return false;
|
|
|
|
|
return this.password.length < MINIMUM_PASSWORD_LENGTH;
|
|
|
|
|
},
|
2019-10-09 18:08:36 +00:00
|
|
|
passwordConfirmValid () {
|
|
|
|
|
if (this.passwordConfirm.length <= 3) return false;
|
|
|
|
|
return this.passwordConfirm === this.password;
|
|
|
|
|
},
|
|
|
|
|
passwordConfirmInvalid () {
|
|
|
|
|
if (this.passwordConfirm.length <= 3) return false;
|
|
|
|
|
return this.passwordConfirm !== this.password;
|
|
|
|
|
},
|
2019-12-18 18:02:15 +00:00
|
|
|
signupFormInvalid () {
|
|
|
|
|
return this.usernameInvalid
|
|
|
|
|
|| this.emailInvalid
|
|
|
|
|
|| this.passwordInvalid
|
|
|
|
|
|| this.passwordConfirmInvalid;
|
|
|
|
|
},
|
2019-10-09 18:08:36 +00:00
|
|
|
},
|
|
|
|
|
watch: {
|
|
|
|
|
username () {
|
|
|
|
|
this.validateUsername(this.username);
|
|
|
|
|
},
|
|
|
|
|
},
|
|
|
|
|
mounted () {
|
|
|
|
|
hello.init({
|
2025-06-12 00:20:11 +00:00
|
|
|
google: import.meta.env.GOOGLE_CLIENT_ID, // eslint-disable-line
|
2019-10-09 18:08:36 +00:00
|
|
|
});
|
2020-10-26 10:22:46 +00:00
|
|
|
this.$store.dispatch('common:setTitle', {
|
|
|
|
|
fullTitle: 'Habitica - Gamify Your Life',
|
|
|
|
|
});
|
2019-10-09 18:08:36 +00:00
|
|
|
},
|
|
|
|
|
methods: {
|
|
|
|
|
// eslint-disable-next-line func-names
|
|
|
|
|
validateUsername: debounce(function (username) {
|
|
|
|
|
if (username.length < 1) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
2020-05-05 14:20:08 +00:00
|
|
|
|
2019-10-09 18:08:36 +00:00
|
|
|
this.$store.dispatch('auth:verifyUsername', {
|
|
|
|
|
username: this.username,
|
|
|
|
|
}).then(res => {
|
|
|
|
|
if (res.issues !== undefined) {
|
|
|
|
|
this.usernameIssues = res.issues;
|
|
|
|
|
} else {
|
|
|
|
|
this.usernameIssues = [];
|
2018-02-02 18:24:41 +00:00
|
|
|
}
|
2019-10-09 18:08:36 +00:00
|
|
|
});
|
|
|
|
|
}, 500),
|
|
|
|
|
// @TODO this is totally duplicate from the registerLogin component
|
|
|
|
|
async register () {
|
|
|
|
|
let groupInvite = '';
|
|
|
|
|
if (this.$route.query && this.$route.query.p) {
|
|
|
|
|
groupInvite = this.$route.query.p;
|
|
|
|
|
}
|
2018-02-02 18:24:41 +00:00
|
|
|
|
2019-10-09 18:08:36 +00:00
|
|
|
if (this.$route.query && this.$route.query.groupInvite) {
|
|
|
|
|
groupInvite = this.$route.query.groupInvite;
|
|
|
|
|
}
|
2017-12-07 17:57:01 +00:00
|
|
|
|
2019-10-09 18:08:36 +00:00
|
|
|
await this.$store.dispatch('auth:register', {
|
|
|
|
|
username: this.username,
|
|
|
|
|
email: this.email,
|
|
|
|
|
password: this.password,
|
|
|
|
|
passwordConfirm: this.passwordConfirm,
|
|
|
|
|
groupInvite,
|
|
|
|
|
});
|
2017-09-12 04:00:34 +00:00
|
|
|
|
2024-09-11 14:15:47 +00:00
|
|
|
const redirect = this.sanitizeRedirect(this.$route.query.redirectTo);
|
|
|
|
|
|
|
|
|
|
window.location.href = redirect;
|
2019-10-09 18:08:36 +00:00
|
|
|
},
|
|
|
|
|
playButtonClick () {
|
|
|
|
|
this.$router.push('/register');
|
|
|
|
|
},
|
|
|
|
|
// @TODO: Abstract hello in to action or lib
|
|
|
|
|
async socialAuth (network) {
|
2020-04-08 16:44:30 +00:00
|
|
|
if (network === 'apple') {
|
|
|
|
|
window.location.href = buildAppleAuthUrl();
|
|
|
|
|
} else {
|
|
|
|
|
try {
|
|
|
|
|
await hello(network).logout();
|
2020-05-05 14:20:08 +00:00
|
|
|
} catch (e) {} // eslint-disable-line
|
2020-04-08 16:44:30 +00:00
|
|
|
|
|
|
|
|
const redirectUrl = `${window.location.protocol}//${window.location.host}`;
|
|
|
|
|
const auth = await hello(network).login({
|
|
|
|
|
scope: 'email',
|
|
|
|
|
// explicitly pass the redirect url or it might redirect to /home
|
|
|
|
|
redirect_uri: redirectUrl, // eslint-disable-line camelcase
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
await this.$store.dispatch('auth:socialAuth', {
|
|
|
|
|
auth,
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
window.location.href = '/';
|
|
|
|
|
}
|
2017-07-31 19:54:52 +00:00
|
|
|
},
|
2019-10-09 18:08:36 +00:00
|
|
|
},
|
|
|
|
|
};
|
2017-07-20 18:20:53 +00:00
|
|
|
</script>
|