Skip to content
Snippets Groups Projects
App.js 499 B
Newer Older
  • Learn to ignore specific revisions
  • Tamás Szabó's avatar
    Tamás Szabó committed
    import React from 'react';
    import Header from './Header';
    import Main from './Main';
    import Footer from './Footer';
    
    
    const App = () => (
    
    Bereczki Sandor's avatar
    Bereczki Sandor committed
      <div style={{ minHeight: '100%', position: 'relative' }}>
    
        <Header className='header'>
          <main id='main' style={{ minHeight: '100%', position: 'relative' }}>
            <Main />
          </main>
        </Header>
    
    Bereczki Sandor's avatar
    Bereczki Sandor committed
        <footer id='footer' style={{ position: 'absolute', width: '100%', bottom: '0' }}>
          <Footer />
        </footer>
    
      </div>
    );
    
    export default App;