Skip to content

Commit

Permalink
improved ui/ux
Browse files Browse the repository at this point in the history
  • Loading branch information
A1Gard committed Sep 25, 2024
1 parent a7034eb commit 178f851
Show file tree
Hide file tree
Showing 9 changed files with 97 additions and 74 deletions.
2 changes: 1 addition & 1 deletion app/Http/Controllers/Api/CategoryController.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,6 @@ public function destroy(Category $category)

public function props( $id){
$category = Category::whereId($id)->firstOrFail();
return PropCollection::collection($category->props);
return PropCollection::collection($category->props()->orderBy('sort')->get());
}
}
2 changes: 1 addition & 1 deletion app/Http/Controllers/ClientController.php
Original file line number Diff line number Diff line change
Expand Up @@ -525,7 +525,7 @@ public function signUpNow(Request $request)
$customer->password = bcrypt($passwd);
$customer->save();

return redirect()->back()->with(['message' => $msg]);
return redirect()->back()->with(['message' => $msg . __("Please check your email to find password, Don't forget check spam/junk too, If you find our email in spam folder, Please mark it `Not spam`")]);
}

public function singInDo(Request $request)
Expand Down
3 changes: 3 additions & 0 deletions app/Http/Controllers/ThemeController.php
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,9 @@ public function cssVariables()
}
$response .= ';';
}
if (langIsRTL(app()->getLocale())) {
$response .= 'font-feature-settings: "ss01";';
}
}
$response .= '}';

