mirror of https://github.com/4xmen/xshop.git
parent
ddb5b346f2
commit
b75f078c56
Binary file not shown.
After Width: | Height: | Size: 1.2 KiB |
Binary file not shown.
After Width: | Height: | Size: 696 B |
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 1.4 KiB |
Binary file not shown.
After Width: | Height: | Size: 618 B |
@ -0,0 +1,83 @@
|
|||||||
|
@extends('website.inc.website-layout')
|
||||||
|
|
||||||
|
@section('title')
|
||||||
|
{{$title}} - {{config('app.name')}}
|
||||||
|
@endsection
|
||||||
|
@section('content')
|
||||||
|
@foreach(getParts('default_header') as $part)
|
||||||
|
@php($p = $part->getBladeWithData())
|
||||||
|
@include($p['blade'],['data' => $p['data']])
|
||||||
|
@endforeach
|
||||||
|
<div class="{{gfx()['container']}} content tag-page">
|
||||||
|
<div class="tab-control">
|
||||||
|
<div class="row text-center">
|
||||||
|
<a class="col-md py-2 active" href="#posts">
|
||||||
|
{{__("Posts")}} ({{count($posts)}})
|
||||||
|
</a>
|
||||||
|
<a class="col-md py-2" href="#products">
|
||||||
|
{{__("Products")}} ({{count($products)}})
|
||||||
|
</a>
|
||||||
|
<a class="col-md py-2" href="#clips">
|
||||||
|
{{__("Video clips")}} ({{count($clips)}})
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div>
|
||||||
|
<div class="tab-content active px-0" id="posts">
|
||||||
|
@if(count($posts) == 0)
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{{__("There is nothing to show!")}}
|
||||||
|
</div>
|
||||||
|
@else
|
||||||
|
<ul class="list-group">
|
||||||
|
@foreach($posts as $post)
|
||||||
|
<li class="list-group-item">
|
||||||
|
<a href="{{$post->webUrl()}}">
|
||||||
|
{{$post->title}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
<div class="tab-content px-0" id="products">
|
||||||
|
@if(count($products) == 0)
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{{__("There is nothing to show!")}}
|
||||||
|
</div>
|
||||||
|
@else
|
||||||
|
<ul class="list-group">
|
||||||
|
@foreach($products as $product)
|
||||||
|
<li class="list-group-item">
|
||||||
|
<a href="{{$product->webUrl()}}">
|
||||||
|
{{$product->name}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
<div class="tab-content px-0" id="clips">
|
||||||
|
@if(count($clips) == 0)
|
||||||
|
<div class="alert alert-info">
|
||||||
|
{{__("There is nothing to show!")}}
|
||||||
|
</div>
|
||||||
|
@else
|
||||||
|
<ul class="list-group">
|
||||||
|
@foreach($clips as $clip)
|
||||||
|
<li class="list-group-item">
|
||||||
|
<a href="{{$clip->webUrl()}}">
|
||||||
|
{{$clip->title}}
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
@endif
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
@foreach(getParts('default_footer') as $part)
|
||||||
|
@php($p = $part->getBladeWithData())
|
||||||
|
@include($p['blade'],['data' => $p['data']])
|
||||||
|
@endforeach
|
||||||
|
@endsection
|
Loading…
Reference in New Issue