mirror of https://github.com/4xmen/xshop.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
1.0 KiB
PHTML
30 lines
1.0 KiB
PHTML
2 months ago
|
@extends('website.inc.website-layout')
|
||
|
|
||
|
@section('title')
|
||
|
{{$title}} - {{config('app.name')}}
|
||
|
@endsection
|
||
|
@section('content')
|
||
|
<main>
|
||
|
<div class="no-print">
|
||
|
@if(\App\Models\Area::where('name',$area)->first()->use_default)
|
||
|
@foreach(getParts('default_header') as $part)
|
||
|
@php($p = $part->getBladeWithData())
|
||
|
@include($p['blade'],['data' => $p['data']])
|
||
|
@endforeach
|
||
|
@endif
|
||
|
</div>
|
||
|
@foreach(getParts($area) as $part)
|
||
|
@php($p = $part->getBladeWithData())
|
||
|
@include($p['blade'],['data' => $p['data']])
|
||
|
@endforeach
|
||
|
<div class="no-print">
|
||
|
@if(\App\Models\Area::where('name',$area)->first()->use_default)
|
||
|
@foreach(getParts('default_footer') as $part)
|
||
|
@php($p = $part->getBladeWithData())
|
||
|
@include($p['blade'],['data' => $p['data']])
|
||
|
@endforeach
|
||
|
@endif
|
||
|
</div>
|
||
|
</main>
|
||
|
@endsection
|