aboutsummaryrefslogtreecommitdiffstats
path: root/src/layouts/AuthenticatedLayout.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/AuthenticatedLayout.js')
-rw-r--r--src/layouts/AuthenticatedLayout.js17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/layouts/AuthenticatedLayout.js b/src/layouts/AuthenticatedLayout.js
new file mode 100644
index 0000000..7c39672
--- /dev/null
+++ b/src/layouts/AuthenticatedLayout.js
@@ -0,0 +1,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; \ No newline at end of file