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.
31 lines
950 B
PHTML
31 lines
950 B
PHTML
@extends('website.inc.website-layout')
|
|
|
|
@section('title')
|
|
{{$title}} - {{config('app.name')}}
|
|
@endsection
|
|
@php
|
|
if ($group->bg != null){
|
|
$bg = $group->bgUrl();
|
|
}
|
|
@endphp
|
|
@section('content')
|
|
<main>
|
|
@if(findArea($area,$group)->use_default)
|
|
@foreach(getParts('defaultHeader') as $part)
|
|
@php($p = $part->getBladeWithData())
|
|
@include($p['blade'],['data' => $p['data']])
|
|
@endforeach
|
|
@endif
|
|
@foreach(getParts($area,'group'.$group->id) as $part)
|
|
@php($p = $part->getBladeWithData())
|
|
@include($p['blade'],['data' => $p['data']])
|
|
@endforeach
|
|
@if(findArea($area,$group)->use_default)
|
|
@foreach(getParts('defaultFooter') as $part)
|
|
@php($p = $part->getBladeWithData())
|
|
@include($p['blade'],['data' => $p['data']])
|
|
@endforeach
|
|
@endif
|
|
</main>
|
|
@endsection
|