aboutsummaryrefslogtreecommitdiffstats
path: root/src/layouts/AuthenticatedLayout.js
blob: 7c39672567bce285a722e8c06eca61baaf3fda1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
import React from 'react';
import Navbar from './components/Navbar';
import Footer from './components/Footer';
import PopupWidget from './components/PopupWidget';

const AuthenticatedLayout = ({ children }) => {
    return (
        <>
            <Navbar />
            {children} {/* This will render the content */}
            <Footer />
            <PopupWidget />
        </>
    );
};

export default AuthenticatedLayout;