diff --git a/resources/views/templates/books/books.blade.php b/resources/views/templates/books/books.blade.php index 31e86af..d3e79a7 100644 --- a/resources/views/templates/books/books.blade.php +++ b/resources/views/templates/books/books.blade.php @@ -12,28 +12,11 @@ {{-- Hero Section --}} @include('templates.books.sections.hero') - {{-- Content Section --}} -
-
- - {{-- Section Title --}} -
-
-

{{ t('Yayınlarımız') }}

-

{{ t('Eğitim ve bilim alanında hazırladığımız kitaplarımızı keşfedin.') }}

-
-
+ {{-- Features Section (Book Showcase) --}} + @include('templates.books.sections.features') - {{-- Categories Removed --}} - - {{-- Book List --}} - @include('templates.books.sections.book-list') - -
-
- - {{-- CTA Footer --}} - @include('templates.books.sections.footer') + {{-- Contact Section --}} + @include('templates.books.sections.contact') @endsection diff --git a/resources/views/templates/books/sections/book-list.blade.php b/resources/views/templates/books/sections/book-list.blade.php index 8db7ac5..30ae1e2 100644 --- a/resources/views/templates/books/sections/book-list.blade.php +++ b/resources/views/templates/books/sections/book-list.blade.php @@ -36,7 +36,7 @@ Yapay zeka ve derin öğrenmenin temellerini atıp ileriye taşıyabileceğiniz 'Optik Kağıt Tanıma Projesi', 'Mnist Veri Seti Oluşturma Projesi' ], - 'image' => '/assets/img/photos/tensorflow-book-real.jpg', + 'image' => 'assets/img/photos/tensorflow-book-real.jpg', 'year' => 'Yapay Zeka', 'isbn' => '9786052118566', 'pages' => '160', @@ -80,7 +80,7 @@ Kuruluşu doğru yapmak ve olası hataların önüne geçmek için bu videoyu se 'Alan Adı ve Barındırma', 'Klasör Erişim İzinleri' ], - 'image' => '/assets/img/photos/php-eticaret-book.jpg', + 'image' => 'assets/img/photos/php-eticaret-book.jpg', 'year' => 'E-Ticaret', 'isbn' => '978-605-5201-333', 'pages' => '440', @@ -116,7 +116,7 @@ Kendi haberlerinizi hazırlayacağınız, kliplerinizi çekeceğiniz, kitapları 'Crawl ve Roll Yazılar', 'Color Correction' ], - 'image' => '/assets/img/photos/adobe-premiere-book.jpg', + 'image' => 'assets/img/photos/adobe-premiere-book.jpg', 'year' => 'Video Montaj', 'isbn' => '978-605-5201-456', 'pages' => '312', @@ -128,38 +128,61 @@ Kendi haberlerinizi hazırlayacağınız, kliplerinizi çekeceğiniz, kitapları @foreach($books as $book)
-
+
{{-- Book Image (Left Side) --}} -
-
- {{ $book['title'] }} +
+
+ {{ $book['title'] }}
+
+ + {{ $book['year'] }} + +
{{-- Book Content (Right Side) --}} -
-
-
- {{ $book['year'] }} +
+
+
+
+ ISBN: {{ $book['isbn'] }} +
-
- {{ $book['isbn'] }} -
-

+

{{ $book['title'] }}

-
- {{ $book['author'] }} +
+ {{ $book['author'] }}
-
+ {{-- Attributes --}} +
+ @if(isset($book['pages']) && $book['pages'] != '-') +
+ + {{ $book['pages'] }} {{ t('Sayfa') }} +
+ @endif + @if(isset($book['dimensions']) && $book['dimensions'] != '-') +
+ + {{ $book['dimensions'] }} +
+ @endif +
+ +
-

{!! $book['full_description'] ?: $book['description'] !!}

+ :style="expanded ? 'max-height: 2000px' : 'max-height: 90px'"> +

{!! $book['full_description'] ?: $book['description'] !!}

{{-- Fade Overlay --}} @@ -168,55 +191,40 @@ Kendi haberlerinizi hazırlayacağınız, kliplerinizi çekeceğiniz, kitapları
- - {{-- Attributes --}} -
- @if(isset($book['pages']) && $book['pages'] != '-') -
- - {{ $book['pages'] }} Sayfa -
- @endif - @if(isset($book['dimensions']) && $book['dimensions'] != '-') -
- - {{ $book['dimensions'] }} -
- @endif -
+
- {{-- Topics List (Accordion style or simple list) --}} - @if(!empty($book['topics'])) -
-

{{ t('İçindekiler / Konu Başlıkları') }}

-
- @foreach(array_slice($book['topics'], 0, 8) as $topic) - {{ $topic }} - @endforeach - @if(count($book['topics']) > 8) - +{{ count($book['topics']) - 8 }} {{ t('daha') }}... - @endif -
+ {{-- Topics List --}} + @if(!empty($book['topics'])) +
+

{{ t('Konu Başlıkları') }}

+
+ @foreach(array_slice($book['topics'], 0, 8) as $topic) + {{ $topic }} + @endforeach + @if(count($book['topics']) > 8) + +{{ count($book['topics']) - 8 }} {{ t('daha') }} + @endif
+
+ @endif + +
+ @if(isset($book['google_play_link'])) + + +
+ Google Play'de + E-Kitap Olarak İncele +
+
@endif
-
- @if(isset($book['google_play_link'])) - - -
- Google Play'de - E-Kitap Olarak İncele -
-
- @endif -
diff --git a/resources/views/templates/books/sections/contact.blade.php b/resources/views/templates/books/sections/contact.blade.php new file mode 100644 index 0000000..d04e5d9 --- /dev/null +++ b/resources/views/templates/books/sections/contact.blade.php @@ -0,0 +1,44 @@ +
+
+
+
+
image
+
+ +
+

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

+

{{ t('Sorularınız için bizimle iletişime geçin.') }}

+
+
+ +
+
+
{{ t('Adres') }}
+
{{ t(setting('contact_address', 'Adres bilgisi yakında')) }}
+
+
+
+
+ +
+
+
{{ t('Telefon') }}
+

{{ t(setting('contact_phone', 'Telefon bilgisi yakında')) }}

+
+
+ +
+ +
+ +
+ +
diff --git a/resources/views/templates/books/sections/features.blade.php b/resources/views/templates/books/sections/features.blade.php new file mode 100644 index 0000000..0af6522 --- /dev/null +++ b/resources/views/templates/books/sections/features.blade.php @@ -0,0 +1,165 @@ +
+
+ + @php + // Mapping specific styles for the zigzag layout loop + $styles = [ + 'leaf' => [ + 'class_suffix' => 'leaf', + 'main_color' => '#7cb798', + 'bg_color' => '#e7f2ec', + 'shape_color' => '#f0eaf6', + 'shape_class' => 'bg-line leaf', + 'btn_class' => 'btn-soft-leaf', + ], + 'aqua' => [ + 'class_suffix' => 'aqua', + 'main_color' => '#54a8c7', + 'bg_color' => '#e0eff5', + 'shape_color' => '#fae6e7', + 'shape_class' => 'bg-line aqua', + 'btn_class' => 'btn-soft-aqua', + ], + 'purple' => [ // Adding more for variety if needed, falling back to leaf/aqua + 'class_suffix' => 'purple', + 'main_color' => '#9d7ad2', + 'bg_color' => '#f2eef9', + 'shape_color' => '#eaddf0', + 'shape_class' => 'bg-line purple', + 'btn_class' => 'btn-soft-purple', + ] + ]; + + $books = [ + [ + 'id' => 1, + 'title' => 'TENSORFLOW İLE DERİN ÖĞRENME', + 'author' => 'Ümit Tunç / İ. Halil Sanduvaç', + 'description' => 'Sıkı durun, sizinle derin bir yolculuğa çıkacağız. Bu yolculukta şoförümüz siz, muavininiz biz olacağız. Yapay zeka ve derin öğrenme hususundaki örneklerle belirlediğimiz bu kaynak ile hem bu işin matematiğini, hem de tasarım aşamasına kadar olan aşamaları göreceksiniz.', + 'full_description' => 'Yapay zeka ve derin öğrenme hususundaki örneklerle belirlediğimiz bu kaynak ile hem bu işin matematiğini, hem de tasarım aşamasına kadar olan aşamaları göreceksiniz. Günlük hayatta kullanılan canlı örneklerle ilham verebileceğini düşündüğümüz çalışmaları sizlerin huzuruna büyük bir özveriyle sunmanın gururunu yaşıyoruz.', + 'topics' => [ + 'Yapay Zeka & Derin Öğrenme', + 'Yapay Nöronlar & Katmanlar', + 'Konvolüsyonel Sinir Ağları', + 'Görüntü İşleme & HaarCascade', + 'Makine Öğrenmesi & Tensorflow', + 'OpenCV & Nesne Tanıma', + 'Veri Artırma & Setleri', + 'GANs ve Projeler' + ], + 'image' => 'assets/img/photos/tensorflow-book-real.jpg', + // 'google_play_link' => '...' // Link removed + ], + [ + 'id' => 2, + 'title' => 'PHP İLE E-TİCARET KAPILARI', + 'author' => 'Ümit Tunç', + 'description' => 'Günümüz dünyasında gittikçe büyüyen sektörlerden biri olan sanal mağazacılık, birden bire toplumlarda yeni yeni öğretiler, kavramlar meydana getirmiştir. Kendinizi bu yeniliklere adapte edebilmek için çeşitli kavramlar öğrenilmelidir.', + 'full_description' => 'Ezber bozacak metotlar içeren bu kitap size farklı bir bakış açısıyla e-ticaret yazılımını öğretebileceği gibi; bir projenin geliştirilebilirliği bakımından çeşitli örnekler de sunacak. Sözü ve kodu fazla uzatmadan kestirme bir yol izleyen kitap; hedef pazarı gittikçe büyüyen bu sektörün kapılarını da size ardına kadar açacaktır.', + 'topics' => [ + 'Az Kod Çok İş & Kobetik', + 'MySQL Fonksiyonları & SP', + 'Web Tasarımı & Şablonlar', + 'Üyelik & Kriptolama', + 'Sepet & Sipariş İşlemleri', + '3D Secure & Güvenlik', + 'SSL & SEO', + 'Yönetim Paneli Geliştirme' + ], + 'image' => 'assets/img/photos/php-eticaret-book.jpg', + 'google_play_link' => 'https://play.google.com/store/books/details/%C3%9Cmit_TUN%C3%87_PHP_%C4%B0LE_E_T%C4%B0CARET_KAPILARI?id=aPK3DwAAQBAJ' + ], + [ + 'id' => 3, + 'title' => 'ADOBE PREMIERE PRO CC', + 'author' => 'Ümit Tunç', + 'description' => 'Video editörlüğü hangi açıdan bakılırsa bakılsın bir kişinin mutlaka alaka duyması gerekli olan bir konu. Günümüz dünyasında değişen medya anlayışıyla artık haberler çok uzun yazılardan ziyade görsellerle zenginleştiriliyor.', + 'full_description' => 'Kendi haberlerinizi hazırlayacağınız, kliplerinizi çekeceğiniz, kitaplarınızı seslendirip görüntülü ortamlara dönüştüreceğiniz harika bir kaynak. Sayısal ses ve sayısal video alanında kurgu ve montaj tekniklerinin eğitim videoları ile desteklenerek anlatıldığı bu kitap, mutlaka kütüphanenizin ön raflarında bulunması gereklidir.', + 'topics' => [ + 'Görüntü Stabilize Etmek', + 'Adobe Audition & Ses Montajı', + 'Kurgu ve Montaj Estetiği', + 'Greenbox & Bluebox', + 'Haber ve Film Montajı', + 'Animasyon & Geçiş Efektleri', + 'Timeline & Keyframe', + 'Render & Formatlar' + ], + 'image' => 'assets/img/photos/adobe-premiere-book.jpg', + 'google_play_link' => 'https://play.google.com/store/books/details/%C3%9Cmit_Tun%C3%A7_ADOBE_PREMIERE_PRO_CC?id=it1TDwAAQBAJ' + ] + ]; + @endphp + + @foreach($books as $index => $book) + @php + // Alternate styles + $styleKey = ($index % 2 == 0) ? 'leaf' : 'aqua'; + $style = $styles[$styleKey]; + $reverse = ($index % 2 != 0); + + // Split topics into 2 columns + $topicChunks = array_chunk($book['topics'], ceil(count($book['topics']) / 2)); + @endphp + +
+ + {{-- Image Column --}} +
+ + {{-- Decorative Shapes --}} + @if(!$reverse) +
+
+ @else +
+
+ @endif + +
+ {{ $book['title'] }} +
+
+ + + {{-- Content Column --}} +
+

