From 80de8dc6f9828b4b48bad88e994929d958d20cc0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=9Cmit=20Tun=C3=A7?= Date: Tue, 2 Jun 2026 20:06:24 +0300 Subject: [PATCH] feat: implement imprint page with copy-to-clipboard functionality and update corporate templates --- app/Support/PageTemplateHero.php | 1 + database/data/corporate_translations.php | 91 ++++ .../corporate/bank-accounts.blade.php | 13 +- .../templates/corporate/imprint.blade.php | 428 ++++++++++++++++++ .../bank-accounts-legal-info.blade.php | 6 +- .../bank-accounts-letterhead.blade.php | 4 +- 6 files changed, 533 insertions(+), 10 deletions(-) create mode 100644 resources/views/templates/corporate/imprint.blade.php diff --git a/app/Support/PageTemplateHero.php b/app/Support/PageTemplateHero.php index 62f123c..947a770 100644 --- a/app/Support/PageTemplateHero.php +++ b/app/Support/PageTemplateHero.php @@ -110,6 +110,7 @@ class PageTemplateHero 'corporate.partners' => 'Çözüm Ortaklarımız (Kurumsal)', 'corporate.bank-accounts' => 'Banka Bilgilerimiz (Kurumsal)', 'corporate.online-payment' => 'Online Ödeme (Kurumsal)', + 'corporate.imprint' => 'Künye (Kurumsal)', ]; $fromConfig = collect(config('page_templates.labels', [])) diff --git a/database/data/corporate_translations.php b/database/data/corporate_translations.php index d00a0ba..3935360 100644 --- a/database/data/corporate_translations.php +++ b/database/data/corporate_translations.php @@ -128,5 +128,96 @@ return [ 'ar' => 'يمكنكم إضافة حساباتكم البنكية من لوحة الإدارة.', 'ru' => 'Вы можете добавить банковские счета из панели администратора.', ], + 'Künye' => [ + 'en' => 'Imprint', + 'de' => 'Impressum', + 'se' => 'Imprint', + 'ar' => 'البيانات القانونية', + 'ru' => 'Юридическая информация', + ], + 'Resmi şirket bilgileri ve yasal sorumluluklar.' => [ + 'en' => 'Official company information and legal responsibilities.', + 'de' => 'Offizielle Firmeninformationen und rechtliche Verantwortung.', + 'se' => 'Officiell företagsinformation och juridiskt ansvar.', + 'ar' => 'معلومات الشركة الرسمية والمسؤوليات القانونية.', + 'ru' => 'Официальная информация о компании и юридическая ответственность.', + ], + 'Yasal Künye Bilgileri' => [ + 'en' => 'Legal Imprint Details', + 'de' => 'Rechtliche Angaben (Impressum)', + 'se' => 'Juridisk information', + 'ar' => 'تفاصيل البيانات القانونية', + 'ru' => 'Юридические выходные данные', + ], + 'Ticaret Sicil No' => [ + 'en' => 'Trade Registry No', + 'de' => 'Handelsregisternummer', + 'se' => 'Organisationsnummer', + 'ar' => 'رقم السجل التجاري', + 'ru' => 'Регистрационный номер компании', + ], + 'Ticaret Odası' => [ + 'en' => 'Chamber of Commerce', + 'de' => 'Handelskammer', + 'se' => 'Handelskammare', + 'ar' => 'الغرفة التجارية', + 'ru' => 'Торгово-промышленная палата', + ], + 'Gaziantep Ticaret Odası (GTO)' => [ + 'en' => 'Gaziantep Chamber of Commerce (GTO)', + 'de' => 'Handelskammer Gaziantep (GTO)', + 'se' => 'Gazianteps Handelskammare (GTO)', + 'ar' => 'غرفة تجارة غازي عنتاب (GTO)', + 'ru' => 'Торгово-промышленная палата Газиантепа (GTO)', + ], + 'Sorumlu Müdür' => [ + 'en' => 'Responsible Manager', + 'de' => 'Verantwortlicher Geschäftsführer', + 'se' => 'Ansvarig utgivare', + 'ar' => 'المدير المسؤول', + 'ru' => 'Ответственный менеджер', + ], + 'Yer Sağlayıcı' => [ + 'en' => 'Hosting Provider', + 'de' => 'Hosting-Anbieter', + 'se' => 'Webbhotell', + 'ar' => 'مزود خدمة الاستضافة', + 'ru' => 'Хостинг-провайдер', + ], + 'KEP Adresi' => [ + 'en' => 'Registered Email (KEP)', + 'de' => 'Registrierte E-Mail (KEP)', + 'se' => 'Registrerad e-post (KEP)', + 'ar' => 'البريد الإلكتروني المسجل (KEP)', + 'ru' => 'Зарегистрированный E-mail (KEP)', + ], + 'İletişim ve Resmi Bilgiler' => [ + 'en' => 'Contact & Official Info', + 'de' => 'Kontakt & Offizielle Informationen', + 'se' => 'Kontakt & Officiell information', + 'ar' => 'الاتصال والمعلومات الرسمية', + 'ru' => 'Контактная и официальная информация', + ], + 'Kurumsal Bilgiler' => [ + 'en' => 'Corporate Information', + 'de' => 'Unternehmensinformationen', + 'se' => 'Företagsinformation', + 'ar' => 'معلومات الشركة', + 'ru' => 'Информация о компании', + ], + 'Yetkili Temsilci' => [ + 'en' => 'Authorized Representative', + 'de' => 'Vertretungsberechtigte Person', + 'se' => 'Behörig företrädare', + 'ar' => 'الممثل المفوض', + 'ru' => 'Уполномоченный представитель', + ], + 'Telefon' => [ + 'en' => 'Phone', + 'de' => 'Telefon', + 'se' => 'Telefon', + 'ar' => 'الهاتف', + 'ru' => 'Телефон', + ], ], ]; diff --git a/resources/views/templates/corporate/bank-accounts.blade.php b/resources/views/templates/corporate/bank-accounts.blade.php index 3b2ac48..ccf4175 100644 --- a/resources/views/templates/corporate/bank-accounts.blade.php +++ b/resources/views/templates/corporate/bank-accounts.blade.php @@ -515,9 +515,9 @@
-

