'use strict';

import React, { useEffect } from 'react';
import Layout from './layout';
import Auth from './sections/auth';

const App = props => {
    const { projectName } = props

    useEffect(() => {
        document.title = projectName;
    }, [])

    return (
        <Layout
            title={projectName}
            sections={[Auth]}
        />
    )
}

export default App;