mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-02-25 20:35:10 +00: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"}
|
||||
</p>
|
||||
<p className="text-xs text-muted-foreground mt-0.5">
|
||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"} per server (add
|
||||
as many as you'd like for{" "}
|
||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"})
|
||||
Add more servers as you'd like for{" "}
|
||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"}
|
||||
</p>
|
||||
{isAnnual && (
|
||||
<p className="text-xs text-muted-foreground mt-2">
|
||||
$
|
||||
{(
|
||||
calculatePriceHobby(serverQuantity, true) / 12
|
||||
).toFixed(2)}
|
||||
/mo
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
<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{" "}
|
||||
{isAnnual ? "$45.90/yr" : "$4.50/mo"}
|
||||
</p>
|
||||
{isAnnual && (
|
||||
<p className="text-xs text-muted-foreground mt-2">
|
||||
$
|
||||
{(
|
||||
calculatePriceStartup(serverQuantity, true) / 12
|
||||
).toFixed(2)}
|
||||
/mo
|
||||
</p>
|
||||
)}
|
||||
</div>
|
||||
<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">
|
||||
|
||||
Reference in New Issue
Block a user