-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* trigger build * pricing
- Loading branch information
Showing
5 changed files
with
68 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,66 @@ | ||
<div class="my-container pt-12"> | ||
<div class="px-4"> | ||
<% if current_user && current_user.subscribed? %> | ||
You're in! Subscribed to the monthly plan. | ||
<% else %> | ||
Oops, looks like you're not subscribed yet. | ||
<% end %> | ||
<div class="flex flex-row max-w-6xl w-full my-container"> | ||
<!-- Basic Plan --> | ||
<div class="flex flex-col rounded-lg border border-gray-200 border-black m-4 w-full"> | ||
<div class="grid gap-4 p-6"> | ||
<h3 class="text-xl font-semibold">Basic</h3> | ||
<p class="text-sm text-gray-500">For individuals who need unlimited task creation</p> | ||
<p> | ||
<span class="text-4xl font-semibold">Free</span> | ||
</p> | ||
<div class="grid gap-2 text-sm text-gray-600"> | ||
<p class="flex items-center gap-2 my-1"> | ||
✓ Unlimited task creation | ||
</p> | ||
<p class="flex items-center gap-2 my-1"> | ||
✗ No shared task management | ||
</p> | ||
<p class="flex items-center gap-2 my-1"> | ||
✗ No penalty tasks | ||
</p> | ||
<p class="flex items-center gap-2 my-1"> | ||
✗ Basic analytics only | ||
<span class="ml-2 text-xs font-semibold text-blue-800 rounded-full px-2 border rounded-md">Coming Soon</span> | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<a href="/users/sign_in" style="width:170px" class="p-4 m-4 border rounded-md shadow-lg transition-transform transform active:translate-y-1 hover:-translate-y-1"> | ||
Get Started | ||
</a> | ||
</div> | ||
<div class="m-4 bg-white border-4 border-black shadow-none"> | ||
|
||
<!-- Pro Plan --> | ||
<div class="flex flex-col rounded-lg border border-gray-200 border-black m-4 w-full"> | ||
<div class="grid gap-4 p-6"> | ||
<h3 class="text-xl font-semibold">Pro</h3> | ||
<p class="text-sm text-gray-500">For power users and advanced features</p> | ||
<p> | ||
<span class="text-4xl font-semibold"> | ||
US<%= "$#{SUBSCRIPTION_PRICE_MONTHLY}" %> | ||
</span> | ||
<span class="">/month</span> | ||
</p> | ||
<div class="grid gap-2 text-sm text-gray-600"> | ||
<p class="flex items-center gap-2 my-1"> | ||
✓ Penalty tasks for accountability | ||
</p> | ||
<p class="flex items-center gap-2 my-1"> | ||
✓ Shared task management | ||
</p> | ||
<p class="flex items-center gap-2 my-1"> | ||
✓ Advanced analytics & insight | ||
<span class="ml-2 text-xs font-semibold text-blue-800 rounded-full px-2 border rounded-md">Coming Soon</span> | ||
</p> | ||
<p class="flex items-center gap-2 my-1"> | ||
✓ AI task prioritization | ||
<span class="ml-2 text-xs font-semibold text-blue-800 rounded-full px-2 border rounded-md">Coming Soon</span> | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<%= form_tag purchase_checkouts_path, method: :post, data: { turbo: false } do %> | ||
<input type="hidden" name="price_id" value="<%= Rails.application.credentials.dig(:stripe, :pricing, :monthly) %>" /> | ||
<%= submit_tag "Get Pro for $#{SUBSCRIPTION_PRICE_MONTHLY}/mo", data: { disable_with: "Hang tight..." }, class: "px-4 py-6 bg-yellow-400 border-4 border-black text-center text-xl font-extrabold uppercase text-black w-full" %> | ||
<%= submit_tag "Get Pro for $#{SUBSCRIPTION_PRICE_MONTHLY}/mo", data: { disable_with: "Hang tight..." }, class: "cursor-pointer p-4 m-4 border rounded-md shadow-lg transition-transform transform active:translate-y-1 hover:-translate-y-1" %> | ||
<% end %> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters