-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WIP(groups): style and HTML corrections
Also workflows for static and non-upgrade logged-in scenarios
- Loading branch information
Sabe Jones
committed
Aug 30, 2024
1 parent
c6a468d
commit ae44697
Showing
5 changed files
with
42 additions
and
130 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,7 +12,8 @@ | |
class="party" | ||
src="../../assets/images/group-plans-static/[email protected]" | ||
> | ||
<h1 class="mt-5">{{ $t('groupPlanTitle') }}</h1> | ||
<h1 class="mt-5" v-if="upgradingGroup._id">{{ $t('upgradeYourCrew') }}</h1> | ||
<h1 class="mt-5" v-else>{{ $t('groupPlanTitle') }}</h1> | ||
<p class="mb-0">{{ $t('groupPlanDesc') }}</p> | ||
<div class="pricing mt-5"> | ||
<span>Just</span> | ||
|
@@ -34,23 +35,25 @@ | |
<div class="top-right"></div> | ||
<div class="d-flex justify-content-between align-items-middle w-100 gap-72 mb-100"> | ||
<div class="ml-auto my-auto w-448 text-left"> | ||
<h2>{{ $t('teamBasedTasksList') }}</h2> | ||
<h2 class="mt-0">{{ $t('teamBasedTasksList') }}</h2> | ||
<small>{{ $t('teamBasedTasksListDesc') }}</small> | ||
</div> | ||
<div class="mr-auto my-auto"> | ||
<div | ||
<img | ||
class="team-based" | ||
></div> | ||
src="../../assets/images/group-plans-static/[email protected]" | ||
> | ||
</div> | ||
</div> | ||
<div class="d-flex justify-content-between align-items-middle w-100 gap-72 mb-100"> | ||
<div class="ml-auto my-auto"> | ||
<div | ||
<img | ||
class="group-management" | ||
></div> | ||
src="../../assets/images/group-plans-static/[email protected]" | ||
> | ||
</div> | ||
<div class="mr-auto my-auto w-448 text-left"> | ||
<h2>{{ $t('groupManagementControls') }}</h2> | ||
<h2 class="mt-0">{{ $t('groupManagementControls') }}</h2> | ||
<small>{{ $t('groupManagementControlsDesc') }}</small> | ||
</div> | ||
</div> | ||
|
@@ -65,8 +68,11 @@ | |
<div class="text-center mb-128"> | ||
<div class="bot-left"></div> | ||
<div class="col-6 offset-3"> | ||
<h2 class="purple mb-4"> | ||
{{ $t('inspireYourParty') }} | ||
<h2 class="purple mt-0 mb-4" v-if="upgradingGroup._id"> | ||
{{ $t('readyToUpgrade') }} | ||
</h2> | ||
<h2 v-else class="purple mt-0 mb-4"> | ||
{{ $t('createGroupToday') }} | ||
</h2> | ||
<div class="pricing mb-4"> | ||
<span>Just</span> | ||
|
@@ -94,7 +100,7 @@ | |
:hide-footer="true" | ||
:hide-header="true" | ||
> | ||
<div v-if="isStaticPage"> | ||
<div v-if="isStaticPage && !user"> | ||
<h2>{{ $t('letsMakeAccount') }}</h2> | ||
<auth-form @authenticate="authenticate()" /> | ||
</div> | ||
|
@@ -143,6 +149,10 @@ | |
&.static { | ||
padding-top: 16px; | ||
} | ||
&:not(.static) { | ||
margin-left: -12px; | ||
} | ||
} | ||
.gap-72 { | ||
|
@@ -172,17 +182,11 @@ | |
} | ||
.team-based { | ||
background-image: url('../../assets/images/group-plans-static/[email protected]'); | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
height: 252px; | ||
width: 448px; | ||
} | ||
.group-management { | ||
background-image: url('../../assets/images/group-plans-static/[email protected]'); | ||
background-size: contain; | ||
background-repeat: no-repeat; | ||
height: 272px; | ||
width: 448px; | ||
} | ||
|
@@ -271,6 +275,10 @@ | |
box-shadow: inset 0 -4px 0 0 rgba(52, 49, 58, 0.4); | ||
font-size: 20px; | ||
line-height: 28px; | ||
&.btn-primary:hover { | ||
background-color: $purple-400; | ||
} | ||
} | ||
.pricing { | ||
|
@@ -324,6 +332,12 @@ export default { | |
isStaticPage () { | ||
return this.$route.meta.requiresLogin === false; | ||
}, | ||
upgradingGroup () { | ||
return this.$store.state.upgradingGroup; | ||
}, | ||
user () { | ||
return this.$store.state.user?.data; | ||
}, | ||
}, | ||
mounted () { | ||
this.$nextTick(() => { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters