From 66b780eaad6b5ceb4cbcef52d2b8243b43b9e709 Mon Sep 17 00:00:00 2001 From: Konstantin Zhigaylo Date: Tue, 1 Jul 2025 15:40:10 +0300 Subject: [PATCH] refactor: move navbar and footer to layout.tsx --- .gitignore | 2 + src/app/layout.tsx | 6 +- src/app/page.tsx | 30 +-- src/app/projects/page.tsx | 113 ++++---- src/app/protocol/page.tsx | 138 +++++----- src/app/protocol/rac/page.tsx | 360 +++++++++++++------------- src/app/protocol/user-agents/page.tsx | 120 ++++----- src/app/protocol/wrac/page.tsx | 74 +++--- 8 files changed, 394 insertions(+), 449 deletions(-) diff --git a/.gitignore b/.gitignore index 5ef6a52..26944c3 100644 --- a/.gitignore +++ b/.gitignore @@ -39,3 +39,5 @@ yarn-error.log* # typescript *.tsbuildinfo next-env.d.ts + +/.idea \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 7b181dc..52bcc5b 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -1,6 +1,8 @@ import type { Metadata } from "next"; import { Geist, Rokkitt } from "next/font/google"; import "./globals.css"; +import NavBar from "@/components/NavBar"; +import Footer from "@/components/Footer"; const geistSans = Geist({ variable: "--font-geist", @@ -25,9 +27,11 @@ export default function RootLayout({ return ( + {children} +