feat: trial and pay

This commit is contained in:
Ricardo Carneiro 2025-08-16 17:10:45 -03:00
parent c76de82ff8
commit 2449a617ca
6 changed files with 15 additions and 14 deletions

View File

@ -240,7 +240,7 @@ public class PaymentController : Controller
MaxLinks = 15, MaxLinks = 15,
AllowAnalytics = true, AllowAnalytics = true,
AllowCustomDomain = true, AllowCustomDomain = true,
Features = new List<string> { "15 links", "Todos os temas", "Domínio personalizado", "Análises avançadas" }, Features = new List<string> { "15 links", "Todos os temas", "Página rápida", "Análises avançadas" },
IsCurrentPlan = currentPlan == "professional" IsCurrentPlan = currentPlan == "professional"
}, },
new() new()
@ -253,7 +253,7 @@ public class PaymentController : Controller
AllowCustomThemes = true, AllowCustomThemes = true,
AllowAnalytics = true, AllowAnalytics = true,
AllowCustomDomain = true, AllowCustomDomain = true,
Features = new List<string> { "Links ilimitados", "Temas personalizados", "Múltiplos domínios", "Suporte prioritário" }, Features = new List<string> { "Links ilimitados", "Temas personalizados", "Página rápida", "Suporte prioritário" },
IsCurrentPlan = currentPlan == "premium" IsCurrentPlan = currentPlan == "premium"
} }
}; };

View File

@ -157,7 +157,7 @@ public class TrialExpirationService : BackgroundService
Básico - R$ 9,90/mês - 5 links, analytics básicos Básico - R$ 9,90/mês - 5 links, analytics básicos
Profissional - R$ 24,90/mês - 15 links, todos os temas, analytics avançados Profissional - R$ 24,90/mês - 15 links, todos os temas, analytics avançados
Premium - R$ 29,90/mês - Links ilimitados, temas customizáveis, analytics completos Premium - R$ 29,90/mês - Links ilimitados, temas premium, analytics completos
Seus dados estão seguros e serão restaurados assim que você escolher um plano. Seus dados estão seguros e serão restaurados assim que você escolher um plano.

View File

@ -122,7 +122,7 @@
id="dropdownMenuButton@(pageItem.Id)" id="dropdownMenuButton@(pageItem.Id)"
data-bs-toggle="dropdown" data-bs-toggle="dropdown"
aria-expanded="false"> aria-expanded="false">
<i class="fas fa-ellipsis-v"></i> Ações
</button> </button>
<ul class="dropdown-menu" aria-labelledby="dropdownMenuButton@(pageItem.Id)"> <ul class="dropdown-menu" aria-labelledby="dropdownMenuButton@(pageItem.Id)">
<!-- Editar - sempre presente --> <!-- Editar - sempre presente -->
@ -331,7 +331,7 @@
</div> </div>
<div class="small mb-3"> <div class="small mb-3">
<i class="fas fa-palette me-2"></i> <i class="fas fa-palette me-2"></i>
Temas customizáveis: @(Model.CurrentPlan.AllowsCustomThemes ? "✅" : "❌") Temas premium: @(Model.CurrentPlan.AllowsCustomThemes ? "✅" : "❌")
</div> </div>
@if (Model.CurrentPlan.Type == BCards.Web.Models.PlanType.Trial) @if (Model.CurrentPlan.Type == BCards.Web.Models.PlanType.Trial)

View File

@ -1,6 +1,6 @@
@{ @{
//var isPreview = ViewBag.IsPreview as bool? ?? false; //var isPreview = ViewBag.IsPreview as bool? ?? false;
ViewData["Title"] = "BCards - Crie seu LinkTree Profissional"; ViewData["Title"] = "BCards - Crie sua bio / links Profissional";
var categories = ViewBag.Categories as List<BCards.Web.Models.Category> ?? new List<BCards.Web.Models.Category>(); var categories = ViewBag.Categories as List<BCards.Web.Models.Category> ?? new List<BCards.Web.Models.Category>();
var recentPages = ViewBag.RecentPages as List<BCards.Web.Models.UserPage> ?? new List<BCards.Web.Models.UserPage>(); var recentPages = ViewBag.RecentPages as List<BCards.Web.Models.UserPage> ?? new List<BCards.Web.Models.UserPage>();
//Layout = isPreview ? "_Layout" : "_UserPageLayout"; //Layout = isPreview ? "_Layout" : "_UserPageLayout";
@ -15,7 +15,8 @@
Crie sua página profissional em minutos Crie sua página profissional em minutos
</h1> </h1>
<p class="lead mb-4"> <p class="lead mb-4">
A melhor alternativa ao LinkTree para profissionais e empresas no Brasil. A melhor alternativa ao para ter uma página de links simples.
Criada para profissionais e empresas no Brasil.
Organize todos os seus links em uma página única e profissional. Organize todos os seus links em uma página única e profissional.
</p> </p>
<div class="d-flex gap-3 flex-wrap"> <div class="d-flex gap-3 flex-wrap">

View File

@ -42,7 +42,7 @@
</li> </li>
<li class="mb-3"> <li class="mb-3">
<i class="text-muted me-2">✗</i> <i class="text-muted me-2">✗</i>
<span class="text-muted">Domínio personalizado</span> <span class="text-muted">Página rápida</span>
</li> </li>
</ul> </ul>
</div> </div>
@ -89,11 +89,11 @@
</li> </li>
<li class="mb-3"> <li class="mb-3">
<i class="text-muted me-2">✗</i> <i class="text-muted me-2">✗</i>
<span class="text-muted">Domínio personalizado</span> <span class="text-muted">Página rápida</span>
</li> </li>
<li class="mb-3"> <li class="mb-3">
<i class="text-muted me-2">✗</i> <i class="text-muted me-2">✗</i>
<span class="text-muted">Temas customizáveis</span> <span class="text-muted">Temas premium</span>
</li> </li>
</ul> </ul>
</div> </div>
@ -189,7 +189,7 @@
</li> </li>
<li class="mb-3"> <li class="mb-3">
<i class="text-success me-2">✓</i> <i class="text-success me-2">✓</i>
Temas customizáveis Temas premium
</li> </li>
<li class="mb-3"> <li class="mb-3">
<i class="text-success me-2">✓</i> <i class="text-success me-2">✓</i>

View File

@ -3,7 +3,7 @@
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>@(ViewData["Title"] ?? "BCards - Crie seu LinkTree Profissional")</title> <title>@(ViewData["Title"] ?? "BCards - Crie sua bios / links Profissional")</title>
@if (ViewBag.SeoSettings != null) @if (ViewBag.SeoSettings != null)
{ {
@ -27,8 +27,8 @@
} }
else else
{ {
<meta name="description" content="Crie sua página profissional com links organizados. A melhor alternativa ao LinkTree para profissionais e empresas no Brasil." /> <meta name="description" content="Crie sua página profissional com links organizados. A melhor alternativa para ter sua bio / links. Criada para profissionais e empresas no Brasil." />
<meta name="keywords" content="linktree, links, página profissional, perfil, redes sociais, cartão digital" /> <meta name="keywords" content="linktree, links, página profissional, perfil, redes sociais, cartão digital, bio, links, página simples" />
} }
@await RenderSectionAsync("Head", required: false) @await RenderSectionAsync("Head", required: false)