diff --git a/website/client/src/components/groups/groupPlan.vue b/website/client/src/components/groups/groupPlan.vue index ff48782892..c628774d9e 100644 --- a/website/client/src/components/groups/groupPlan.vue +++ b/website/client/src/components/groups/groupPlan.vue @@ -1,6 +1,7 @@ @@ -258,8 +160,8 @@ .dollar { position: absolute; - left: -1em; - top: 1em; + left: -16px; + top: 16px; } .purple-box { @@ -291,9 +193,9 @@ background: #432874; background: linear-gradient(180deg, #4F2A93 0%, #432874 100%); color: #fff; - padding: 2em; + padding: 32px; height: 340px; - margin-bottom: 2em; + margin-bottom: 32px; margin-left: -12px; margin-right: -12px; @@ -317,6 +219,7 @@ .box { height: 416px; + border-radius: 8px; } h2 { @@ -359,17 +262,19 @@ button.create-group { width: 330px; height: 96px; + border-radius: 8px; + font-size: 1.5rem; } .purple-header { color: #6133b4; font-size: 48px; - margin-top: 1em; + margin-top: 16px; } .pricing { - margin-top: 2em; - margin-bottom: 4em; + margin-top: 32px; + margin-bottom: 64px; .dollar, .number, .name { display: inline-block; @@ -378,34 +283,32 @@ } .plus { - font-size: 34px; + font-size: 2.125rem; color: #a5a1ac; + margin-left: 16px; + margin-right: 16px; } .dollar { - margin-bottom: 1.5em; - font-size: 32px; + margin-bottom: 24px; + font-size: 2rem; font-weight: bold; } .name { - font-size: 24px; - margin-bottom: .8em; - margin-left: .5em; + font-size: 1.5rem; + margin-left: 8px; + margin-right: 8px; } .number { - font-size: 72px; + font-size: 4.5rem; font-weight: bolder; } } .payment-options { - margin-bottom: 4em; - - h4 { - color: #34313a; - } + margin-bottom: 64px; h4 { color: #34313a; @@ -414,7 +317,7 @@ .purple-box { background-color: #4f2a93; color: #fff; - padding: .5em; + padding: 8px; border-radius: 8px; width: 200px; height: 215px; @@ -428,7 +331,7 @@ .name { width: 100px; - margin-left: .3em; + margin-left: 4.8px; } .plus { @@ -453,10 +356,12 @@ import paymentsMixin from '../../mixins/payments'; import { mapState } from '@/libs/store'; import positiveIcon from '@/assets/svg/positive.svg'; import paymentsButtons from '@/components/payments/buttons/list'; +import groupPlanCreationModal from '../group-plans/groupPlanCreationModal'; export default { components: { paymentsButtons, + groupPlanCreationModal, }, mixins: [paymentsMixin], data () { @@ -505,12 +410,7 @@ export default { }, methods: { launchModal () { - this.changePage(this.PAGES.CREATE_GROUP); - this.$root.$emit('bv::show::modal', 'group-plan-modal'); - }, - changePage (page) { - this.activePage = page; - window.scrollTo(0, 0); + this.$root.$emit('bv::show::modal', 'create-group'); }, createGroup () { this.changePage(this.PAGES.PAY);