|
1 | 1 | <script> |
2 | 2 | import { enhance } from '$app/forms'; |
| 3 | +
|
| 4 | + /** @type {import('./$types').PageData} */ |
| 5 | + export let data; |
| 6 | +
|
3 | 7 | let titlePadding = 'p-2 md:p-4'; |
4 | 8 | let contentPadding = 'p-2 md:p-4'; |
5 | 9 | let cardPadding = 'p-2 md:p-4'; |
|
46 | 50 | <h2 class="h2 {titlePadding}">Plans & Pricing</h2> |
47 | 51 | <div class={contentPadding}> |
48 | 52 | <p> |
49 | | - Simple pricing for teams that need clear data access. For alternative payment options |
50 | | - (Invoice, PayPal, etc.), please reach out to us at <a href="mailto:contact@appgoblin.info" |
51 | | - >contact@appgoblin.info</a |
| 53 | + For alternative payment options (Invoice, PayPal, etc.), please reach out to us at <a |
| 54 | + href="mailto:contact@appgoblin.info">contact@appgoblin.info</a |
52 | 55 | >. |
53 | 56 | </p> |
54 | 57 |
|
|
70 | 73 | <li>Ad intelligence, trending growth apps</li> |
71 | 74 | </ul> |
72 | 75 | <p class="text-xs opacity-60">Included with every account</p> |
| 76 | + {#if !data?.user} |
| 77 | + <a href="/auth/signup" class="btn preset-filled-primary-500 w-full mt-auto" |
| 78 | + >Create Account</a |
| 79 | + > |
| 80 | + {/if} |
73 | 81 | </div> |
74 | 82 |
|
75 | 83 | <div class="card preset-filled-surface-50-950 p-4 flex flex-col gap-3"> |
76 | 84 | <div> |
77 | 85 | <p class="text-xs uppercase tracking-wide opacity-60">Premium Supporter</p> |
78 | | - <p class="text-2xl font-semibold">$49</p> |
| 86 | + <p class="text-2xl font-semibold"> |
| 87 | + $49<span class="text-xs opacity-60 ml-1">/mo</span> |
| 88 | + </p> |
79 | 89 | <p class="text-xs opacity-70">Freelance ASO, small teams, power users</p> |
80 | 90 | </div> |
81 | 91 | <ul class="text-xs list-disc list-inside space-y-1 opacity-90"> |
82 | 92 | <li>Everything in Free</li> |
83 | | - <li>App CrossFilter dashboard</li> |
| 93 | + <li>App Explorer dashboard</li> |
84 | 94 | <li>Feature requests and feedback</li> |
85 | 95 | </ul> |
86 | 96 | <form |
|
92 | 102 | > |
93 | 103 | <input type="hidden" name="priceKey" value="app_dev" /> |
94 | 104 | <button type="submit" disabled={loading} class="btn preset-filled-primary-500 w-full"> |
95 | | - {loading && activePriceKey === 'app_dev' ? 'Redirecting to checkout...' : 'Subscribe'} |
| 105 | + {loading && activePriceKey === 'app_dev' |
| 106 | + ? 'Redirecting to checkout...' |
| 107 | + : 'Become Premium Supporter'} |
96 | 108 | </button> |
97 | 109 | </form> |
98 | 110 | </div> |
99 | 111 |
|
100 | 112 | <div class="card preset-filled-surface-50-950 p-4 flex flex-col gap-3"> |
101 | 113 | <div> |
102 | | - <p class="text-xs uppercase tracking-wide opacity-60">Business Intelligence</p> |
103 | | - <p class="text-2xl font-semibold">$299</p> |
104 | | - <p class="text-xs opacity-70"> |
105 | | - Ad tech, SDK vendors, competitive intel teams, agencies |
| 114 | + <p class="text-xs uppercase tracking-wide opacity-60"> |
| 115 | + Business Intelligence (SDK data) |
106 | 116 | </p> |
| 117 | + <p class="text-2xl font-semibold"> |
| 118 | + $299<span class="text-xs opacity-60 ml-1">/mo</span> |
| 119 | + </p> |
| 120 | + <p class="text-xs opacity-70">Sales teams, ad networks, agencies</p> |
107 | 121 | </div> |
108 | 122 | <ul class="text-xs list-disc list-inside space-y-1 opacity-90"> |
109 | 123 | <li>Everything in Premium</li> |
|
119 | 133 | > |
120 | 134 | <input type="hidden" name="priceKey" value="b2b_sdk" /> |
121 | 135 | <button type="submit" disabled={loading} class="btn preset-filled-primary-500 w-full"> |
122 | | - {loading && activePriceKey === 'b2b_sdk' ? 'Redirecting to checkout...' : 'Subscribe'} |
| 136 | + {loading && activePriceKey === 'b2b_sdk' |
| 137 | + ? 'Redirecting to checkout...' |
| 138 | + : 'Get Business Intelligence'} |
123 | 139 | </button> |
124 | 140 | </form> |
125 | 141 | </div> |
126 | 142 |
|
127 | 143 | <div class="card preset-filled-surface-50-950 p-4 flex flex-col gap-3"> |
128 | 144 | <div> |
129 | 145 | <p class="text-xs uppercase tracking-wide opacity-60">App-Ads.txt</p> |
130 | | - <p class="text-2xl font-semibold">$299</p> |
131 | | - <p class="text-xs opacity-70">Ad networks, DSPs, stock traders</p> |
| 146 | + <p class="text-2xl font-semibold"> |
| 147 | + $299<span class="text-xs opacity-60 ml-1">/mo</span> |
| 148 | + </p> |
| 149 | + <p class="text-xs opacity-70">Ad networks, DSPs, SSPs</p> |
132 | 150 | </div> |
133 | 151 | <ul class="text-xs list-disc list-inside space-y-1 opacity-90"> |
134 | 152 | <li>Everything in Premium</li> |
|
146 | 164 | <button type="submit" disabled={loading} class="btn preset-filled-primary-500 w-full"> |
147 | 165 | {loading && activePriceKey === 'b2b_appads' |
148 | 166 | ? 'Redirecting to checkout...' |
149 | | - : 'Subscribe'} |
| 167 | + : 'Get App-Ads.txt'} |
150 | 168 | </button> |
151 | 169 | </form> |
152 | 170 | </div> |
|
156 | 174 | > |
157 | 175 | <div> |
158 | 176 | <p class="text-xs uppercase tracking-wide opacity-60">Premium B2B</p> |
159 | | - <p class="text-2xl font-semibold">$499</p> |
160 | | - <p class="text-xs opacity-70">Larger companies, ad networks, hedge funds</p> |
| 177 | + <p class="text-2xl font-semibold"> |
| 178 | + $499<span class="text-xs opacity-60 ml-1">/mo</span> |
| 179 | + </p> |
| 180 | + <p class="text-xs opacity-70"> |
| 181 | + Larger companies, security teams, ad networks, hedge funds |
| 182 | + </p> |
161 | 183 | </div> |
162 | 184 | <ul class="text-xs list-disc list-inside space-y-1 opacity-90"> |
163 | 185 | <li>Business SDK + App-Ads.txt</li> |
|
175 | 197 | <button type="submit" disabled={loading} class="btn preset-filled-primary-500 w-full"> |
176 | 198 | {loading && activePriceKey === 'b2b_premium' |
177 | 199 | ? 'Redirecting to checkout...' |
178 | | - : 'Subscribe'} |
| 200 | + : 'Get Premium B2B'} |
179 | 201 | </button> |
180 | 202 | </form> |
181 | 203 | </div> |
|
0 commit comments