{{ $book['title'] }}

+
{{ $book['author'] }}
+ +

{{ $book['full_description'] }}

+ +
+ @foreach($topicChunks as $chunk) +
+
    + @foreach($chunk as $liIndex => $topic) +
  • + + + + {{ $topic }} +
  • + @endforeach +
+
+ @endforeach +
+ + +
+ @if(isset($book['google_play_link'])) + + {{ t('İncele & Satın Al') }} + + @endif +
+ +
+ +
+ + @endforeach + +
+
diff --git a/resources/views/templates/books/sections/hero.blade.php b/resources/views/templates/books/sections/hero.blade.php index df469b3..4ab0ad5 100644 --- a/resources/views/templates/books/sections/hero.blade.php +++ b/resources/views/templates/books/sections/hero.blade.php @@ -1,37 +1,15 @@ -
- - {{-- Moving Shapes Overlay --}} -
-
-
-
- - {{-- Pattern --}} -
- -
-
- - {{-- Badge --}} -
- - {{ t('Koleksiyon') }} - -
- - {{-- Main Title --}} -

- {{ t('Kitaplarımız') }} -

- - {{-- Divider --}} -
- - {{-- Subtitle --}} -

- {{ t('Gökkuşağı tadında bir bilgi yolculuğuna hazır olun.') }} -

- +
+
+
+
+

{!! t('Kitaplarımız') !!}

+

+ {!! t('Geleceği şekillendiren teknolojileri, uzman kalemlerden derinlemesine öğrenin.') !!} +

+
+ +
+
-
+