import React from 'react';
import Head from 'next/head';
import Navbar from './Navbar';
import Footer from './Footer';

type LayoutProps = {
  children: React.ReactNode;
};

const Layout = ({ children }: LayoutProps) => {
  return (
    <>
      <Head>
        <title>NightBot - Discord Botu</title>
        <meta name="description" content="Genel amaçlı gelişmiş Türk yapımı Discord botu" />
        <meta name="keywords" content="Discord bot, Türk bot, mod botu, müzik botu" />
        <meta name="viewport" content="width=device-width, initial-scale=1" />
        <meta property="og:title" content="NightBot - Discord Botu" />
        <meta property="og:description" content="Genel amaçlı gelişmiş Türk yapımı Discord botu" />
        <meta property="og:type" content="website" />
        <link rel="icon" href="/favicon.ico" />
      </Head>
      <div className="flex flex-col min-h-screen">
        <Navbar />
        <main className="flex-grow">{children}</main>
        <Footer />
      </div>
    </>
  );
};

export default Layout; 