@@ -12,7 +12,9 @@ const Landing = lazy(() => import("t9/apps/main/scenes/landing"));
12
12
const Articles = lazy ( ( ) => import ( "t9/apps/main/scenes/articles" ) ) ;
13
13
const Learn = lazy ( ( ) => import ( "t9/apps/main/scenes/learn" ) ) ;
14
14
15
- // Temp data: Todo: replace with props from the store
15
+ // Temp data:
16
+
17
+ // TODO: replace with props from the store
16
18
17
19
const navItems = [
18
20
{ id : 1 , to : "/Learn/Getting_Started" , name : "Learn" } ,
@@ -21,6 +23,54 @@ const navItems = [
21
23
{ id : 4 , to : "/articles" , name : "Articles" } ,
22
24
] ;
23
25
26
+ // Temp Footer Data
27
+ const data = [
28
+ {
29
+ title : "Recent Articles" ,
30
+ links : [
31
+ {
32
+ href : "https://staging.dzcode.io/Articles/Welcome_to_dzCode" ,
33
+ text : "Welcome To dzCode.io" ,
34
+ } ,
35
+ {
36
+ href : "https://staging.dzcode.io/Learn/Getting_Started" ,
37
+ text : "Getting Started dzCode.io" ,
38
+ } ,
39
+ ] ,
40
+ } ,
41
+ {
42
+ title : "Recent Projects" ,
43
+ links : [
44
+ {
45
+ href : "https://staging.dzcode.io/" ,
46
+ text : "Algerian Education Hierarchy" ,
47
+ } ,
48
+ {
49
+ href : "https://staging.dzcode.io/" ,
50
+ text : "Algerian Users" ,
51
+ } ,
52
+ {
53
+ href : "https://staging.dzcode.io/" ,
54
+ text : "Algerian Wilaya" ,
55
+ } ,
56
+ ] ,
57
+ } ,
58
+ {
59
+ title : "Social Media" ,
60
+ links : [
61
+ {
62
+ href : "www.facebook.com/dzcode.io" ,
63
+ text : "Facebook" ,
64
+ } ,
65
+ {
66
+ href :
67
+ "https://www.youtube.com/channel/UCqWze7IcHI-_2mvByYeGTJg?view_as=subscriber" ,
68
+ text : "Youtube" ,
69
+ } ,
70
+ ] ,
71
+ } ,
72
+ ] ;
73
+
24
74
export const App : React . SFC < { } > = ( ) => {
25
75
return (
26
76
< BrowserRouter >
@@ -33,7 +83,7 @@ export const App: React.SFC<{}> = () => {
33
83
< Route render = { ( ) => < Redirect to = "/" /> } />
34
84
</ Switch >
35
85
</ Suspense >
36
- < Footer />
86
+ < Footer data = { data } />
37
87
</ BrowserRouter >
38
88
) ;
39
89
} ;
0 commit comments