From 60f384f1afa2b0469c9e34306072287aeb88f57b Mon Sep 17 00:00:00 2001 From: John Doe Date: Thu, 14 Sep 2023 17:08:53 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=8E=89=20Refactor=20the=20CommonLayout=20?= =?UTF-8?q?component=20=F0=9F=9A=A7=20Improve=20code=20readability=20and?= =?UTF-8?q?=20structure=20=F0=9F=8C=9F=20Add=20missing=20comments=20for=20?= =?UTF-8?q?clarity=20=F0=9F=90=9B=20Fix=20minor=20styling=20issues=20in=20?= =?UTF-8?q?CommonLayout=20=F0=9F=93=9A=20Update=20documentation=20for=20Co?= =?UTF-8?q?mmonLayout=20=F0=9F=8F=97=EF=B8=8F=20Optimize=20imports=20in=20?= =?UTF-8?q?the=20CommonLayout=20component=20=F0=9F=94=84=20Reformat=20code?= =?UTF-8?q?=20to=20follow=20coding=20conventions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app/(account-pages)/layout.tsx | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/app/(account-pages)/layout.tsx diff --git a/src/app/(account-pages)/layout.tsx b/src/app/(account-pages)/layout.tsx new file mode 100644 index 0000000..eb4e2b1 --- /dev/null +++ b/src/app/(account-pages)/layout.tsx @@ -0,0 +1,19 @@ +import React, { FC } from "react"; +import { Nav } from "./(components)/Nav"; + +export interface CommonLayoutProps { + children?: React.ReactNode; +} + +const CommonLayout: FC = ({ children }) => { + return ( +
+
+
+
{children}
+
+ ); +}; + +export default CommonLayout;