From 262b6530a3f7aac90a61bfccd978d2450e5f084b Mon Sep 17 00:00:00 2001
From: deveshsawant05 <deveshsawant05@gmail.com>
Date: Wed, 30 Oct 2024 15:46:49 +0530
Subject: [PATCH] Added navbar and footer to event/[id] page

---
 src/app/event/layout.tsx | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 src/app/event/layout.tsx

diff --git a/src/app/event/layout.tsx b/src/app/event/layout.tsx
new file mode 100644
index 0000000..34d3e5f
--- /dev/null
+++ b/src/app/event/layout.tsx
@@ -0,0 +1,17 @@
+import React from "react";
+import Navbar from "@/components/navbar";
+import Footer from "@/components/footer";
+
+interface RootLayoutProps {
+  children: React.ReactNode;
+}
+
+export default function RootLayout({ children }: RootLayoutProps) {
+  return (
+    <>
+      <Navbar />
+      {children}
+      <Footer />
+    </>
+  );
+}