Expand Down
53 changes: 38 additions & 15 deletions resources/lang/fa.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"Add new product": "افزودن یک محصول",
"Add new prop": "افزودن یک ویژگی",
"Add new question": "افزودن یک سوال",
"Add new rate": "افزودن یک امتیاز",
"Add new setting": "افزودن یک تنظیم",
"Add new slider": "افزودن یک اسلایدر",
"Add new state": "افزودن یک استان",
Expand Down Expand Up @@ -90,6 +91,8 @@
"Auth code": "کد احراز هویت",
"Auth code is invalid": "کد احراز هویت اشتباه اسات",
"Auth code send successfully": "کد احراز هویت ارسال شد",
"Authentication Mail": "ایمیل احراز هویت",
"Avatar": "آواتار",
"Back to profile": "بازگشت به نمایه",
"Background image": "تصویر زمینه",
"Base price": "مبلغ پایه",
Expand Down Expand Up @@ -141,12 +144,13 @@
"Credit history": "تاریخچه اعتبار",
"Credits": "اعتبارات",
"Customer": "مشتری",
"Customer mobile": "",
"Customer mobile": "موبایل مشتری",
"Customers": "مشتری‌ها",
"Customers list": "فهرست مشتری‌ها",
"DEMO VERSION": "نگارش آزمایشی",
"Dashboard": "پیشخوان",
"Date": "تاریخ",
"Date of born": "تاریخ تولد",
"Datetime": "تاریخ و زمان",
"Deattach": "عدم پیوست",
"Default": "پیش‌فرض",
Expand All @@ -158,6 +162,7 @@
"Description Text": "نوشته توضیحات",
"Design": "طراحی",
"Design :AREA": "طراحی :AREA",
"Detail": "جزئیات",
"Devices": "دستگاه‌ها",
"Discount code": "کد تخفیف",
"Discount code is valid.": "کد تخفیف اعمال شد",
Expand All @@ -184,13 +189,14 @@
"Edit evaluation": "ویرایش ارزیابی",
"Edit gallery": "ویرایش گالری",
"Edit group": "ویرایش سرفصل",
"Edit invoice": "",
"Edit invoice": "ویرایش صورت‌حساب",
"Edit language": "ویرایش زبان",
"Edit menu": "ویرایش فهرست",
"Edit post": "ویرایش نوشته",
"Edit product": "ویرایش محصول",
"Edit prop": "ویرایش ویژگی",
"Edit question": "ویرایش سوال",
"Edit rate": "ویرایش امتیاز",
"Edit slider": "ویرایش اسلایدر",
"Edit state": "ویرایش استان",
"Edit ticket": "ویرایش تیکت",
Expand All @@ -211,6 +217,7 @@
"False": "خیر",
"Favorites": "علاقه‌مندی‌ها",
"Feature image": "تصویر شاخص",
"Female": "مونث",
"File": "پرونده",
"File ext": "پسوند پرونده",
"File name": "نام پرونده",
Expand All @@ -236,23 +243,25 @@
"Groups": "سرفصل‌ها",
"Groups list": "فهرست سرفصل‌ها",
"Guest": "میهمان",
"GuestLogs list": "فهرست لاگ میهمان ها",
"Height": "قد",
"Home": "خانه",
"ID": "",
"Icon": "نماد",
"If not choose expire expire time will be unlimited": "اگر زمان انقصا را انتخاب نکنید، هرگز منقضی نخواهد شد",
"If you cancel this, You must increase credit yourself.": "",
"If you change transport method you must think about think about the price diffrance": "",
"If you cancel this, You must increase credit yourself.": "اگر شما این مورد را لغو کنید می‌بایستی خودتان اعتبار کاربر را افزایش دهید",
"If you change transport method you must think about think about the price diffrance": "اگر روش ارسال را عوض کنید، تفاوت مبلغ‌ها را می‌بایستی خودتان حل کنید",
"If you did not receive the email": "اگر ایمیلی دریافت نکردید",
"If you forget your password call us": "اگر گذرواژه خود را فراموش کردید با ما تماس بگیرید",
"If you removed order from invoice, system adding amount to customer's credit automatically": "",
"If you removed order from invoice, system adding amount to customer's credit automatically": "اگر یک سفارش را حذف کنید مبلغ سفارش به صورت خودکار به اعتبار مشتری افزوده خواهد شد",
"If you want to change the password, choose both the same. Otherwise, leave the password field blank.": "اگر می‌خواهید گذرواژه را عوض کنید هر دو را یکسان پر کنید، در غیر این صورت آن را خالی رها کنید",
"If you want to only attach to other staff members and do not want to appear in the website attachment list, uncheck `fillable`": "اگر می‌خواهید این پوست در فهرست پیوست‌های وبسایت نمایش داده نشود مورد مورد `قابل نمایش` را غیرفعال کنید",
"Image": "تصویر",
"Image deleted successfully": "تصویر حذف شد",
"Image uploaded successfully": "تصویر افزوده شد",
"Images": "تصاویر",
"Increase \/ decrease by Admin": "افزودن \/ کاهش توسط مدیر سایت",
"Increase by Admin removed:": "",
"Increase by Admin removed:": "افزودنت توسط مدیر حذف شد",
"Index": "صفحه نخست",
"Index image": "تصویر شاخص",
"Information": "اطلاعات",
Expand All @@ -261,10 +270,10 @@
"Invalid json file!": "فایل جی‌سان معتبر نیست",
"Invalid morph": "چند ریخیتی نا معتبر",
"Invoice": "صورت حساب",
"Invoice ID:": "",
"Invoice ID:": "ID صورت حساب",
"Invoice payed.": "صورت‌حساب پرداخت شد",
"Invoices": "صورت‌حساب‌ها",
"Invoices list": "",
"Invoices list": "فهرست صورت حساب ها",
"Is default": "آی پیش‌فرض است",
"Is effective price?": "آیا در قیمت تاثیر دارد؟",
"Is fillable": "قابل نمایش",
Expand All @@ -289,6 +298,7 @@
"Main group": "سرفصل اصلی",
"Main language content": "زبان اصلی محتوا",
"Main product category": "دسته اصلی محصول",
"Male": "مذکر",
"Managing": "مدیریت",
"Max click": "حداکثر کلیک",
"Max click zero is unlimited": "حداکثر کلیک 0 به معنای بی‌نهایت است",
Expand All @@ -308,16 +318,18 @@
"Next": "بعدی",
"No parent": "بدون والد",
"Not required": "غیر ضرروری",
"Order removed successfully": "",
"Order removed successfully": "سفارش با موفقیت حذف شد",
"Orders": "سفارشاات",
"Orders count": "تعداد سفارش",
"Password": "گذرواژه",
"Password or new password is:": "گذرواژه یا گذرواژه جدید عبارت است از:",
"Pay now": "پرداخت",
"Payment & discount": "تخفیف و پرداخت",
"Pending": "معلق",
"Pending tickets": "تیکت‌های بی‌پاسخ",
"Phone": "شماره تماس",
"Pin": "سنجاق",
"Please check your email to find password, Don't forget check spam\/junk too, If you find our email in spam folder, Please mark it `Not spam`": "برای پیدا کردن گذرواژه خود به ایمیل خود مراجعه کنید، فراموش نکنید پوشه هرزنامه‌ها رو نیز بررسی کنید، در صورت که ایمیل ما هرزنامه شناخته شده بود، ممنون می‌شویم آنرا به عنوان عدم هرزنامه نشانه گذاری کنید",
"Please confirm your password before continuing.": "لطفا پیش از ادامه گذرواژه خود را تایید کنید",
"Please upload file": "لطفا یک پرونده بارگزاری کنید",
"Please, Login or complete information to pay": "لطفا وارد شوید یا اطلاعات خود را تکمیل کنید تا اجازه پرداخت داشته باشید",
Expand All @@ -332,7 +344,7 @@
"Preview": "پیش‌نمایش",
"Previous": "قبلی",
"Price": "مبلغ",
"Print": "",
"Print": "چاپ",
"Product": "محصول",
"Product added to compare": "محصول به فهرست مقایسه افزوده شد",
"Product added to favorites": "محصول به علاقه‌مندی شما افزوده شد",
Expand All @@ -357,10 +369,12 @@
"Questions list": "فهرست سوالات",
"RTL": "راست به چپ",
"Rate": "امتیاز",
"Rates list": "فهرست امتیازها",
"Read more": "اطلاعات بیشتر",
"Recent posts": "واپسین نوشته‌ها",
"Recommends": "توصیه‌ها",
"Register": "ثبت‌نام",
"Register or Reset password": "ثبت‌نام یا بازیابی گذرواژه",
"Reject": "رد کردن",
"Rejected": "رد شده",
"Related products": "محصولات مشابه",
Expand Down Expand Up @@ -399,12 +413,15 @@
"Setting added to website": "تنظیم به سایت اضافه شد",
"Setting of website updated": "تنظیمات به روز شدند",
"Settings": "تنظیمات",
"Sex": "جنسیت",
"Shopping card": "سبد خرید",
"Show": "نمایش",
"Show list": "نمایش فهرست",
"Sign in as customer": "",
"Sign in as customer": "ورود به عنوان مشتری",
"Sign up as customer": "ثبت نام به عنوان مشتری",
"Sign-in": "ورود",
"Sign-out": "خروج",
"Sign-up": "ثبت‌نام",
"Signed in successfully": "با موفقیت وارد شدید",
"Signed out successfully": "با موفقیت خارج شدید",
"Size": "اندازه",
Expand All @@ -423,7 +440,7 @@
"Subject": "عنوان",
"Submit new ticket": "ارسال یک تیکت جدید",
"Subtitle": "زیرعنوان",
"Successfully Invoices": "",
"Successfully Invoices": "صورت‌حساب های موفق",
"Summary": "خلاصه",
"System notification": "پیام سیستم",
"Table of contents": "فهرست عناوین",
Expand All @@ -438,11 +455,12 @@
"There is nothing added to card!": "چیزی در سبد خرید وجود ندارد",
"There is nothing to show!": "اینجا چیزی برای نمایش وجود ندارد",
"There is noting file to show!": "هیچ پرونده ای برای نمایش وجود ندارد",
"This payment method is not available.": "",
"This payment method is not available.": "این روش پرداخت در دسترس نیست",
"Ticket added successfully": "تیکت با موفقیت اضافه شد",
"Ticket answered successfully": "تیکت پاسخ داده شد",
"Tickets": "تیکت‌های پشتیبانی",
"Tickets list": "فهرست تیکت‌های پشتیبانی",
"Time spend": "زمان مطالعه",
"Tips": "نکات",
"Title": "عنوان",
"Titles updated": "عنوانین به روز شدند",
Expand All @@ -451,7 +469,7 @@
"Toggle selection": "برعکس کردن انتخاب",
"Total": "همه",
"Total price": "مبلغ کل",
"Tracking code": "",
"Tracking code": "کد پیگیری",
"Translate": "ترجمه",
"Translate model": "ترجمه ماژول",
"Translate updated": "ترجمه افزوده شد",
Expand Down Expand Up @@ -485,6 +503,7 @@
"Visits": "بازدید‌ها",
"We recommending add title each images": "به شما پیشنهاد می‌کنیم که برای هر تصویر یک عنوان اضافه کنید",
"Website attachments list": "فهرست پیوست‌های سایت",
"Weight": "وزن",
"Welcome back": "خوش آمدید",
"Width": "عرض",
"You": "شما",
Expand All @@ -503,11 +522,14 @@
"You need at least one address to order, Please add address": "شما برای ادامه فرآیند خرید به حداقل یک نشانی نیاز دارید",
"You need complete your information": "شما می‌بایستی اطلاعات خود را تکمیل کنید",
"You need to login first": "شما برای ادامه می‌بایستی وارد شوید",
"You need to login to access this page": "",
"You need to login to access this page": "برای دسترسی به این صفحه نیاز به حساب کاربری معتبر دارید",
"You need to sign in\/up to continue": "شما برای ادامه نیاز است وارد شوید یا ثبت‌نام کنید",
"You try attempts, Try it a few minutes": "تلاش شما از حداکثر درخواستی بیشتر است",
"You try more than :COUNT attempts, Try it later": "شما بیش از :COUNT تلاش کردید لطفاً بعداً تلاش کنید",
"Your Authentication Mail": "ایمیل احراز هویت شما",
"Your Email sent": "ایمیل شما ارسال شد",
"Your account has been created successfully.": "حساب کاربری شما ساخته شد",
"Your account password has been changed successfully.": "پسورد حساب کاربری شما عوض شد",
"Your answer ...": "پاسخ شما",
"Your comment has been submitted": "دیدگاه شما ارسال شد",
"Your information is insufficient, Please complete your information": "اطلاعات شما ناقص است، لطفا اطلاعات خود را تکمیل کنید",
Expand Down Expand Up @@ -547,6 +569,7 @@
"pending": "معلق",
"rejected": "رد شده",
"sign in": "ورود",
"sign up": "ثبت نام",
"status": "وضعیت",
"title": "عنوان",
"user_id": "کاربر",
Expand Down
42 changes: 0 additions & 42 deletions resources/views/admin/guestlogs/guestlog-form.blade.php

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
height: 270px;
color: var(--xshop-diff);
padding-top: 3rem;
overflow: hidden;

