运维服务中台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
1.3 KiB

2 years ago
'use strict';
import React, { useEffect } from 'react';
import Layout from './layout';
import Auth from './sections/auth';
import Example from './sections/example';
2 years ago
import Analysis from './sections/analysis';
2 years ago
import Install from './sections/install';
2 years ago
import Problem from './sections/problem';
2 years ago
import NoMatch from './sections/noMatch';
2 years ago
import Console from './sections/console';
2 years ago
import Facility from './sections/facility';
2 years ago
import Service from './sections/service';
import WorkOrder from './sections/workOrder';
import Means from './sections/means';
2 years ago
import Data from './sections/data';
2 years ago
const App = props => {
2 years ago
const { projectName } = props
2 years ago
2 years ago
useEffect(() => {
document.title = projectName;
2 years ago
2 years ago
console.log(`
2 years ago
_ _
2 years ago
         
      |  _  _ l
      \` ミ_xノ
     /      |
    /    
      | | |
 |   | | |
 | (ヽ__ヽ_)__)
 二つ
`);
2 years ago
}, [])
2 years ago
2 years ago
return (
<Layout
title={projectName}
sections={[//Example,
Analysis, Install, Data, Facility, Service, Problem, WorkOrder,Means,
Auth, NoMatch, Console
]}
/>
)
2 years ago
}
export default App;