Merge version_2 into main #2
@@ -1,62 +1,41 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Manrope } from "next/font/google";
|
||||
import { DM_Sans } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
import Tag from "@/tag/Tag";
|
||||
|
||||
const halant = Halant({
|
||||
variable: "--font-halant", subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
import "./styles/variables.css";
|
||||
import "./styles/base.css";
|
||||
import { ServiceWrapper } from "@/providers/service/ServiceWrapper";
|
||||
import { Tag } from "@/components/shared/Tag";
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const manrope = Manrope({
|
||||
variable: "--font-manrope", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "Vallarta Mexican Grill | Authentic Mexican Cuisine & Drinks", description: "Experience luxury Mexican dining with authentic cuisine, handcrafted margaritas, and vibrant atmosphere. Dine in or order takeout from Vallarta Mexican Grill.", keywords: "Mexican restaurant, authentic Mexican food, margaritas, handcrafted drinks, Puerto Vallarta dining, fine dining, takeout", metadataBase: new URL("https://vallartamexicangrill.com"),
|
||||
alternates: {
|
||||
canonical: "https://vallartamexicangrill.com"},
|
||||
openGraph: {
|
||||
title: "Vallarta Mexican Grill | Luxury Mexican Dining Experience", description: "Discover authentic Mexican cuisine with vibrant atmosphere and signature handcrafted drinks at Vallarta Mexican Grill.", url: "https://vallartamexicangrill.com", siteName: "Vallarta Mexican Grill", type: "website", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/side-view-stuffed-with-zucchini-with-slice-cheese-cucumber-blue-plate_141793-6117.jpg", alt: "gourmet mexican food plated restaurant"},
|
||||
],
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "Vallarta Mexican Grill | Authentic Mexican Cuisine", description: "Experience vibrant Mexican dining with handcrafted drinks and authentic recipes.", images: ["http://img.b2bpic.net/free-photo/side-view-stuffed-with-zucchini-with-slice-cheese-cucumber-blue-plate_141793-6117.jpg"],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
},
|
||||
};
|
||||
title: "Vallarta Mexican Grill", description: "Experience authentic Mexican cuisine and handcrafted margaritas at Vallarta Mexican Grill"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${manrope.variable} ${dmSans.variable} antialiased`}
|
||||
>
|
||||
<body className={`${inter.variable}`}>
|
||||
<ServiceWrapper>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
</ServiceWrapper>
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
if (localStorage.theme === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
|
||||
document.documentElement.classList.add('dark')
|
||||
} else {
|
||||
document.documentElement.classList.remove('dark')
|
||||
}
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1424,7 +1403,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user