Enable pricing (#151)
* Enable Pro plan - WIP * no pricing page if have no paid plans * Set pricing ids in env * views & submissions FREE for all * extra param for env * form password FREE for all * Custom Code is PRO feature * Replace codeinput prism with codemirror * Better form Cleaning message * Added risky user email spam protection * fix form cleaning * Pricing page new UI * form cleaner * Polish changes * Fixed tests --------- Co-authored-by: Julien Nahum <julien@nahum.net>
This commit is contained in:
@@ -14,7 +14,8 @@
|
||||
'amplitude_code' => config('services.amplitude_code'),
|
||||
'crisp_website_id' => config('services.crisp_website_id'),
|
||||
'ai_features_enabled' => !is_null(config('services.openai.api_key')),
|
||||
's3_enabled' => config('filesystems.default') === 's3'
|
||||
's3_enabled' => config('filesystems.default') === 's3',
|
||||
'paid_plans_enabled' => !is_null(config('cashier.key'))
|
||||
];
|
||||
@endphp
|
||||
<!DOCTYPE html>
|
||||
|
||||
Reference in New Issue
Block a user