From 571b83d74df305a7a4f10e1013acac2cc7cf9b77 Mon Sep 17 00:00:00 2001 From: fmtabbara Date: Thu, 12 Dec 2024 23:25:23 +0000 Subject: [PATCH] create layout and heading components --- explorer-nextjs/src/app/layout.tsx | 3 ++- explorer-nextjs/src/components/headings/SectionHeading.tsx | 7 +++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 explorer-nextjs/src/components/headings/SectionHeading.tsx diff --git a/explorer-nextjs/src/app/layout.tsx b/explorer-nextjs/src/app/layout.tsx index 062bbe10ff..6184bd9021 100644 --- a/explorer-nextjs/src/app/layout.tsx +++ b/explorer-nextjs/src/app/layout.tsx @@ -1,4 +1,5 @@ import { Header } from "@/components/header"; +import { Wrapper } from "@/components/wrapper"; import ThemeProvider from "@/providers/ThemeProvider"; import type { Metadata } from "next"; @@ -17,7 +18,7 @@ export default function RootLayout({
- {children} + {children} diff --git a/explorer-nextjs/src/components/headings/SectionHeading.tsx b/explorer-nextjs/src/components/headings/SectionHeading.tsx new file mode 100644 index 0000000000..41b9b13c6b --- /dev/null +++ b/explorer-nextjs/src/components/headings/SectionHeading.tsx @@ -0,0 +1,7 @@ +import { Typography } from "@mui/material"; + +const SectionHeading = ({ title }: { title: string }) => { + return {title}; +}; + +export default SectionHeading;