mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-06-27 10:05:32 +02:00
feat: update billing display to show monthly pricing for additional servers
- Modified the billing section to clarify that users can add more servers at the specified monthly rate. - Added monthly pricing display for both Hobby and Startup tiers when the annual plan is selected. - Enhanced user experience by providing clearer pricing information based on server quantity.
This commit is contained in:
@@ -685,10 +685,18 @@ export const ShowBilling = () => {
|
|||||||
/{isAnnual ? "yr" : "mo"}
|
/{isAnnual ? "yr" : "mo"}
|
||||||
</p>
|
</p>
|
||||||
<p className="text-xs text-muted-foreground mt-0.5">
|
<p className="text-xs text-muted-foreground mt-0.5">
|
||||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"} per server (add
|
Add more servers as you'd like for{" "}
|
||||||
as many as you'd like for{" "}
|
{isAnnual ? "$45.90/yr" : "$4.50/mo"}
|
||||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"})
|
|
||||||
</p>
|
</p>
|
||||||
|
{isAnnual && (
|
||||||
|
<p className="text-xs text-muted-foreground mt-2">
|
||||||
|
$
|
||||||
|
{(
|
||||||
|
calculatePriceHobby(serverQuantity, true) / 12
|
||||||
|
).toFixed(2)}
|
||||||
|
/mo
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground">
|
<ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground">
|
||||||
{[
|
{[
|
||||||
@@ -807,6 +815,15 @@ export const ShowBilling = () => {
|
|||||||
Add more servers as you'd like for{" "}
|
Add more servers as you'd like for{" "}
|
||||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"}
|
{isAnnual ? "$45.90/yr" : "$4.50/mo"}
|
||||||
</p>
|
</p>
|
||||||
|
{isAnnual && (
|
||||||
|
<p className="text-xs text-muted-foreground mt-2">
|
||||||
|
$
|
||||||
|
{(
|
||||||
|
calculatePriceStartup(serverQuantity, true) / 12
|
||||||
|
).toFixed(2)}
|
||||||
|
/mo
|
||||||
|
</p>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground">
|
<ul className="mt-5 flex flex-col gap-2 text-sm text-muted-foreground">
|
||||||
<li className="flex items-start gap-2 font-medium text-foreground">
|
<li className="flex items-start gap-2 font-medium text-foreground">
|
||||||
|
|||||||
Reference in New Issue
Block a user