@extends('layouts.site') @php use Illuminate\Support\Facades\Storage; $header = 'front.products.finance_header'; @endphp @section('title', $product->translate('title') ?? 'Trunçgil Finance') @php $landingData = $product->landing_page_data ?? []; $hero = $landingData['hero'] ?? []; $features = $landingData['features'] ?? []; $howItWorks = $landingData['how_it_works'] ?? []; $steps = $howItWorks['steps'] ?? []; $faqs = $landingData['faqs'] ?? []; $currentLang = app()->getLocale(); // Helper function for translations $getTranslated = function($item, $key, $default = '') use ($currentLang) { if (isset($item["{$key}_{$currentLang}"])) { return $item["{$key}_{$currentLang}"]; } return $item[$key] ?? $default; }; @endphp @push('styles') @endpush @section('content')
{{-- Hero Section designed exactly like demo3.html --}}
{{-- LEFT COLUMN: Title & Rates (Döviz, Altın, Kripto tek yerde şeklinde) --}}
{!! t('Canlı Finansal Veri Servisi') !!}

{!! t('Altın, Döviz ve Kripto Paralar') !!}
{!! t('Tek Bir API Uç Noktasında!') !!}

{!! t('Trunçgil Finance ile gecikmesiz, anlık ve yüksek frekanslı tüm altın fiyatlarını, serbest piyasa döviz kurlarını ve popüler kripto para birimlerini tek bir noktadan entegre edin.') !!}

{{-- Rates Showcase (Tek Yerde) --}}
{!! t('Gram Altın') !!}
₺3.142,45
USD / TRY
₺34.8250
EUR / TRY
₺37.2480
BTC / USD
$98,425.00
{{-- RIGHT COLUMN: Floating Fetched Logo --}}
@if(!empty($hero['featured_image'])) Trunçgil Finance Logo @else Trunçgil Finance Logo @endif
API v4 STABLE
{{-- Advantages and API Benefits Section --}}

{!! t('API Avantajları & Sıfır Kesinti') !!}

{!! t('Geliştiriciler İçin Sınırsız Özgürlük') !!}

{{-- Advantage 1: No Auth Required --}}

{!! t('No Auth Required (Sıfır Kurulum)') !!}

{!! t('Başlamak için karmaşık kayıt süreçlerine, token/key yönetimlerine gerek yok. Standart JSON uç noktalarımıza doğrudan istek atarak saniyeler içinde çalışın.') !!}

{{-- Advantage 2: Totally Free --}}

{!! t('%100 Ücretsiz Kullanım') !!}

{!! t('Geliştirici dostu yapımız gereği, tüm kişisel ve prototip projelerinizde altın döviz verilerimizi hiçbir kullanım ücreti ödemeden özgürce çekebilirsiniz.') !!}

{{-- Advantage 3: Dockerized Private Deployments --}}

{!! t('Özel Dockerize Kurulum') !!}

{!! t('Kurumsal işletmeniz için yüksek hacimli istek, sıfır ağ gecikmesi ve izole veri akışı gerekiyorsa, size özel Docker paketimizle sistemi kendi sunucularınıza kurabiliriz.') !!}

{{-- Interactive Code Playground --}}

{!! t('Geliştirici Dostu Yapı') !!}

{!! t('Kodunuza Saniyeler İçinde Bağlayın') !!}

{!! t('Modern RESTful JSON standartlarında sunulan temiz çıktı modelimiz sayesinde, en sevdiğiniz programlama dilinde anında istek atın ve verileri işleyin.') !!}

  • {!! t('Kimlik Doğrulama Gerekmez (No-Auth)') !!}
  • {!! t('Milisaniyeler Hızında JSON Çıktısı') !!}
{!! t('API Dokümantasyonunu İncele') !!}
{{-- Interactive Tabs and Code Code Editor --}}
{{-- JavaScript --}}
finance.js
fetch('https://finance.truncgil.com/v4/today.json')
  .then(response => response.json())
  .then(data => {
    console.log('Dolar/TRY:', data.USD.Buying);
    console.log('Gram Altın:', data.Gold_Gram.Selling);
  })
  .catch(error => console.error('Hata:', error));
{{-- PHP --}}
finance.php
<?php
$ch = curl_init('https://finance.truncgil.com/v4/today.json');
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$response = curl_exec($ch);
$data = json_decode($response, true);

echo "Altın Satış: " . $data['Gold_Gram']['Selling'];
curl_close($ch);
{{-- Python --}}
finance.py
import requests

response = requests.get('https://finance.truncgil.com/v4/today.json')
data = response.json()

print(f"Dolar Alış: {data['USD']['Buying']}")
print(f"Gram Altın Satış: {data['Gold_Gram']['Selling']}")
{{-- Bottom CTA Section targeting Docker deployments --}}

{!! t('Özel & Dockerize Çözümler') !!}

{!! t('Yüksek performanslı veri havuzu, sınırsız sorgulama hacmi ve sıfır dış sunucu bağımlılığı için Trunçgil Finance altyapısını Dockerize olarak kendi yerel mimarinize kuralım.') !!}

@push('scripts') @endpush @endsection