import type { Metadata } from "next";
import { Halant } from "next/font/google";
import { Inter } from "next/font/google";
import "./globals.css";
import "@/lib/gsap-setup";
import { ServiceWrapper } from "@/components/ServiceWrapper";
import Tag from "@/tag/Tag";
import { getVisualEditScript } from "@/utils/visual-edit-script";
import { Nunito_Sans } from "next/font/google";



export const metadata: Metadata = {
  title: 'Alder Elite Woodworks, LLC | Custom & Finish Carpentry',
  description: 'Alder Elite Woodworks offers premium custom carpentry, finish carpentry, custom cabinetry, staircases, pergolas, and remodeling services. Experience luxury craftsmanship.',
  keywords: ["custom carpentry, finish carpentry, crown molding, baseboards, custom cabinetry, staircases, pergolas, gazebos, wall paneling, shelving, remodeling, luxury woodworking, woodworking services, custom craftsmanship"],
  openGraph: {
    "title": "Alder Elite Woodworks | Premium Custom Woodwork",
    "description": "Crafting timeless spaces with unparalleled custom carpentry and finish carpentry. Alder Elite Woodworks specializes in luxury woodworking.",
    "url": "https://www.alderelitewoodworks.com",
    "siteName": "Alder Elite Woodworks",
    "images": [
      {
        "url": "http://img.b2bpic.net/free-photo/photorealistic-timber-house-interior-with-wooden-decor-furnishings_23-2151263609.jpg",
        "alt": "Luxurious custom wood paneling"
      }
    ],
    "type": "website"
  },
  twitter: {
    "card": "summary_large_image",
    "title": "Alder Elite Woodworks | Premium Custom Woodwork",
    "description": "Crafting timeless spaces with unparalleled custom carpentry and finish carpentry. Alder Elite Woodworks specializes in luxury woodworking.",
    "images": [
      "http://img.b2bpic.net/free-photo/photorealistic-timber-house-interior-with-wooden-decor-furnishings_23-2151263609.jpg"
    ]
  },
  robots: {
    "index": true,
    "follow": true
  },
};

const nunitoSans = Nunito_Sans({
  variable: "--font-nunito-sans",
  subsets: ["latin"],
});

export default function RootLayout({
  children,
}: Readonly<{
  children: React.ReactNode;
}>) {
  return (
    <html lang="en" suppressHydrationWarning>
      <ServiceWrapper>
        <body className={`${nunitoSans.variable} antialiased`}>
          <Tag />
          {children}
          <script
              dangerouslySetInnerHTML={{
                  __html: `${getVisualEditScript()}`
              }}
          />
        </body>
      </ServiceWrapper>
    </html>
  );
}