{!! $page->title !!}

- @if($page->excerpt) -

{!! $page->excerpt !!}

+

{!! $page->translate('title') ?: $page->title !!}

+ @if($page->translate('excerpt') ?: $page->excerpt) +

{!! $page->translate('excerpt') ?: $page->excerpt !!}

@endif
@@ -634,11 +634,14 @@ @include('templates.corporate.partials.bank-accounts-legal-info') - @if($page->content) + @php + $pageContent = $page->translate('content') ?: $page->content; + @endphp + @if($pageContent)
- {!! $page->content !!} + {!! $pageContent !!}
diff --git a/resources/views/templates/corporate/imprint.blade.php b/resources/views/templates/corporate/imprint.blade.php new file mode 100644 index 0000000..69b5bc4 --- /dev/null +++ b/resources/views/templates/corporate/imprint.blade.php @@ -0,0 +1,428 @@ +@extends('layouts.site') + +@section('content') + + + +
+
+ +
+
+

{!! $page->translate('title') ?: t('Künye') !!}

+

{!! $page->translate('excerpt') ?: t('Resmi şirket bilgileri ve yasal sorumluluklar.') !!}

+
+
+ +
+ +
+ +
+ + +
+
+
+
+ +
+

{!! t('Kurumsal Bilgiler') !!}

+
+ +
+
+ {!! t('Firma Ünvanı') !!} +
+ {!! t('TRUNÇGİL TEKNOLOJİ SANAYİ VE TİCARET LİMİTED ŞİRKETİ') !!} + +
+
+ +
+ {!! t('Yetkili Temsilci') !!} +
+ Mehmet Ali Trunç + +
+
+ +
+ {!! t('Sorumlu Müdür') !!} +
+ Mehmet Ali Trunç + +
+
+ +
+ {!! t('Yer Sağlayıcı') !!} +
+ {!! t('TRUNÇGİL TEKNOLOJİ SANAYİ VE TİCARET LİMİTED ŞİRKETİ') !!} + +
+
+
+ + +
+
+ + +
+
+
+
+ +
+

{!! t('Yasal Künye Bilgileri') !!}

+
+ +
+
+ {!! t('Vergi Dairesi') !!} +
+ {!! t('Şahinbey V.D.') !!} + +
+
+ +
+ {!! t('Vergi Numarası') !!} +
+ 8591492435 + +
+
+ +
+ {!! t('MERSİS No') !!} +
+ 0859149243500001 + +
+
+ +
+ {!! t('Ticaret Sicil No') !!} +
+ 49454 + +
+
+ +
+ {!! t('Ticaret Odası') !!} +
+ {!! t('Gaziantep Ticaret Odası (GTO)') !!} + +
+
+
+ + +
+
+ + +
+
+
+
+ +
+

{!! t('İletişim ve Resmi Bilgiler') !!}

+
+ +
+
+ {!! t('Telefon') !!} +
+ +90 850 305 45 45 + +
+
+ +
+ {!! t('E-Posta') !!} + +
+ +
+ {!! t('KEP Adresi') !!} +
+ truncgilteknoloji@hs01.kep.tr + +
+
+ +
+ {!! t('Adres') !!} +
+ {!! t('Çamtepe Mah. Mahmut Tevfik Atay Bul. Gaziantep Teknopark No: 4A İç Kapı No: 1 Şahinbey / Gaziantep') !!} + +
+
+
+ + +
+
+ +
+ + @php + $pageContent = $page ? ($page->translate('content') ?: $page->content) : null; + @endphp + @if($pageContent) +
+
+
+ {!! $pageContent !!} +
+
+
+ @endif + +
+
+ +@push('scripts') + +@endpush + +@endsection diff --git a/resources/views/templates/corporate/partials/bank-accounts-legal-info.blade.php b/resources/views/templates/corporate/partials/bank-accounts-legal-info.blade.php index ca3dcd6..ca2c028 100644 --- a/resources/views/templates/corporate/partials/bank-accounts-legal-info.blade.php +++ b/resources/views/templates/corporate/partials/bank-accounts-legal-info.blade.php @@ -12,7 +12,7 @@