@@ -72,9 +79,19 @@ function Courses({
item.gradeId ===
(selectedMenu || Number(localStorage.getItem("selectedGrade")))
)
- .map((item: any, i: any) =>
)}
+ .map((item: any, i: any) => (
+
+ ))}
-
محصولی یافت نشد.
+
+ محصولی یافت نشد.
+
{page === "search" && vocal ? (
) : null}
diff --git a/src/views/Home/AppDownload/index.scss b/src/views/Home/AppDownload/index.scss
index 62da0b3..977605a 100644
--- a/src/views/Home/AppDownload/index.scss
+++ b/src/views/Home/AppDownload/index.scss
@@ -51,7 +51,7 @@
@media screen and (min-width: 1441px) {
.app-download {
- max-width: 1350px;
+ max-width: $maxWidth;
h1 {
font-size: 40px;
line-height: 2em;
diff --git a/src/views/Home/Blogs/index.scss b/src/views/Home/Blogs/index.scss
index 27d2af3..40a64eb 100644
--- a/src/views/Home/Blogs/index.scss
+++ b/src/views/Home/Blogs/index.scss
@@ -48,7 +48,7 @@
@media screen and (min-width: 1441px) {
.home-blogs {
- max-width: 1350px;
+ max-width: $maxWidth;
header{
h1{
font-size: 20px;
diff --git a/src/views/Home/Books/Book/index.scss b/src/views/Home/Books/Book/index.scss
index 4d129ca..fa46784 100644
--- a/src/views/Home/Books/Book/index.scss
+++ b/src/views/Home/Books/Book/index.scss
@@ -2,8 +2,8 @@
cursor: pointer;
transition: all 0.5s;
border: 1px solid black;
- margin: 10px;
border-radius: 10px;
+ margin: 0px 10px;
&-light{
border : none !important;
border-bottom: 1px solid $gray12 !important;
@@ -42,12 +42,13 @@
@media screen and (min-width : 1441px){
.home-books-book{
+ max-width: 246px;
&:hover{
transform : scale(0.95);
background-color: #86868628;
}
img{
- height: 300px;
+ height: 340px;
}
h2{
font-size: 20px;
@@ -63,13 +64,13 @@
@media screen and (min-width : 1008px) and (max-width : 1440px){
.home-books-book{
+ max-width: 240px;
&:hover{
transform : scale(0.95);
background-color: #86868628;
}
img{
- height: 250px;
- // width: 100%;
+ height: 340px;
}
h2{
font-size: calc(100vw / 80);
@@ -86,7 +87,7 @@
@media screen and (min-width : 641px) and (max-width : 1007px){
.home-books-book{
img{
- height: 200px;
+ height: 250px;
border-bottom-left-radius: 25px !important;
}
h2{
diff --git a/src/views/Home/Books/index.scss b/src/views/Home/Books/index.scss
index 16d9026..195c850 100644
--- a/src/views/Home/Books/index.scss
+++ b/src/views/Home/Books/index.scss
@@ -38,7 +38,7 @@
@media screen and (min-width: 1441px) {
.home-books {
- max-width: 1350px;
+ max-width: $maxWidth;
header{
h1{
font-size: 20px;
diff --git a/src/views/Home/Books/index.tsx b/src/views/Home/Books/index.tsx
index 6f8732c..f3bcc90 100644
--- a/src/views/Home/Books/index.tsx
+++ b/src/views/Home/Books/index.tsx
@@ -9,9 +9,9 @@ function Books({list, number}: any) {
if (window.innerWidth >= 1440) {
return 5;
} else if (window.innerWidth >= 1008 && window.innerWidth < 1440) {
- return 5;
- } else if (window.innerWidth > 640 && window.innerWidth < 1008) {
return 4;
+ } else if (window.innerWidth > 640 && window.innerWidth < 1008) {
+ return 3;
} else {
return 2;
}
diff --git a/src/views/Home/Courses/index.scss b/src/views/Home/Courses/index.scss
index 6335471..a13c1e8 100644
--- a/src/views/Home/Courses/index.scss
+++ b/src/views/Home/Courses/index.scss
@@ -12,7 +12,6 @@
}
&-light{
border-top: none !important;
- border-bottom: 1px solid $gray12;
header{
h1{
color : $green !important;
@@ -62,7 +61,7 @@
@media screen and (min-width: 1441px) {
.home-courses {
- max-width: 1350px;
+ max-width: $maxWidth;
header {
h1 {
font-size: 20px;
diff --git a/src/views/Home/Courses/index.tsx b/src/views/Home/Courses/index.tsx
index 9de5970..3af28d0 100644
--- a/src/views/Home/Courses/index.tsx
+++ b/src/views/Home/Courses/index.tsx
@@ -54,7 +54,7 @@ function Courses({ number, courses, selectedSort, theme }: any) {
)}
مشاهده بیشتر{" "}
diff --git a/src/views/Home/Footer/index.scss b/src/views/Home/Footer/index.scss
index 329b708..593eaf5 100644
--- a/src/views/Home/Footer/index.scss
+++ b/src/views/Home/Footer/index.scss
@@ -27,7 +27,7 @@
@media screen and (min-width: 1441px){
.footer{
&__container{
- max-width: 1350px;
+ max-width: $maxWidth;
}
li{
font-size: 14px;
diff --git a/src/views/Home/Footer/index.tsx b/src/views/Home/Footer/index.tsx
index 4423b7a..292244e 100644
--- a/src/views/Home/Footer/index.tsx
+++ b/src/views/Home/Footer/index.tsx
@@ -37,7 +37,7 @@ export default connect((state : any) => ({
Footer.defaultProps = {
links: [
- { name: "تعرفهها", link: "/subscribe" },
+ // { name: "تعرفهها", link: "/subscribe" },
{ name: "سوالات متداول", link: "/faq" },
{ name: "درباره ما", link: "/about" },
{ name: "فروشگاه", link: "https://dnvn.ir/products" },
diff --git a/src/views/Home/Header/index.scss b/src/views/Home/Header/index.scss
index df6def2..2ea9ba9 100644
--- a/src/views/Home/Header/index.scss
+++ b/src/views/Home/Header/index.scss
@@ -119,7 +119,7 @@
@media screen and (min-width: 1441px) {
.home-slider {
- max-width: 1340px;
+ max-width: $maxWidth;
width: 100%;
justify-content: flex-end;
}
diff --git a/src/views/Home/Header/index.tsx b/src/views/Home/Header/index.tsx
index 290381e..2670d51 100644
--- a/src/views/Home/Header/index.tsx
+++ b/src/views/Home/Header/index.tsx
@@ -4,8 +4,6 @@ import Carousel from "react-elastic-carousel";
import dropdown from "../../../assets/icons/dropdown.png";
-import "./index.scss";
-
const HomeSlider = ({ headerData}: any) => {
return (
diff --git a/src/views/Home/index.tsx b/src/views/Home/index.tsx
index 275736a..df1c3d4 100644
--- a/src/views/Home/index.tsx
+++ b/src/views/Home/index.tsx
@@ -143,9 +143,5 @@ Home.defaultProps = {
name: "یازدهم",
value: 11,
},
- {
- name: "دوازدهم",
- value: 12,
- },
],
};
diff --git a/src/views/Subscription/index.scss b/src/views/Subscription/index.scss
index 02fd86a..f929973 100644
--- a/src/views/Subscription/index.scss
+++ b/src/views/Subscription/index.scss
@@ -2,6 +2,7 @@
@import './SubscribeRadio/index.scss';
.subscription {
+ margin-top: 20px;
&-dark{
main {
h1,h2{
diff --git a/src/views/VideoTube/index.scss b/src/views/VideoTube/index.scss
index 6a14cc2..091fc06 100644
--- a/src/views/VideoTube/index.scss
+++ b/src/views/VideoTube/index.scss
@@ -279,7 +279,7 @@
@media screen and (min-width: 1441px) {
.video-tube {
main {
- max-width: 1350px;
+ max-width: $maxWidth;
margin-top: 10px;
}
&__content {