File tree Expand file tree Collapse file tree 8 files changed +101
-111
lines changed
maistro-academy/frontend/src
maistro-funnels/frontend/src
maistro-socials/frontend/src
maistro-websites/frontend/src Expand file tree Collapse file tree 8 files changed +101
-111
lines changed Original file line number Diff line number Diff line change @@ -66,26 +66,26 @@ const Helmet: React.FC<HelmetProps> = (props) => {
6666 } ;
6767
6868 return (
69- < Layout
70- productName = "Academy"
71- accentColor = "amber"
72- navigation = { routesNavigation }
73- logo = { < IconLogoSimple /> }
74- currentPath = { location . pathname }
75- user = { {
76- name : user ?. getName ( ) || '' ,
77- email : user ?. getEmail ( ) || '' ,
78- avatar : user ?. getAvatar ( ) || '' ,
79- } }
80- onLogout = { logOut }
81- onNavigate = { handleNavigate }
82- headerTitle = { pageTitle }
83- notificationCount = { 3 }
84- helpUrl = "https://wa.me/573013239010"
85- onSettings = { handleOnSettings }
86- >
87- { props . children }
88- </ Layout >
69+ < Layout
70+ productName = "Academy"
71+ accentColor = "amber"
72+ navigation = { routesNavigation }
73+ logo = { < IconLogoSimple /> }
74+ currentPath = { location . pathname }
75+ user = { {
76+ name : user ?. getName ( ) || '' ,
77+ email : user ?. getEmail ( ) || '' ,
78+ avatar : user ?. getAvatar ( ) || '' ,
79+ } }
80+ onLogout = { logOut }
81+ onNavigate = { handleNavigate }
82+ headerTitle = { pageTitle }
83+ notificationCount = { 3 }
84+ helpUrl = "https://wa.me/573013239010"
85+ onSettings = { handleOnSettings }
86+ >
87+ { props . children }
88+ </ Layout >
8989 ) ;
9090} ;
9191
Original file line number Diff line number Diff line change @@ -20,21 +20,19 @@ const Router: React.FC = () => {
2020 path = "*"
2121 element = {
2222 < ProtectedRoute >
23- < Helmet >
24- < ReactRoutes >
25- < Route path = "/" element = { < Dashboard /> } />
26- < Route path = "/courses/:courseId" element = { < CourseLayout /> } />
27- < Route path = "/courses/:courseId/:moduleId" element = { < ModuleLayout /> } />
28- < Route path = { Routes . PAYMENTS } element = { < Payments /> } />
29- </ ReactRoutes >
30- </ Helmet >
23+ < Helmet >
24+ < ReactRoutes >
25+ < Route path = "/" element = { < Dashboard /> } />
26+ < Route path = "/courses/:courseId" element = { < CourseLayout /> } />
27+ < Route path = "/courses/:courseId/:moduleId" element = { < ModuleLayout /> } />
28+ < Route path = { Routes . PAYMENTS } element = { < Payments /> } />
29+ </ ReactRoutes >
30+ </ Helmet >
3131 </ ProtectedRoute >
3232 }
3333 />
3434
35- < Route
36- path = { Routes . AUTH_CALLBACK }
37- element = { < AuthCallback /> } />
35+ < Route path = { Routes . AUTH_CALLBACK } element = { < AuthCallback /> } />
3836 < Route path = { Routes . AUTHZ_LOGIN } element = { < Login /> } />
3937 </ ReactRoutes >
4038 </ AuthProvider >
Original file line number Diff line number Diff line change @@ -73,26 +73,26 @@ const Helmet: React.FC<HelmetProps> = (props) => {
7373 } ;
7474
7575 return (
76- < Layout
77- productName = "Funnels"
78- accentColor = "orange"
79- navigation = { routesNavigation }
80- logo = { < IconLogoSimple /> }
81- currentPath = { location . pathname }
82- user = { {
83- name : user ?. getName ( ) || '' ,
84- email : user ?. getEmail ( ) || '' ,
85- avatar : user ?. getAvatar ( ) || '' ,
86- } }
87- onLogout = { logOut }
88- onNavigate = { handleNavigate }
89- headerTitle = { pageTitle }
90- notificationCount = { 3 }
91- helpUrl = "https://help.maistro.websites"
92- onSettings = { handleOnSettings }
93- >
94- { props . children }
95- </ Layout >
76+ < Layout
77+ productName = "Funnels"
78+ accentColor = "orange"
79+ navigation = { routesNavigation }
80+ logo = { < IconLogoSimple /> }
81+ currentPath = { location . pathname }
82+ user = { {
83+ name : user ?. getName ( ) || '' ,
84+ email : user ?. getEmail ( ) || '' ,
85+ avatar : user ?. getAvatar ( ) || '' ,
86+ } }
87+ onLogout = { logOut }
88+ onNavigate = { handleNavigate }
89+ headerTitle = { pageTitle }
90+ notificationCount = { 3 }
91+ helpUrl = "https://help.maistro.websites"
92+ onSettings = { handleOnSettings }
93+ >
94+ { props . children }
95+ </ Layout >
9696 ) ;
9797} ;
9898
Original file line number Diff line number Diff line change @@ -16,15 +16,13 @@ const Router: React.FC = () => {
1616 path = { Routes . HOME }
1717 element = {
1818 < ProtectedRoute >
19- < Helmet >
20- < div > Hello World!</ div >
21- </ Helmet >
19+ < Helmet >
20+ < div > Hello World!</ div >
21+ </ Helmet >
2222 </ ProtectedRoute >
2323 }
2424 />
25- < Route
26- path = { Routes . AUTH_CALLBACK }
27- element = { < AuthCallback /> } />
25+ < Route path = { Routes . AUTH_CALLBACK } element = { < AuthCallback /> } />
2826 < Route path = { Routes . AUTHZ_LOGIN } element = { < Login /> } />
2927 </ ReactRoutes >
3028 </ AuthProvider >
Original file line number Diff line number Diff line change @@ -73,26 +73,26 @@ const Helmet: React.FC<HelmetProps> = (props) => {
7373 } ;
7474
7575 return (
76- < Layout
77- productName = "Socials"
78- accentColor = "purple"
79- navigation = { routesNavigation }
80- logo = { < IconLogoSimple /> }
81- currentPath = { location . pathname }
82- user = { {
83- name : user ?. getName ( ) || '' ,
84- email : user ?. getEmail ( ) || '' ,
85- avatar : user ?. getAvatar ( ) || '' ,
86- } }
87- onLogout = { logOut }
88- onNavigate = { handleNavigate }
89- headerTitle = { pageTitle }
90- notificationCount = { 3 }
91- helpUrl = "https://help.maistro.websites"
92- onSettings = { handleOnSettings }
93- >
94- { props . children }
95- </ Layout >
76+ < Layout
77+ productName = "Socials"
78+ accentColor = "purple"
79+ navigation = { routesNavigation }
80+ logo = { < IconLogoSimple /> }
81+ currentPath = { location . pathname }
82+ user = { {
83+ name : user ?. getName ( ) || '' ,
84+ email : user ?. getEmail ( ) || '' ,
85+ avatar : user ?. getAvatar ( ) || '' ,
86+ } }
87+ onLogout = { logOut }
88+ onNavigate = { handleNavigate }
89+ headerTitle = { pageTitle }
90+ notificationCount = { 3 }
91+ helpUrl = "https://help.maistro.websites"
92+ onSettings = { handleOnSettings }
93+ >
94+ { props . children }
95+ </ Layout >
9696 ) ;
9797} ;
9898
Original file line number Diff line number Diff line change @@ -16,16 +16,13 @@ const Router: React.FC = () => {
1616 path = { Routes . HOME }
1717 element = {
1818 < ProtectedRoute >
19- < Helmet >
20- < div > Hello World!</ div >
21- </ Helmet >
19+ < Helmet >
20+ < div > Hello World!</ div >
21+ </ Helmet >
2222 </ ProtectedRoute >
2323 }
2424 />
25- < Route
26- path = { Routes . AUTH_CALLBACK }
27- element = { < AuthCallback /> }
28- />
25+ < Route path = { Routes . AUTH_CALLBACK } element = { < AuthCallback /> } />
2926 < Route path = { Routes . AUTHZ_LOGIN } element = { < Login /> } />
3027 </ ReactRoutes >
3128 </ AuthProvider >
Original file line number Diff line number Diff line change @@ -73,26 +73,26 @@ const Helmet: React.FC<HelmetProps> = (props) => {
7373 } ;
7474
7575 return (
76- < Layout
77- productName = "Websites"
78- accentColor = "blue"
79- navigation = { routesNavigation }
80- logo = { < IconLogoSimple /> }
81- currentPath = { location . pathname }
82- user = { {
83- name : user ?. getName ( ) || '' ,
84- email : user ?. getEmail ( ) || '' ,
85- avatar : user ?. getAvatar ( ) || '' ,
86- } }
87- onLogout = { logOut }
88- onNavigate = { handleNavigate }
89- headerTitle = { pageTitle }
90- notificationCount = { 3 }
91- helpUrl = "https://help.maistro.websites"
92- onSettings = { handleOnSettings }
93- >
94- { props . children }
95- </ Layout >
76+ < Layout
77+ productName = "Websites"
78+ accentColor = "blue"
79+ navigation = { routesNavigation }
80+ logo = { < IconLogoSimple /> }
81+ currentPath = { location . pathname }
82+ user = { {
83+ name : user ?. getName ( ) || '' ,
84+ email : user ?. getEmail ( ) || '' ,
85+ avatar : user ?. getAvatar ( ) || '' ,
86+ } }
87+ onLogout = { logOut }
88+ onNavigate = { handleNavigate }
89+ headerTitle = { pageTitle }
90+ notificationCount = { 3 }
91+ helpUrl = "https://help.maistro.websites"
92+ onSettings = { handleOnSettings }
93+ >
94+ { props . children }
95+ </ Layout >
9696 ) ;
9797} ;
9898
Original file line number Diff line number Diff line change @@ -16,16 +16,13 @@ const Router: React.FC = () => {
1616 path = { Routes . HOME }
1717 element = {
1818 < ProtectedRoute >
19- < Helmet >
20- < div > Hello World!</ div >
21- </ Helmet >
19+ < Helmet >
20+ < div > Hello World!</ div >
21+ </ Helmet >
2222 </ ProtectedRoute >
2323 }
2424 />
25- < Route
26- path = { Routes . AUTH_CALLBACK }
27- element = { < AuthCallback /> }
28- />
25+ < Route path = { Routes . AUTH_CALLBACK } element = { < AuthCallback /> } />
2926 < Route path = { Routes . AUTHZ_LOGIN } element = { < Login /> } />
3027 </ ReactRoutes >
3128 </ AuthProvider >
You can’t perform that action at this time.
0 commit comments