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