@@ -10,44 +10,54 @@ export default function SingleVideoSlugModule({
1010 return (
1111 < >
1212 < div className = "flex flex-wrap xs:px-3 justify-start items-center gap-2 xs:gap-4 w-full h-fit pt-5 bg-white dark:bg-singleVideo-dark-background" >
13- < Link href = { `${ lang } /education` } >
14- < p className = "w-fit ps-5 font-normal font-azarMehr text-[15px] xs:text-[12px] text-start text-[#575757] dark:text-singleVideo-dark-text cursor-pointer hover:text-blueLink hover:dark:text-dark-yellow" >
15- آموزش
16- </ p >
17- </ Link >
13+ < p
14+ className = "w-fit ps-5 font-normal font-azarMehr text-[15px] xs:text-[12px] text-start text-[#575757] dark:text-singleVideo-dark-text cursor-pointer hover:text-blueLink hover:dark:text-dark-yellow"
15+ onClick = { ( ) => router . push ( `/${ lang } /education` ) }
16+ >
17+ آموزش
18+ </ p >
19+
1820 < span className = "text-[#575757] font-normal font-azarMehr text-[15px] xs:text-[12px]" >
1921 /
2022 </ span >
21- < Link href = { ` ${ lang } /education` } >
22- < p
23- className = "w-fit font-normal font-azarMehr cursor-pointer text-[15px] xs:text-[12px] text-start text-[#575757] hover:text-blueLink hover:dark:text-dark-yellow xs:whitespace-nowrap"
24- onClick = { ( ) => router . push ( `/${ lang } /education/category/all` ) }
25- >
26- دسته بندی ها
27- </ p >
28- </ Link >
23+
24+ < p
25+ className = "w-fit font-normal font-azarMehr cursor-pointer text-[15px] xs:text-[12px] text-start text-[#575757] hover:text-blueLink hover:dark:text-dark-yellow xs:whitespace-nowrap"
26+ onClick = { ( ) => router . push ( `/${ lang } /education/category/all` ) }
27+ >
28+ دسته بندی ها
29+ </ p >
30+
2931 < span className = "text-[#575757] font-normal font-azarMehr text-[15px] xs:text-[12px]" >
3032 /
3133 </ span >
32- < Link href = { `${ lang } /education/${ DataVideo . category . slug } ` } >
33- < p
34- className = "w-fit font-normal font-azarMehr cursor-pointer text-[15px] xs:text-[12px] text-start text-[#575757] hover:text-blueLink hover:dark:text-dark-yellow xs:whitespace-nowrap"
35- onClick = { ( ) => router . push ( `/${ lang } /education/category/all` ) }
36- >
37- { DataVideo . category . name }
38- </ p >
39- </ Link >
34+
35+ < p
36+ className = "w-fit font-normal font-azarMehr cursor-pointer text-[15px] xs:text-[12px] text-start text-[#575757] hover:text-blueLink hover:dark:text-dark-yellow xs:whitespace-nowrap"
37+ onClick = { ( ) =>
38+ router . push (
39+ `/${ lang } /education/category/${ DataVideo . category . slug } `
40+ )
41+ }
42+ >
43+ { DataVideo . category . name }
44+ </ p >
45+
4046 < span className = "text-[#575757] font-normal font-azarMehr text-[15px] xs:text-[12px]" >
4147 /
4248 </ span >
43- < Link href = { `${ lang } /education/${ DataVideo . sub_category . slug } ` } >
44- < p
45- className = "w-fit font-normal font-azarMehr cursor-pointer text-[15px] xs:text-[12px] text-start text-[#575757] hover:text-blueLink hover:dark:text-dark-yellow xs:whitespace-nowrap"
46- onClick = { ( ) => router . push ( `/${ lang } /education/category/all` ) }
47- >
48- { DataVideo . sub_category . name }
49- </ p >
50- </ Link >
49+
50+ < p
51+ className = "w-fit font-normal font-azarMehr cursor-pointer text-[15px] xs:text-[12px] text-start text-[#575757] hover:text-blueLink hover:dark:text-dark-yellow xs:whitespace-nowrap"
52+ onClick = { ( ) =>
53+ router . push (
54+ `/${ lang } /education/category/${ DataVideo . category . slug } /${ DataVideo . sub_category . slug } `
55+ )
56+ }
57+ >
58+ { DataVideo . sub_category . name }
59+ </ p >
60+
5161 < span className = "text-[#575757] font-normal font-azarMehr text-[15px] xs:text-[12px]" >
5262 /
5363 </ span >
0 commit comments