mirror of https://github.com/4xmen/xshop.git
parent
f87f46f813
commit
1f53abc399
@ -0,0 +1,16 @@
|
|||||||
|
<section class="CategoryDescription live-setting" data-live="{{$data->area_name.'_'.$data->part}}" >
|
||||||
|
<div class="{{gfx()['container']}} py-3">
|
||||||
|
<div class="row align-items-center">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<h1>
|
||||||
|
{{$category->name}}
|
||||||
|
</h1>
|
||||||
|
{{$category->description}}
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<img src=" {{$category->imgUrl()}}" alt="{{$category->name}}" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</section>
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "CategoryDescription",
|
||||||
|
"version": "1.0",
|
||||||
|
"author": "xStack",
|
||||||
|
"email": "xshop@xstack.ir",
|
||||||
|
"license": "GPL-3.0-or-later",
|
||||||
|
"url": "https:\/\/xstack.ir",
|
||||||
|
"author_url": "https:\/\/4xmen.ir",
|
||||||
|
"packages": []
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Resources\Views\Segments;
|
||||||
|
|
||||||
|
use App\Models\Part;
|
||||||
|
|
||||||
|
class CategoryDescription
|
||||||
|
{
|
||||||
|
public static function onAdd(Part $part = null)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
public static function onRemove(Part $part = null)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
public static function onMount(Part $part = null)
|
||||||
|
{
|
||||||
|
return $part;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
.CategoryDescription {
|
||||||
|
// scss
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 128 KiB |
@ -0,0 +1,15 @@
|
|||||||
|
<section class="GroupDescription live-setting" data-live="{{$data->area_name.'_'.$data->part}}" >
|
||||||
|
<div class="{{gfx()['container']}} py-3">
|
||||||
|
<div class="row align-items-center">
|
||||||
|
<div class="col-md-6">
|
||||||
|
<h1>
|
||||||
|
{{$group->name}}
|
||||||
|
</h1>
|
||||||
|
{{$group->description}}
|
||||||
|
</div>
|
||||||
|
<div class="col-md-6">
|
||||||
|
<img src="{{$group->imgUrl()}}" alt="{{$group->name}}" class="img-fluid">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</section>
|
@ -0,0 +1,10 @@
|
|||||||
|
{
|
||||||
|
"name": "GroupDescription",
|
||||||
|
"version": "1.0",
|
||||||
|
"author": "xStack",
|
||||||
|
"email": "xshop@xstack.ir",
|
||||||
|
"license": "GPL-3.0-or-later",
|
||||||
|
"url": "https:\/\/xstack.ir",
|
||||||
|
"author_url": "https:\/\/4xmen.ir",
|
||||||
|
"packages": []
|
||||||
|
}
|
@ -0,0 +1,21 @@
|
|||||||
|
<?php
|
||||||
|
|
||||||
|
namespace Resources\Views\Segments;
|
||||||
|
|
||||||
|
use App\Models\Part;
|
||||||
|
|
||||||
|
class GroupDescription
|
||||||
|
{
|
||||||
|
public static function onAdd(Part $part = null)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
public static function onRemove(Part $part = null)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
public static function onMount(Part $part = null)
|
||||||
|
{
|
||||||
|
return $part;
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,3 @@
|
|||||||
|
.GroupDescription {
|
||||||
|
// scss
|
||||||
|
}
|
Binary file not shown.
After Width: | Height: | Size: 128 KiB |
Loading…
Reference in New Issue