@if (file_exists(public_path('build/manifest.json')) || file_exists(public_path('hot'))) @vite(['resources/css/app.css', 'resources/js/app.js']) @else @endif
Background
Truncgil Finance Logo
@if (Route::has('login')) @endif
@php try { $response = @file_get_contents('https://finance.truncgil.com/api/today.json'); $data = $response ? json_decode($response, true) : null; } catch (\Exception $e) { $data = null; } $currencies = ['USD', 'EUR', 'GBP', 'GRA', 'BTC', 'ETH', 'XRP', 'LTC']; $rates = []; if (isset($data['Rates'])) { foreach ($currencies as $currency) { if (isset($data['Rates'][$currency])) { $rates[$currency] = $data['Rates'][$currency]; } } } @endphp
@forelse($rates AS $currencyName => $rate)
@include('currency', [ 'currencyName' => $currencyName, 'rate' => $rate ])
@empty

Service temporarily unavailable. Please try again later.

@endforelse