@lukoweb/create-apitogo 0.1.138 → 0.1.139

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -7,8 +7,12 @@ import {
7
7
  PricingCtaSection,
8
8
  StepsSection,
9
9
  } from "@lukoweb/apitogo-module-landing";
10
+ import { usePlansPreview } from "@lukoweb/apitogo-plugin-dev-portal-billing";
10
11
 
11
12
  export default function LandingPage() {
13
+ // Plans from modules.userPanel.plans.items (or the live dev portal backend).
14
+ const plans = usePlansPreview();
15
+
12
16
  return (
13
17
  <LandingShell
14
18
  title="Test against a real API before you build one"
@@ -157,35 +161,7 @@ export default function LandingPage() {
157
161
  ],
158
162
  }}
159
163
  />
160
- <PlansPreviewSection
161
- plans={[
162
- {
163
- name: "Free",
164
- price: "$0",
165
- unit: "per month",
166
- blurb: "1,000 requests/mo.",
167
- },
168
- {
169
- name: "Developer",
170
- price: "$19",
171
- unit: "per month",
172
- blurb: "50,000 requests/mo, webhooks included.",
173
- featured: true,
174
- },
175
- {
176
- name: "Team",
177
- price: "$79",
178
- unit: "per month",
179
- blurb: "500,000 requests/mo, 5 team seats.",
180
- },
181
- {
182
- name: "Enterprise",
183
- price: "$299",
184
- unit: "per month",
185
- blurb: "Unlimited requests, SSO, SLA.",
186
- },
187
- ]}
188
- />
164
+ <PlansPreviewSection plans={plans} />
189
165
  <PricingCtaSection
190
166
  variant="banner"
191
167
  pricingCta={{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lukoweb/create-apitogo",
3
- "version": "0.1.138",
3
+ "version": "0.1.139",
4
4
  "keywords": [
5
5
  "react",
6
6
  "apitogo"