diff --git a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php index c966f76..21aa0f9 100644 --- a/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php +++ b/resources/views/segments/clips/AutoPlayClips/AutoPlayClips.blade.php @@ -4,7 +4,7 @@ {{getSetting($data->area_name.'_'.$data->part.'_title')}}
- @foreach(\App\Models\Clip::where('status',1)->get() as $clip) + @foreach(\App\Models\Clip::where('status',1)->orderByDesc('id')->limit(4)->get() as $clip)
diff --git a/resources/views/segments/clips/GridClips/GridClips.blade.php b/resources/views/segments/clips/GridClips/GridClips.blade.php new file mode 100644 index 0000000..19cfd92 --- /dev/null +++ b/resources/views/segments/clips/GridClips/GridClips.blade.php @@ -0,0 +1,18 @@ +
+ +
diff --git a/resources/views/segments/clips/GridClips/GridClips.js b/resources/views/segments/clips/GridClips/GridClips.js new file mode 100644 index 0000000..e69de29 diff --git a/resources/views/segments/clips/GridClips/GridClips.json b/resources/views/segments/clips/GridClips/GridClips.json new file mode 100644 index 0000000..9e56a84 --- /dev/null +++ b/resources/views/segments/clips/GridClips/GridClips.json @@ -0,0 +1,10 @@ +{ + "name": "GridClips", + "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": [] +} \ No newline at end of file diff --git a/resources/views/segments/clips/GridClips/GridClips.php b/resources/views/segments/clips/GridClips/GridClips.php new file mode 100644 index 0000000..8a57d50 --- /dev/null +++ b/resources/views/segments/clips/GridClips/GridClips.php @@ -0,0 +1,21 @@ +