diff --git a/app/Http/Middleware/EnsureSecurityHeaders.php b/app/Http/Middleware/EnsureSecurityHeaders.php index bc770fc..59d5e3d 100644 --- a/app/Http/Middleware/EnsureSecurityHeaders.php +++ b/app/Http/Middleware/EnsureSecurityHeaders.php @@ -41,11 +41,14 @@ class EnsureSecurityHeaders // For general sites: geolocation=(), microphone=(), camera=() is often safe. $response->headers->set('Permissions-Policy', 'geolocation=(), microphone=(), camera=()'); + // Cross-Origin-Opener-Policy: isolate browsing context from cross-origin documents + $response->headers->set('Cross-Origin-Opener-Policy', 'same-origin'); + // Content-Security-Policy (CSP) - Start with upgrade-insecure-requests to force HTTPS assets // A full CSP can be tricky and break scripts. 'upgrade-insecure-requests' is safe and good for mixed content. // We can add 'frame-ancestors' here too if X-Frame-Options is ignored by some. // If the user wants A+, a basic CSP is often enough. - $csp = "upgrade-insecure-requests; block-all-mixed-content;"; + $csp = "upgrade-insecure-requests; block-all-mixed-content; frame-ancestors 'self';"; $response->headers->set('Content-Security-Policy', $csp); return $response; diff --git a/public/assets/img/photos/truncgil-mobile-app.webp b/public/assets/img/photos/truncgil-mobile-app.webp new file mode 100644 index 0000000..fb9cc0e Binary files /dev/null and b/public/assets/img/photos/truncgil-mobile-app.webp differ diff --git a/resources/views/layouts/site.blade.php b/resources/views/layouts/site.blade.php index 0de0a51..78225f0 100644 --- a/resources/views/layouts/site.blade.php +++ b/resources/views/layouts/site.blade.php @@ -57,9 +57,12 @@ $favicon_path = setting('site_favicon'); @stack('structured-data') + @stack('head') - - + + + + @@ -232,7 +235,9 @@ $favicon_path = setting('site_favicon'); @endif {{-- Main Content --}} - @yield('content') +
+ @yield('content') +
{{-- Dynamic Footer Template or Static Footer --}} @php @@ -278,8 +283,8 @@ $favicon_path = setting('site_favicon'); @include('partials.footer') @endif - - + + @stack('scripts') diff --git a/resources/views/partials/footer.blade.php b/resources/views/partials/footer.blade.php index 6df4619..6d628ec 100644 --- a/resources/views/partials/footer.blade.php +++ b/resources/views/partials/footer.blade.php @@ -3,16 +3,16 @@
- image + {{ setting('site_name', config('app.name')) }}

© {{ date('Y') }} {{ t('Trunçgil Teknoloji') }}. {{ t('Tüm hakları saklıdır.') }}

-
@@ -21,7 +21,7 @@
-

{{ t('İletişim') }}

+

{!! t('İletişim') !!}

{{ setting('contact_address') }}
{{ setting('contact_email') }}
{{ setting('contact_phone') }}
@@ -30,7 +30,7 @@
-

{{ t('Daha Fazla Bilgi') }}

+

{!! t('Daha Fazla Bilgi') !!}

  • {{ t('Hakkımızda') }}
  • {{ t('Hikayemiz') }}
  • @@ -44,7 +44,7 @@
    -

    {{ t('Bizimle İletişime Geçin') }}

    +

    {!! t('Bizimle İletişime Geçin') !!}

    {{ t('Yeniliklerden haberdar olmak için bize e-posta adresinizi bırakın.') }}

diff --git a/resources/views/templates/services/app-development.blade.php b/resources/views/templates/services/app-development.blade.php index 08f1eb2..55107f5 100644 --- a/resources/views/templates/services/app-development.blade.php +++ b/resources/views/templates/services/app-development.blade.php @@ -1,5 +1,9 @@ @extends('layouts.site', ['header' => 'partials.header-app-development', 'footer' => 'partials.footer']) +@push('head') + +@endpush + @push('styles')