From d6bbc85b5a78e39b28676a706f04557599a4aa55 Mon Sep 17 00:00:00 2001 From: Matthew Landauer Date: Fri, 30 Aug 2024 02:51:53 +0000 Subject: [PATCH] Improve plan layout on mobile --- app/views/documentation/api_landing.html.erb | 162 ++++++++++--------- 1 file changed, 84 insertions(+), 78 deletions(-) diff --git a/app/views/documentation/api_landing.html.erb b/app/views/documentation/api_landing.html.erb index 31fd76a09..78ff8e632 100644 --- a/app/views/documentation/api_landing.html.erb +++ b/app/views/documentation/api_landing.html.erb @@ -46,28 +46,30 @@ -
-
- <%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %> - Community Plan - <% end %> -
-

- API data for strictly non-commercial use for public benefit. -

-

- $0 - AUD - / month -

-
- <%= render BulletListComponent.new do |c| %> - <%= c.with_item do %> - Return up to - <%= number_with_delimiter(ApiKey.default_daily_limit_community * Application.max_per_page) %> - applications per day +
+
+
+ <%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %> + Community Plan + <% end %> +
+

+ API data for strictly non-commercial use for public benefit. +

+

+ $0 + AUD + / month +

+
+ <%= render BulletListComponent.new do |c| %> + <%= c.with_item do %> + Return up to + <%= number_with_delimiter(ApiKey.default_daily_limit_community * Application.max_per_page) %> + applications per day + <% end %> <% end %> - <% end %> +

@@ -75,33 +77,35 @@

-
- <%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %> - Standard Plan - <% end %> -
-

- Set and forget reliable API service, effortlessly integrated into your application. -

-

- $3499 - AUD - + GST / month -

-
- <%= render BulletListComponent.new do |c| %> - <%= c.with_item do %> - Return up to - <%= number_with_delimiter(ApiKey.default_daily_limit_commercial * Application.max_per_page) %> - applications per day - <% end %> - <%= c.with_item do %> - 1 product - <% end %> - <%= c.with_item do %> - Priority email support +
+
+ <%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %> + Standard Plan + <% end %> +
+

+ Set and forget reliable API service, effortlessly integrated into your application. +

+

+ $3499 + AUD + + GST / month +

+
+ <%= render BulletListComponent.new do |c| %> + <%= c.with_item do %> + Return up to + <%= number_with_delimiter(ApiKey.default_daily_limit_commercial * Application.max_per_page) %> + applications per day + <% end %> + <%= c.with_item do %> + 1 product + <% end %> + <%= c.with_item do %> + Priority email support + <% end %> <% end %> - <% end %> +

@@ -110,38 +114,40 @@

-
- <%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %> - Premium Plan - <% end %> -
-

- More power and flexibility. Talk to us for pricing. -

-

- Potential add ons can include: -

-
- <%= render BulletListComponent.new do |c| %> - <%= c.with_item do %> - <%# TODO: Add documentation for bulk data API %> - Access to bulk data API - <% end %> - <%= c.with_item do %> - Multiple products - <% end %> - <%= c.with_item do %> - Return more than - <%= number_with_delimiter(ApiKey.default_daily_limit_commercial * Application.max_per_page) %> - applications per day - <% end %> - <%= c.with_item do %> - Search for applications by description - <% end %> - <%= c.with_item do %> - Customised integration options +
+
+ <%= render HeadingComponent.new(tag: :h2, extra_classes: "mb-8") do %> + Premium Plan + <% end %> +
+

+ More power and flexibility. Talk to us for pricing. +

+

+ Potential add ons can include: +

+
+ <%= render BulletListComponent.new do |c| %> + <%= c.with_item do %> + <%# TODO: Add documentation for bulk data API %> + Access to bulk data API + <% end %> + <%= c.with_item do %> + Multiple products + <% end %> + <%= c.with_item do %> + Return more than + <%= number_with_delimiter(ApiKey.default_daily_limit_commercial * Application.max_per_page) %> + applications per day + <% end %> + <%= c.with_item do %> + Search for applications by description + <% end %> + <%= c.with_item do %> + Customised integration options + <% end %> <% end %> - <% end %> +