<?php

use Illuminate\Support\Facades\Route;

Route::get('/', function () {
    return view('welcome');
});

// Test route to verify web routes work
Route::get('/test-public-config', function() {
    return ['status' => 'working', 'message' => 'Web routes are functioning'];
});

// Simplified public API route for configurations
Route::get('/api/configurations/public', function() {
    return [
        'success' => true,
        'data' => [
            'app_name' => 'Investika',
            'app_version' => '1.0.0',
            'support_email' => 'support@investika.co.ke',
            'min_deposit_amount' => 10.00,
            'max_withdrawal_amount' => 10000.00,
        ]
    ];
});
