From eb4147a65e1044e5d8aee2189fefec27dfb0e8fe Mon Sep 17 00:00:00 2001 From: A1Gard Date: Wed, 24 Jul 2024 23:30:41 +0330 Subject: [PATCH] added categories fav image --- app/Helpers/Helper.php | 13 +++++ .../CategoriesFavImageLinks.blade.php | 21 ++++++++ .../CategoriesFavImageLinks.js | 42 ++++++++++++++++ .../CategoriesFavImageLinks.json | 10 ++++ .../CategoriesFavImageLinks.php | 46 ++++++++++++++++++ .../CategoriesFavImageLinks.scss | 45 +++++++++++++++++ .../CategoriesFavImageLinks/screenshot.png | Bin 0 -> 20392 bytes .../TreeGridProducts/TreeGridProducts.js | 2 +- 8 files changed, 178 insertions(+), 1 deletion(-) create mode 100644 resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php create mode 100644 resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.js create mode 100644 resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.json create mode 100644 resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.php create mode 100644 resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.scss create mode 100644 resources/views/segments/categories/CategoriesFavImageLinks/screenshot.png diff --git a/app/Helpers/Helper.php b/app/Helpers/Helper.php index f527566..a6d1341 100644 --- a/app/Helpers/Helper.php +++ b/app/Helpers/Helper.php @@ -824,6 +824,19 @@ function getCategoryProductBySetting($key, $limit = 10, $order = 'id', $dir = "D return Category::where('id', getSetting($key) ?? 1)->first() ->products()->where('status', 1)->orderBy($order, $dir)->limit($limit)->get(); } +/** + * get group's posts by setting key + * @param $key + * @param integer $limit + * @param string $order + * @param string $dir + * @return \App\Models\Post[]|\Illuminate\Database\Eloquent\Collection|\LaravelIdea\Helper\App\Models\_IH_Post_C + */ +function getCategorySubCatsBySetting($key, $limit = 10, $order = 'id', $dir = "DESC") +{ + return Category::where('id', getSetting($key) ?? 1)->first() + ->children()->orderBy($order, $dir)->limit($limit)->get(); +} /** * @param null $data diff --git a/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php new file mode 100644 index 0000000..07115e7 --- /dev/null +++ b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.blade.php @@ -0,0 +1,21 @@ + diff --git a/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.js b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.js new file mode 100644 index 0000000..b416381 --- /dev/null +++ b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.js @@ -0,0 +1,42 @@ +import {tns} from "tiny-slider/src/tiny-slider"; + +var brandSlider ; + +document.addEventListener('DOMContentLoaded', () => { + document.querySelectorAll('#brands-slider')?.forEach(function (el) { + if (el.classList.contains('.tns-slider')){ + console.log('ignore'); + return 'ignore'; + } + brandSlider = tns({ + container: el, + items: 3, + autoplay: true, + autoplayButton: false, + // nextButton: false, + autoplayHoverPause: true, + mouseDrag: true, + gutter: 20, + slideBy: 1, + controlsPosition: "bottom", + navPosition: "bottom", + controls: false, + responsive:{ + 560:{ + items: 1, + }, + 768:{ + items: 2, + }, + 1000:{ + items: 3, + }, + 1400:{ + items: 4, + }, + + } + // speed:10000, + }); + }); +}); diff --git a/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.json b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.json new file mode 100644 index 0000000..f62e0fe --- /dev/null +++ b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.json @@ -0,0 +1,10 @@ +{ + "name": "CategoriesFavImageLinks", + "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/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.php b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.php new file mode 100644 index 0000000..43d013c --- /dev/null +++ b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.php @@ -0,0 +1,46 @@ +section = 'theme'; + $setting->key = $part->area->name . '_' . $part->part.'_title'; + $setting->value = 'Brands'; + $setting->size = 6; + $setting->type = 'TEXT'; +// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]); + $setting->title = $part->area->name . ' ' . $part->part. ' title'; + $setting->save(); + + + $setting = new Setting(); + $setting->section = 'theme'; + $setting->key = $part->area->name . '_' . $part->part.'_category'; + $setting->value = Category::first()->id; + $setting->size = 6; + $setting->type = 'CATEGORY'; +// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]); + $setting->title = $part->area->name . ' ' . $part->part. ' group'; + $setting->save(); + + } + public static function onRemove(Part $part = null) + { + Setting::where('key',$part->area->name . '_' . $part->part.'_title')->first()?->delete(); + Setting::where('key',$part->area->name . '_' . $part->part.'_category')->first()?->delete(); + } + public static function onMount(Part $part = null) + { + return $part; + } +} diff --git a/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.scss b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.scss new file mode 100644 index 0000000..353c947 --- /dev/null +++ b/resources/views/segments/categories/CategoriesFavImageLinks/CategoriesFavImageLinks.scss @@ -0,0 +1,45 @@ +#CategoriesFavImageLinks { + padding: 4rem 0; + + h1{ + text-align: center; + font-weight: 200; + font-size: 28px; + margin-bottom: 2rem; + } + + #brands-slider{ + .item{ + text-align: center; + } + } + img{ + height: 64px; + } + .tns-nav,button{ + display: inline-block; + } + [data-action="stop"], [data-action="start"]{ + display: none; + } + + .tns-nav{ + margin-top: 2rem; + display: block; + text-align: center; + button{ + opacity: .4; + margin: .4rem; + height: 12px; + width: 12px; + border-radius: 50%; + background: var(--xshop-primary); + border: 0; + transition: 400ms; + + &.tns-nav-active{ + opacity: 1; + } + } + } +} diff --git a/resources/views/segments/categories/CategoriesFavImageLinks/screenshot.png b/resources/views/segments/categories/CategoriesFavImageLinks/screenshot.png new file mode 100644 index 0000000000000000000000000000000000000000..07dba53bc29824abd73b005e7c63c85ac582a2ab GIT binary patch literal 20392 zcmeIa2T)Ya_Ad%zKtyuR0sqmuOWCH z4A_^bCvLZI7eZ;y6SnV)UuC?ScI}O8mW8X~;Nwnj)rY*qBF7V3jpKNH>*vq9KoY8t zjZvRx-R$3e&#CobaGTmmS(q6Vnf!_&d zV7u+FH8t!5IJ~owkx^5Sk@@G)fdQxa#7fF{NYiv0tLHM35{i>J_ox|ujR?o)s>YG~ zLSXw&i&ly2GLYq=LU=^Zf}YbZxMFi*skkVphymNzUqoEwNrQaYwIU9unWV^0ccXVq zqr1NvH~-*fIA)4NYJsf5fVp;O+tXXvU<~lbgk*~Wg*QaB-Q$vQcyq*l@euNg#>aNZ z%wLr`nz!R?m~d#mFeC^Kat}S=?d5(?>?o#ywxb3vnDd%9X%?7 zd4Xt4nA_LhY#U(Rs7@pky>(U_5V4h*w~d)3E`8GbUU@R%Lf{>o&O<84vF}z;tu!iS zTpvcCk1w6l@M;d@UPzmDK;^i2Q)7N}tsg?*{2Y@+4~o-()WZhgMIB`&F|Z?q z%hcS_%!11U;sh`$28M)`hm$GT&ccPk%)-jXL6Q;G*viOYV=l?4EvU?+>?C7hZ6ogm zwNUp`(Exkdfkn+3r9e0m9%29ih=q$Og9pUk0Vd`l$@qt^81R0R%+1K~r-+N4B%_Y9 z8iR}@)Pg~POMr`qQ_jQ2jgJw8!yo}Qw-kFL`{ExYfM1e~)-EniV%*&B?(SUf{9KMu zD{fv zkk9bX{z06SmH#I10Q(0D03O^PrcT_vTs+(m2=~9%fVs%I0Yv`Mq5o|SmI!g`As(gA3EYk}wDVUEj$SYX4_A=3s6MdkY9q6b7`)`)^IYR8Us?yT%O!RyGi) zKeYg`|E;8pjphG<^>2N<$@w#!f9(iR{cpPeR{Eb~|5F$!rK~I_>j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