Skip to content

Commit 1a78dbb

Browse files
committed
reactapp added to urls
1 parent 4c4d248 commit 1a78dbb

33 files changed

Lines changed: 4534 additions & 3803 deletions

assets/css/styles.css

Lines changed: 24 additions & 24 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

assets/js/data/blogs.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,55 +1,55 @@
11
const blogs = [
22
{
33
id: 1,
4-
image: "/assets/images/blogs/1.jpg",
4+
image: "/reactapp/assets/images/blogs/1.jpg",
55
title: `video streaming در nodejs`,
66
url: "",
77
},
88
{
99
id: 2,
10-
image: "/assets/images/blogs/2.jpg",
10+
image: "/reactapp/assets/images/blogs/2.jpg",
1111
title: `حلقه for…of در جاوا اسکریپت`,
1212
url: "",
1313
},
1414
{
1515
id: 3,
16-
image: "/assets/images/blogs/3.jpg",
16+
image: "/reactapp/assets/images/blogs/3.jpg",
1717
title: `طرح تخفیف ویژه روز دانشجو`,
1818
url: "",
1919
},
2020
{
2121
id: 4,
22-
image: "/assets/images/blogs/4.jpg",
22+
image: "/reactapp/assets/images/blogs/4.jpg",
2323
title: `Syntax جدید Object Literal در ES6`,
2424
url: "",
2525
},
2626
{
2727
id: 5,
28-
image: "/assets/images/blogs/5.jpg",
28+
image: "/reactapp/assets/images/blogs/5.jpg",
2929
title: `عملگر spread در جاوا اسکریپت`,
3030
url: "",
3131
},
3232
{
3333
id: 6,
34-
image: "/assets/images/blogs/6.jpg",
34+
image: "/reactapp/assets/images/blogs/6.jpg",
3535
title: `پارامترهای پیش فرض در جاوا اسکریپت`,
3636
url: "",
3737
},
3838
{
3939
id: 7,
40-
image: "/assets/images/blogs/7.jpg",
40+
image: "/reactapp/assets/images/blogs/7.jpg",
4141
title: `چگونه از ماژول های نیتیو Android و IOS در React Native استفاده کنیم؟`,
4242
url: "",
4343
},
4444
{
4545
id: 8,
46-
image: "/assets/images/blogs/8.jpg",
46+
image: "/reactapp/assets/images/blogs/8.jpg",
4747
title: `Rest در جاوا اسکریپت`,
4848
url: "",
4949
},
5050
{
5151
id: 9,
52-
image: "/assets/images/blogs/9.jpg",
52+
image: "/reactapp/assets/images/blogs/9.jpg",
5353
title: `آموزش کار با timing event ها`,
5454
url: "",
5555
},

assets/js/data/courses.js

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -5,132 +5,132 @@ const courses = [
55
`,
66
author: "مهدی",
77
price: 269000,
8-
image: "/assets/images/courses/1.jpg",
8+
image: "/reactapp/assets/images/courses/1.jpg",
99
students: 451,
1010
full: true,
1111
proposal: false,
12-
url: '/pages/courses/javascript.html'
12+
url: "/reactapp/pages/courses/javascript.html",
1313
},
1414
{
1515
id: 2,
1616
title: `آموزش جامع و پروژه محور react native`,
1717
author: "علی",
1818
price: 179000,
19-
image: "/assets/images/courses/2.jpg",
19+
image: "/reactapp/assets/images/courses/2.jpg",
2020
students: 219,
2121
full: true,
2222
proposal: false,
23-
url: '/pages/courses/javascript.html'
23+
url: "/reactapp/pages/courses/javascript.html",
2424
},
2525
{
2626
id: 3,
2727
title: `ساخت اپلیکیشن فروشگاهی به همراه پنل مدیریت`,
2828
author: "مهدی",
2929
price: 329000,
30-
image: "/assets/images/courses/3.jpg",
30+
image: "/reactapp/assets/images/courses/3.jpg",
3131
students: 452,
3232
full: true,
3333
proposal: true,
34-
url: '/pages/courses/javascript.html'
34+
url: "/reactapp/pages/courses/javascript.html",
3535
},
3636
{
3737
id: 4,
3838
title: `آموزش جامع React Js`,
3939
author: "مهدی",
4040
price: 199000,
41-
image: "/assets/images/courses/4.jpg",
41+
image: "/reactapp/assets/images/courses/4.jpg",
4242
students: 612,
4343
full: true,
4444
proposal: false,
45-
url: '/pages/courses/javascript.html'
45+
url: "/reactapp/pages/courses/javascript.html",
4646
},
4747
{
4848
id: 5,
4949
title: `آموزش جامع و پروژه محور Nodejs`,
5050
author: "علی",
5151
price: 169000,
52-
image: "/assets/images/courses/5.png",
52+
image: "/reactapp/assets/images/courses/5.png",
5353
students: 435,
5454
full: false,
5555
proposal: true,
56-
url: '/pages/courses/javascript.html'
56+
url: "/reactapp/pages/courses/javascript.html",
5757
},
5858
{
5959
id: 6,
6060
title: `آموزش Git و Github`,
6161
author: "علی",
6262
price: 0,
63-
image: "/assets/images/courses/6.png",
63+
image: "/reactapp/assets/images/courses/6.png",
6464
students: 1637,
6565
full: false,
6666
proposal: true,
67-
url: '/pages/courses/javascript.html'
67+
url: "/reactapp/pages/courses/javascript.html",
6868
},
6969
{
7070
id: 7,
7171
title: `پرداخت درون برنامه ای بازار در React Native`,
7272
author: "ویندی تیم",
7373
price: 29000,
74-
image: "/assets/images/courses/7.jpg",
74+
image: "/reactapp/assets/images/courses/7.jpg",
7575
students: 66,
7676
full: false,
7777
proposal: true,
78-
url: '/pages/courses/javascript.html'
78+
url: "/reactapp/pages/courses/javascript.html",
7979
},
8080
{
8181
id: 8,
8282
title: `آموزش GraphQl`,
8383
author: "علی",
8484
price: 89000,
85-
image: "/assets/images/courses/8.png",
85+
image: "/reactapp/assets/images/courses/8.png",
8686
students: 243,
8787
full: false,
8888
proposal: true,
89-
url: '/pages/courses/javascript.html'
89+
url: "/reactapp/pages/courses/javascript.html",
9090
},
9191
{
9292
id: 9,
9393
title: `آموزش NativeBase`,
9494
author: "مهدی",
9595
price: 0,
96-
image: "/assets/images/courses/9.jpg",
96+
image: "/reactapp/assets/images/courses/9.jpg",
9797
students: 961,
9898
full: false,
9999
proposal: true,
100-
url: '/pages/courses/javascript.html'
100+
url: "/reactapp/pages/courses/javascript.html",
101101
},
102102
{
103103
id: 10,
104104
title: `آموزش جاوااسکریپت (javascript)`,
105105
author: "مهدی",
106106
price: 0,
107-
image: "/assets/images/courses/10.jpg",
107+
image: "/reactapp/assets/images/courses/10.jpg",
108108
students: 4167,
109109
full: false,
110110
proposal: true,
111-
url: '/pages/courses/javascript.html'
111+
url: "/reactapp/pages/courses/javascript.html",
112112
},
113113
{
114114
id: 11,
115115
title: `آموزش تایپ اسکریپت(typescript)`,
116116
author: "علی",
117117
price: 99000,
118-
image: "/assets/images/courses/11.png",
118+
image: "/reactapp/assets/images/courses/11.png",
119119
students: 211,
120120
full: false,
121121
proposal: true,
122-
url: '/pages/courses/javascript.html'
122+
url: "/reactapp/pages/courses/javascript.html",
123123
},
124124
{
125125
id: 12,
126126
title: `ذخیره سازی اطلاعات با AsyncStorage در React Native`,
127127
author: "علی",
128128
price: 0,
129-
image: "/assets/images/courses/12.png",
129+
image: "/reactapp/assets/images/courses/12.png",
130130
students: 312,
131131
full: false,
132132
proposal: false,
133-
url: '/pages/courses/javascript.html'
133+
url: "/reactapp/pages/courses/javascript.html",
134134
},
135135
];
136136
export default courses;

assets/js/global/headerEvents.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { getElement, toggleClasses } from "/assets/js/global/utils.js";
1+
import { getElement, toggleClasses } from "/reactapp/assets/js/global/utils.js";
22

33
// Event functions
44
function topbarEvent() {

assets/js/index.js

Lines changed: 12 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,18 @@
11
//? global imports
2-
import { getElement } from "/assets/js/global/utils.js";
3-
import { dispalyCourses, displayBlogs } from "/assets/js/global/display.js";
4-
import { topbarEvent, navbarEvent, sidebarEvent } from "/assets/js/global/headerEvents.js";
2+
import { getElement } from "/reactapp/assets/js/global/utils.js";
3+
import {
4+
dispalyCourses,
5+
displayBlogs,
6+
} from "/reactapp/assets/js/global/display.js";
7+
import {
8+
topbarEvent,
9+
navbarEvent,
10+
sidebarEvent,
11+
} from "/reactapp/assets/js/global/headerEvents.js";
512

613
//? specific imports
7-
import courses from "/assets/js/data/courses.js";
8-
import blogs from "/assets/js/data/blogs.js";
14+
import courses from "/reactapp/assets/js/data/courses.js";
15+
import blogs from "/reactapp/assets/js/data/blogs.js";
916

1017
window.addEventListener("DOMContentLoaded", function () {
1118
// displayFullCourses

0 commit comments

Comments
 (0)