Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 59217063b6 |
@@ -1,20 +1,48 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
|
import { Halant } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
import { Inter } from "next/font/google";
|
||||||
|
import { Nunito_Sans } from "next/font/google";
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
|
import Tag from "@/tag/Tag";
|
||||||
|
|
||||||
const inter = Inter({ subsets: ["latin"] });
|
const halant = Halant({
|
||||||
|
variable: "--font-halant", subsets: ["latin"],
|
||||||
|
weight: ["300", "400", "500", "600", "700"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const inter = Inter({
|
||||||
|
variable: "--font-inter", subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
|
const nunitoSans = Nunito_Sans({
|
||||||
|
variable: "--font-nunito-sans", subsets: ["latin"],
|
||||||
|
});
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "El Paso Pub - Tradičná Slovenská Kuchyňa", description: "El Paso Pub v Novom Meste nad Váhom. Tradičná slovenská kuchyňa, kvalitné steaky, poctivé pivo a priateľská atmosféra."};
|
title: "El Paso Pub – Nové Mesto nad Váhom | Steaky & Pivo", description: "Objavte El Paso Pub – mestný pub s tradičnou slovenskou kuchyňou, kvalitnými steakmi, poctivým pivom a priateľskou atmosférou v Novom Meste nad Váhom.", keywords: "pub Nové Mesto nad Váhom, reštaurácia, steaky, pivo, slovenská kuchyňa, rezervácia", metadataBase: new URL("https://elpasopub.sk"),
|
||||||
|
alternates: {
|
||||||
|
canonical: "https://elpasopub.sk"},
|
||||||
|
openGraph: {
|
||||||
|
title: "El Paso Pub – Steaky & Pivo", description: "Tradičná slovenská kuchyňa a kvalitné nápoje čakajú.", url: "https://elpasopub.sk", siteName: "El Paso Pub", type: "website"},
|
||||||
|
twitter: {
|
||||||
|
card: "summary_large_image", title: "El Paso Pub – Mestný Pub s Tradíciou", description: "Tradičná slovenská kuchyňa a kvalitné nápoje čakajú."},
|
||||||
|
};
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
}: {
|
}: Readonly<{
|
||||||
children: React.ReactNode;
|
children: React.ReactNode;
|
||||||
}) {
|
}>) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="sk" suppressHydrationWarning>
|
||||||
<body className={inter.className}>{children}
|
<ServiceWrapper>
|
||||||
|
<body
|
||||||
|
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
||||||
|
>
|
||||||
|
<Tag />
|
||||||
|
{children}
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1382,6 +1410,7 @@ export default function RootLayout({
|
|||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</body>
|
</body>
|
||||||
|
</ServiceWrapper>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -50,7 +50,7 @@ export default function LandingPage() {
|
|||||||
imageAlt="El Paso Pub Interior"
|
imageAlt="El Paso Pub Interior"
|
||||||
mediaAnimation="slide-up"
|
mediaAnimation="slide-up"
|
||||||
buttons={[
|
buttons={[
|
||||||
{ text: "Zobraziť Menu & Rezervovať", href: "#menu" },
|
{ text: "Zobraziť Menu", href: "#menu" },
|
||||||
{ text: "Rezervovať Stôl", href: "#reservation" },
|
{ text: "Rezervovať Stôl", href: "#reservation" },
|
||||||
]}
|
]}
|
||||||
buttonAnimation="slide-up"
|
buttonAnimation="slide-up"
|
||||||
|
|||||||
Reference in New Issue
Block a user