added main to website

pull/49/head
A1Gard 4 months ago
parent bc60ae2498
commit 57ebac9f6a

@ -3,6 +3,7 @@ import {tns} from "tiny-slider/src/tiny-slider";
var treeSlider,treeSliderX, treeSliderY ; var treeSlider,treeSliderX, treeSliderY ;
document.addEventListener('DOMContentLoaded', () => { document.addEventListener('DOMContentLoaded', () => {
console.log('3 slider');
document.querySelectorAll('.tree-grid .section-main')?.forEach(function (el) { document.querySelectorAll('.tree-grid .section-main')?.forEach(function (el) {
if (el.classList.contains('.tns-slider')){ if (el.classList.contains('.tns-slider')){
console.log('ignore'); console.log('ignore');

@ -4,8 +4,10 @@
welcome welcome
@endsection @endsection
@section('content') @section('content')
<main>
@foreach(getParts($area) as $part) @foreach(getParts($area) as $part)
@php($p = $part->getBladeWithData()) @php($p = $part->getBladeWithData())
@include($p['blade'],['data' => $p['data']]) @include($p['blade'],['data' => $p['data']])
@endforeach @endforeach
</main>
@endsection @endsection

Loading…
Cancel
Save