import Footer from "@/components/main/Footer";
import Header from "@/components/main/Header";
import type { Metadata } from "next";
import { pageSeo } from "@/config/pageSeo";
import { generatePageMetadata } from "@/utils/generatePageMetadata";

export const metadata: Metadata = generatePageMetadata({
  title: pageSeo.about.title,
  description: pageSeo.about.description,
  path: pageSeo.about.path,
  keywords: [...pageSeo.about.keywords],
});

export default function Layout({ children }: { children: React.ReactNode }) {
  return (
    <section className="pb-24">
      <Header />
      {children}
      <Footer />
    </section>
  );
}
