|
|
@ -4,19 +4,20 @@ import React, { useEffect } from 'react'; |
|
|
|
import Layout from './layout'; |
|
|
|
import Auth from './sections/auth'; |
|
|
|
import homePage from './sections/homePage'; |
|
|
|
import MetadataManagement from './sections/metadataManagement'; |
|
|
|
const App = props => { |
|
|
|
const { projectName } = props |
|
|
|
const { projectName } = props |
|
|
|
|
|
|
|
useEffect(() => { |
|
|
|
document.title = projectName; |
|
|
|
}, []) |
|
|
|
useEffect(() => { |
|
|
|
document.title = projectName; |
|
|
|
}, []) |
|
|
|
|
|
|
|
return ( |
|
|
|
<Layout |
|
|
|
title={projectName} |
|
|
|
sections={[homePage, Auth,]} |
|
|
|
/> |
|
|
|
) |
|
|
|
return ( |
|
|
|
<Layout |
|
|
|
title={projectName} |
|
|
|
sections={[homePage, Auth, MetadataManagement]} |
|
|
|
/> |
|
|
|
) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|