diff --git a/resources/sass/client-custom/_general.scss b/resources/sass/client-custom/_general.scss
index f219127..0a43387 100644
--- a/resources/sass/client-custom/_general.scss
+++ b/resources/sass/client-custom/_general.scss
@@ -18,6 +18,10 @@
background: var(--xshop-secondary);
}
+*{
+ font-family: 'Vazirmatn' , Sans-Serif;
+}
+
body{
background: var(--xshop-background);
color: var(--xshop-text);
diff --git a/resources/views/segments/default-assets/bg-girl.jpg b/resources/views/segments/default-assets/bg-girl.jpg
new file mode 100644
index 0000000..8f5920c
Binary files /dev/null and b/resources/views/segments/default-assets/bg-girl.jpg differ
diff --git a/resources/views/segments/parallax/ParallaxShort/assets/bg.jpg b/resources/views/segments/default-assets/bg.jpg
similarity index 100%
rename from resources/views/segments/parallax/ParallaxShort/assets/bg.jpg
rename to resources/views/segments/default-assets/bg.jpg
diff --git a/resources/views/segments/default-assets/girl-white-bg.jpg b/resources/views/segments/default-assets/girl-white-bg.jpg
new file mode 100644
index 0000000..987f51e
Binary files /dev/null and b/resources/views/segments/default-assets/girl-white-bg.jpg differ
diff --git a/resources/views/segments/default-assets/source.txt b/resources/views/segments/default-assets/source.txt
new file mode 100644
index 0000000..f8cf1f5
--- /dev/null
+++ b/resources/views/segments/default-assets/source.txt
@@ -0,0 +1 @@
+Source of these images is unsplash.com
diff --git a/resources/views/segments/parallax/ParallaxShort/ParallaxShort.php b/resources/views/segments/parallax/ParallaxShort/ParallaxShort.php
index 804ac7b..1e91cfd 100644
--- a/resources/views/segments/parallax/ParallaxShort/ParallaxShort.php
+++ b/resources/views/segments/parallax/ParallaxShort/ParallaxShort.php
@@ -20,7 +20,7 @@ class ParallaxShort
$setting->title = $part->area->name . ' ' . $part->part.' Image';
$setting->save();
- File::copy(__DIR__.'/assets/bg.jpg',public_path('upload/images/').$part->area->name . '.' . $part->part.'.jpg');
+ File::copy(__DIR__.'/../../default-assets/bg.jpg',public_path('upload/images/').$part->area->name . '.' . $part->part.'.jpg');
$setting = new Setting();
$setting->section = 'theme';
diff --git a/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.blade.php b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.blade.php
new file mode 100644
index 0000000..66930c1
--- /dev/null
+++ b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.blade.php
@@ -0,0 +1,38 @@
+
+
+
+
+
+
+ @foreach( getGroupPostsBySetting($data->area->name.'_'.$data->part.'_group',4) as $post )
+
+
+ @endforeach
+
+
+
+
+
diff --git a/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.js b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.js
new file mode 100644
index 0000000..e69de29
diff --git a/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.json b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.json
new file mode 100644
index 0000000..b55198c
--- /dev/null
+++ b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.json
@@ -0,0 +1,10 @@
+{
+ "name": "LongHeightPosts",
+ "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/posts/LongHeightPosts/LongHeightPosts.php b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.php
new file mode 100644
index 0000000..9f9d790
--- /dev/null
+++ b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.php
@@ -0,0 +1,56 @@
+section = 'theme';
+ $setting->key = $part->area->name . '_' . $part->part.'_group';
+ $setting->value = Group::first()->id;
+ $setting->size = 6;
+ $setting->type = 'GROUP';
+// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
+ $setting->title = $part->area->name . ' ' . $part->part. ' group';
+ $setting->save();
+
+ $setting = new Setting();
+ $setting->section = 'theme';
+ $setting->key = $part->area->name . '_' . $part->part.'_btn';
+ $setting->value = __("Find more");
+ $setting->size = 6;
+ $setting->type = 'TEXT';
+// $setting->data = json_encode(['xmin' => 2, 'xmax' => 90]);
+ $setting->title = $part->area->name . ' ' . $part->part. ' button text';
+ $setting->save();
+
+
+ $setting = new Setting();
+ $setting->section = 'theme';
+ $setting->key = $part->area->name . '_' . $part->part.'_jpg';
+ $setting->value = null;
+ $setting->type = 'FILE';
+ $setting->size = 12;
+ $setting->title = $part->area->name . ' ' . $part->part.' Image';
+ $setting->save();
+
+ File::copy(__DIR__.'/../../default-assets/bg-girl.jpg',public_path('upload/images/').$part->area->name . '.' . $part->part.'.jpg');
+ }
+ public static function onRemove(Part $part = null)
+ {
+ Setting::where('key',$part->area->name . '_' . $part->part.'_group')->first()?->delete();
+ Setting::where('key',$part->area->name . '_' . $part->part.'_btn')->first()?->delete();
+ Setting::where('key',$part->area->name . '_' . $part->part.'_jpg')->first()?->delete();
+ }
+ public static function onMount(Part $part = null)
+ {
+ return $part;
+ }
+}
diff --git a/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.scss b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.scss
new file mode 100644
index 0000000..1b108ab
--- /dev/null
+++ b/resources/views/segments/posts/LongHeightPosts/LongHeightPosts.scss
@@ -0,0 +1,94 @@
+.LongHeightPosts {
+ // scss
+ background-size: cover;
+ background-position: center;
+
+ h1 {
+ padding: 3rem 0;
+ color: var(--xshop-primary);
+ position: relative;
+
+ &:before {
+ content: ' ';
+ position: absolute;
+ inset-inline-end: 0;
+ height: 2px;
+ width: 15%;
+ top: 50%;
+ background: var(--xshop-primary);
+ }
+ }
+
+ h3 {
+ padding: 3rem 0;
+ color: var(--xshop-primary);
+ position: relative;
+ text-align: center;
+ font-weight: 200;
+ font-size: 17px;
+
+ .btn {
+ margin-top: -9px;
+ }
+
+ &:before {
+ content: ' ';
+ position: absolute;
+ inset-inline-start: 0;
+ height: 2px;
+ width: 15%;
+ top: 50%;
+ background: var(--xshop-primary);
+ }
+ }
+
+ .post-height-img-item {
+ margin-bottom: 1rem;
+ background-size: cover;
+ background-position: center;
+ height: 450px;
+ position: relative;
+ border-radius: var(--xshop-border-radius);
+ overflow: hidden;
+
+ .post-height-img-detail {
+ display: block;
+ transition: 500ms;
+ position: absolute;
+ padding: 1rem;
+ left: 0;
+ right: 0;
+ bottom: 0;
+
+ h4, p {
+ color: var(--xshop-diff);
+ }
+
+ p {
+ transition: 500ms;
+ max-height: 2.6em;
+ overflow: hidden;
+ }
+
+ h4 {
+ opacity: .5;
+ transition: 500ms;
+ }
+
+
+ }
+
+ &:hover {
+ .post-height-img-detail {
+ background: var(--xshop-primary);
+
+ h4 {
+ opacity: 1;
+ }
+ p{
+ max-height: 5.7em;
+ }
+ }
+ }
+ }
+}
diff --git a/resources/views/segments/posts/PostIndexImage/PostIndexImage.scss b/resources/views/segments/posts/PostIndexImage/PostIndexImage.scss
index bcb103b..12688fc 100644
--- a/resources/views/segments/posts/PostIndexImage/PostIndexImage.scss
+++ b/resources/views/segments/posts/PostIndexImage/PostIndexImage.scss
@@ -1,4 +1,5 @@
.PostIndexImage {
+ padding: 3rem 0;
// scss
h1{
font-size: 30px;
diff --git a/resources/views/segments/slider/ParallaxSlider/ParallaxSlider.blade.php b/resources/views/segments/slider/ParallaxSlider/ParallaxSlider.blade.php
index ffcefc0..c115265 100644
--- a/resources/views/segments/slider/ParallaxSlider/ParallaxSlider.blade.php
+++ b/resources/views/segments/slider/ParallaxSlider/ParallaxSlider.blade.php
@@ -10,7 +10,6 @@
{{$slider->dataz['index_ParallaxSlider_subtitle']}}
-
{{$slider->dataz['index_ParallaxSlider_btn']}}