Change 1m plan

This commit is contained in:
Uku Taht 2020-06-19 14:35:09 +03:00
parent 17f988dc34
commit 0bcc389e73
5 changed files with 11 additions and 9 deletions

View File

@ -5,7 +5,7 @@ defmodule Plausible.Billing.Plans do
"100k": %{product_id: "558745", due_now: "$12"}, "100k": %{product_id: "558745", due_now: "$12"},
"200k": %{product_id: "597485", due_now: "$18"}, "200k": %{product_id: "597485", due_now: "$18"},
"500k": %{product_id: "597487", due_now: "$27"}, "500k": %{product_id: "597487", due_now: "$27"},
"1m": %{product_id: "558746", due_now: "$36"}, "1m": %{product_id: "597642", due_now: "$48"},
"2m": %{product_id: "597309", due_now: "$69"}, "2m": %{product_id: "597309", due_now: "$69"},
"5m": %{product_id: "597311", due_now: "$99"} "5m": %{product_id: "597311", due_now: "$99"}
}, },
@ -14,7 +14,7 @@ defmodule Plausible.Billing.Plans do
"100k": %{product_id: "590752", due_now: "$96"}, "100k": %{product_id: "590752", due_now: "$96"},
"200k": %{product_id: "597486", due_now: "$114"}, "200k": %{product_id: "597486", due_now: "$114"},
"500k": %{product_id: "597488", due_now: "$216"}, "500k": %{product_id: "597488", due_now: "$216"},
"1m": %{product_id: "590753", due_now: "$288"}, "1m": %{product_id: "597643", due_now: "$384"},
"2m": %{product_id: "597310", due_now: "$552"}, "2m": %{product_id: "597310", due_now: "$552"},
"5m": %{product_id: "597312", due_now: "$792"} "5m": %{product_id: "597312", due_now: "$792"}
} }

View File

@ -79,8 +79,8 @@
<tr @click="volume = '1m'" :class="{'border-2 border-green-300 bg-green-50': volume === '1m', 'border-b border-gray-200 cursor-pointer': volume !== '1m'}"> <tr @click="volume = '1m'" :class="{'border-2 border-green-300 bg-green-50': volume === '1m', 'border-b border-gray-200 cursor-pointer': volume !== '1m'}">
<td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': volume === '1m'}">1m</td> <td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': volume === '1m'}">1m</td>
<td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': volume === '1m'}"> <td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': volume === '1m'}">
<span x-show="billingCycle === 'monthly'">$36</span> <span x-show="billingCycle === 'monthly'">$48</span>
<span x-show="billingCycle === 'yearly'">$24</span> <span x-show="billingCycle === 'yearly'">$32</span>
</td> </td>
</tr> </tr>
<tr @click="volume = '2m'" :class="{'border-2 border-green-300 bg-green-50': volume === '2m', 'border-b border-gray-200 cursor-pointer': volume !== '1m'}"> <tr @click="volume = '2m'" :class="{'border-2 border-green-300 bg-green-50': volume === '2m', 'border-b border-gray-200 cursor-pointer': volume !== '1m'}">

View File

@ -74,8 +74,8 @@
<tr @click="planSize = '1m'" :class="{'border-2 border-green-300': planSize === '1m', 'border-b border-gray-200 cursor-pointer': planSize !== '1m'}"> <tr @click="planSize = '1m'" :class="{'border-2 border-green-300': planSize === '1m', 'border-b border-gray-200 cursor-pointer': planSize !== '1m'}">
<td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': planSize === '1m'}">1m</td> <td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': planSize === '1m'}">1m</td>
<td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': planSize === '1m'}"> <td class="px-6 py-4 text-sm leading-5" :class="{'font-bold': planSize === '1m'}">
<span x-show="billingCycle === 'monthly'">$36</span> <span x-show="billingCycle === 'monthly'">$48</span>
<span x-show="billingCycle === 'yearly'">$24</span> <span x-show="billingCycle === 'yearly'">$32</span>
</td> </td>
</tr> </tr>
<tr @click="planSize = '2m'" :class="{'border-2 border-green-300': planSize === '2m', 'border-b border-gray-200 cursor-pointer': planSize !== '2m'}"> <tr @click="planSize = '2m'" :class="{'border-2 border-green-300': planSize === '2m', 'border-b border-gray-200 cursor-pointer': planSize !== '2m'}">

View File

@ -20,7 +20,7 @@
<%= render @view_module, @view_template, assigns %> <%= render @view_module, @view_template, assigns %>
<p class="text-center text-gray-500 text-xs mt-4"> <p class="text-center text-gray-500 text-xs py-8">
©2020 Plausible Insights. All rights reserved. ©2020 Plausible Insights. All rights reserved.
</p> </p>

View File

@ -6,14 +6,16 @@ defmodule PlausibleWeb.AuthView do
"558745" => "100k / monthly", "558745" => "100k / monthly",
"597485" => "200k / monthly", "597485" => "200k / monthly",
"597487" => "500k / monthly", "597487" => "500k / monthly",
"558746" => "1m / monthly", "597642" => "1m / monthly",
"558746" => "1m / monthly / grandfathered",
"597309" => "2m / monthly", "597309" => "2m / monthly",
"597311" => "5m / monthly", "597311" => "5m / monthly",
"572810" => "10k / yearly", "572810" => "10k / yearly",
"590752" => "100k / yearly", "590752" => "100k / yearly",
"597486" => "200k / yearly", "597486" => "200k / yearly",
"597488" => "500k / yearly", "597488" => "500k / yearly",
"590753" => "1m / yearly", "597643" => "1m / yearly",
"590753" => "1m / yearly / grandfathered",
"597310" => "2m / yearly", "597310" => "2m / yearly",
"597312" => "5m / yearly", "597312" => "5m / yearly",
"free_10k" => "10k / free" "free_10k" => "10k / free"