Compare commits
8 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6dbae9465c | |||
| 9f14b8c80f | |||
| 206015b7c9 | |||
| 6037ccf3e3 | |||
| 6a3cece6a0 | |||
| 21124504f6 | |||
| c8826fe08d | |||
| 3d41237755 |
@@ -1,48 +1,20 @@
|
|||||||
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 halant = Halant({
|
const inter = Inter({ subsets: ["latin"] });
|
||||||
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 – 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"),
|
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."};
|
||||||
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="sk" suppressHydrationWarning>
|
<html lang="en">
|
||||||
<ServiceWrapper>
|
<body className={inter.className}>{children}
|
||||||
<body
|
|
||||||
className={`${halant.variable} ${inter.variable} ${nunitoSans.variable} antialiased`}
|
|
||||||
>
|
|
||||||
<Tag />
|
|
||||||
{children}
|
|
||||||
|
|
||||||
<script
|
<script
|
||||||
dangerouslySetInnerHTML={{
|
dangerouslySetInnerHTML={{
|
||||||
__html: `
|
__html: `
|
||||||
@@ -1410,7 +1382,6 @@ 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", href: "#menu" },
|
{ text: "Zobraziť Menu & Rezervovať", 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