From 57ebac9f6af40a27550268520ad50c1c6179d0db Mon Sep 17 00:00:00 2001 From: A1Gard Date: Tue, 23 Jul 2024 02:21:02 +0330 Subject: [PATCH] added main to website --- .../segments/products/TreeGridProducts/TreeGridProducts.js | 1 + resources/views/welcome.blade.php | 2 ++ 2 files changed, 3 insertions(+) diff --git a/resources/views/segments/products/TreeGridProducts/TreeGridProducts.js b/resources/views/segments/products/TreeGridProducts/TreeGridProducts.js index 112a829..9330ae8 100644 --- a/resources/views/segments/products/TreeGridProducts/TreeGridProducts.js +++ b/resources/views/segments/products/TreeGridProducts/TreeGridProducts.js @@ -3,6 +3,7 @@ import {tns} from "tiny-slider/src/tiny-slider"; var treeSlider,treeSliderX, treeSliderY ; document.addEventListener('DOMContentLoaded', () => { + console.log('3 slider'); document.querySelectorAll('.tree-grid .section-main')?.forEach(function (el) { if (el.classList.contains('.tns-slider')){ console.log('ignore'); diff --git a/resources/views/welcome.blade.php b/resources/views/welcome.blade.php index ca7b303..8dc6aa1 100644 --- a/resources/views/welcome.blade.php +++ b/resources/views/welcome.blade.php @@ -4,8 +4,10 @@ welcome @endsection @section('content') +
@foreach(getParts($area) as $part) @php($p = $part->getBladeWithData()) @include($p['blade'],['data' => $p['data']]) @endforeach +
@endsection