Skip to content

Commit

Permalink
Add visuals for the different plans
Browse files Browse the repository at this point in the history
  • Loading branch information
mlandauer committed Sep 2, 2024
1 parent f785166 commit 3150bf8
Show file tree
Hide file tree
Showing 4 changed files with 43 additions and 3 deletions.
3 changes: 3 additions & 0 deletions app/assets/images/plans/community.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
26 changes: 26 additions & 0 deletions app/assets/images/plans/premium.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions app/assets/images/plans/standard.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 6 additions & 3 deletions app/views/documentation/api_landing.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@

<div id="plans" class="flex flex-col items-center gap-4 py-16 text-xl border-t lg:items-stretch lg:grid lg:grid-cols-3 border-t-light-grey text-navy">
<section class="flex flex-col justify-between max-w-lg p-10 my-8 text-center bg-light-grey">
<div>
<div class="flex flex-col items-center">
<%= image_tag "plans/community.svg", alt: "", class: "mb-8" %>
<%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %>
Community Plan
<% end %>
Expand Down Expand Up @@ -80,7 +81,8 @@
</section>

<section class="flex flex-col justify-between max-w-lg py-10 text-center px-14 bg-light-grey">
<div>
<div class="flex flex-col items-center">
<%= image_tag "plans/standard.svg", alt: "", class: "mb-8" %>
<%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %>
Standard Plan
<% end %>
Expand Down Expand Up @@ -117,7 +119,8 @@
</section>

<section class="flex flex-col justify-between max-w-lg p-10 my-8 text-center bg-light-grey">
<div>
<div class="flex flex-col items-center">
<%= image_tag "plans/premium.svg", alt: "", class: "mb-8" %>
<%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %>
Premium Plan
<% end %>
Expand Down

0 comments on commit 3150bf8

Please sign in to comment.