h2{
opacity: .4;
Expand All @@ -19,9 +18,21 @@
border-bottom-right-radius: 0;
border-bottom-left-radius: 0;
height: 100px;
position: relative;
&:after{
position: absolute;
left: 0;
right: 0;
content: ' ';
height: 10px;
bottom: -5px;
background: var(--xshop-background);
}
}

+ .content{
margin-top: -3rem;
position: relative;
z-index: 11;
}
}
4 changes: 2 additions & 2 deletions resources/views/segments/menu/AplMenu/AplMenu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@
<div class="modal-dialog modal-dialog-centered">
<div class="modal-content">
<div class="modal-header">
<h1 class="modal-title fs-5" id="apl-search">
<h4 class="modal-title fs-5" id="apl-search">
{{__("Search")}}
</h1>
</h4>
<button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button>
</div>
<div class="modal-body">
Expand Down
26 changes: 20 additions & 6 deletions resources/views/segments/post/PostSidebar/PostSidebar.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,26 @@
@endif
<div class="col-lg-9 p-0">
<div class="py-2 px-4">
<h1>
{{$post->title}}
<span class="float-end text-muted">
Time spend: {{$post->spendTime()}}
</span>
</h1>
<span class="float-end text-muted">
{{__("Time spend")}}: {{$post->spendTime()}}
</span>
<nav aria-label="breadcrumb">
<ol class="breadcrumb">
<li class="breadcrumb-item">
<a href="{{homeUrl()}}">
{{config('app.name')}}
</a>
</li>
<li class="breadcrumb-item">
<a href="{{$post->mainGroup->webUrl()}}">
{{$post->mainGroup->name}}
</a>
</li>
<li class="breadcrumb-item active" aria-current="page">
{{$post->title}}
</li>
</ol>
</nav>
<img src="{{$post->orgUrl()}}" alt="" class="img-fluid">
<p class="text-muted my-3">
{{$post->subtitle}}
Expand Down
Loading

0 comments on commit 178f851

Please sign in to comment.