运维服务中台
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.
 
 
 
 
 

43 lines
1012 B

'use strict';
import React, { useEffect } from 'react';
import Layout from './layout';
import Auth from './sections/auth';
import Example from './sections/example';
import Install from './sections/install';
import Problem from './sections/problem';
import NoMatch from './sections/noMatch';
import Console from './sections/console';
const App = props => {
const { projectName } = props
useEffect(() => {
document.title = projectName;
console.log(`
_ _
       />  フ
      |  _  _ l
      /\` ミ_xノ
     /      |
    /  ヽ   ノ
    │  | | |
 / ̄|   | | |
 | ( ̄ヽ__ヽ_)__)
 \二つ ​
`);
}, [])
return (
<Layout
title={projectName}
sections={[
Example,Install,Problem,
Auth, NoMatch,Console
]}
/>
)
}
export default App;