@extends('layouts.app') @section('title', 'HastAI Admin - Settings') @section('page_title', 'Settings') @section('content')
App Settings
@csrf
maintenance_mode ? 'checked' : '' }}>
When enabled, users will see the maintenance screen and won't be allowed to use the app.
@error('maintenance_title') {{ $message }} @enderror
@error('maintenance_message') {{ $message }} @enderror
maintenance_button_enabled) ? 'checked' : '' }}>
Toggle to display a custom action button on the app's maintenance screen.
@error('maintenance_button_text') {{ $message }} @enderror
@error('maintenance_button_link') {{ $message }} @enderror
Enter your Gemini API key from Google AI Studio. Left empty to disable API connection. @error('gemini_api_key') {{ $message }} @enderror
Specify the Gemini model to use (e.g. gemini-1.5-flash, gemini-1.5-pro, gemini-2.5-flash, etc.) @error('gemini_model_name') {{ $message }} @enderror
Defines the overall template structure of the final prompt sent to the AI. Click the buttons above to dynamically insert the corresponding variables at the current cursor position. @error('final_prompt_builder') {{ $message }} @enderror
The system prompt template used for report generation. Available variables: {report_name}, {report_language}, {user_profile_details}, {general_instructions}, {output_json_format}. @error('system_prompt') {{ $message }} @enderror
Common instructions for the AI model when generating reports. @error('general_instruction') {{ $message }} @enderror
Specific style guidelines for the AI generation (e.g. professional, empathetic, tone directives). @error('writing_style_instructions') {{ $message }} @enderror
The JSON structure defining the available widget configurations and libraries. @error('widget_library_json') {{ $message }} @enderror
The prompt guidelines that the AI model will follow during the user's initial hand scan. @error('palm_first_scan_prompt') {{ $message }} @enderror
The minimum version code (e.g. 1, 2) that users must have installed. If the user's version is less than this, they will be forced to update. @error('min_version_code') {{ $message }} @enderror
RevenueCat Configuration
Found in your RevenueCat Project Settings URL: https://app.revenuecat.com/projects/{project_id} @error('revenuecat_project_id') {{ $message }} @enderror
Generate a V2 secret API key in the RevenueCat dashboard under Project Settings > API Keys. @error('revenuecat_v2_secret_key') {{ $message }} @enderror
Signup Bonus Configuration
signup_bonus_enabled ? 'checked' : '' }}>
When enabled, newly registered users will receive a signup credit bonus.
Enter the number of credits to award new users. If set to 0, no credits will be awarded. @error('signup_bonus_credits') {{ $message }} @enderror
referral_enabled ? 'checked' : '' }}>
When enabled, users can refer new users and earn coins/credits.
Enter the maximum number of successful referrals a user can get rewarded for. @error('referral_max_limit') {{ $message }} @enderror
Enter the number of credits/coins to award the referrer for each completed referral. @error('referral_reward_credits') {{ $message }} @enderror
General Configuration
Enter the maximum number of palm profiles a user is allowed to create. @error('palm_profile_limit') {{ $message }} @enderror

report_limit_enabled ? 'checked' : '' }}>
When enabled, users will be restricted from creating more than a specified number of reports per day.
Enter the maximum number of reports a user can generate in a single day. @error('max_reports_per_day') {{ $message }} @enderror
Cancel
@endsection @section('scripts') @endsection