Skip to content
Snippets Groups Projects
App.js 504 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 id='header' >
          <Header />
        </header>
    
    Bereczki Sandor's avatar
    Bereczki Sandor committed
        <main id='main' style={{ minHeight: '100%', position: 'relative' }}>
    
    Bereczki Sandor's avatar
    Bereczki Sandor committed
          <Main />
        </main>
        <footer id='footer' style={{ position: 'absolute', width: '100%', bottom: '0' }}>
          <Footer />
        </footer>
    
      </div>
    );
    
    export default App;