diff --git a/src/layouts/HeaderFooterLayout.tsx b/src/layouts/HeaderFooterLayout.tsx index 24dd96a..d155a51 100644 --- a/src/layouts/HeaderFooterLayout.tsx +++ b/src/layouts/HeaderFooterLayout.tsx @@ -6,7 +6,7 @@ export const HeaderFooterLayout = ({ children }: { children: ReactNode }) => { return (
-
{children}
+
{children}
); diff --git a/src/pages/about.tsx b/src/pages/about.tsx index 80de2ef..2b6a9e6 100644 --- a/src/pages/about.tsx +++ b/src/pages/about.tsx @@ -1,8 +1,7 @@ import { type NextPage } from "next/types"; import Image from "next/image"; import { HandRaisedIcon } from "@heroicons/react/24/solid"; -import Footer from "~/components/Footer"; -import Header from "~/components/Header"; +import { HeaderFooterLayout } from "~/layouts/HeaderFooterLayout"; type Position = "left" | "right"; interface Biography { @@ -70,60 +69,56 @@ const biographies: Biography[] = [ const About: NextPage = () => { return ( - <> -
-
+ +
-
-
-

- About Us +
+

+ About Us +

+
+

+
+
+
+
+ {/** Small screens */} +
+

+ Meet the Team + +

+
+ {/** Large screens */} +
+

+ Meet the Team +

-
-
-
-
-
- {/** Small screens */} -
-

- Meet the Team - -

-
- {/** Large screens */} -
-

- Meet the Team - -

-
- {/** Biographies (both small & large screens) */} -
- {biographies.map((biography, index) => { - return ; - })} -
+ {/** Biographies (both small & large screens) */} +
+ {biographies.map((biography, index) => { + return ; + })}
-
-