Update src/app/layout.tsx
This commit is contained in:
@@ -1,60 +1,28 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import { Montserrat } from "next/font/google";
|
||||
import { Geist, Geist_Mono } 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"],
|
||||
const geist = Geist({
|
||||
variable: "--font-geist-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const montserrat = Montserrat({
|
||||
variable: "--font-montserrat", subsets: ["latin"],
|
||||
const geistMono = Geist_Mono({
|
||||
variable: "--font-geist-mono", subsets: ["latin"],
|
||||
});
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "MNIAM Sulechów - Lodziarnia & Kawiarnia", description: "MNIAM to lodziarnia i kawiarnia w Sulechowie. 4,7★ rating, lody, kawa, bubble tea, gofry, torty lodowe. Zamawiaj online lub dzwoń: 785 058 585.", keywords: "lody Sulechów, kawiarnia Sulechów, lodziarnia, tor lodowy, bubble tea, kawa, gofry, Sulechów", metadataBase: new URL("https://mniam-sulechow.pl"),
|
||||
alternates: {
|
||||
canonical: "https://mniam-sulechow.pl"
|
||||
},
|
||||
openGraph: {
|
||||
title: "MNIAM Sulechów - Smakuje najlepiej na placu Kaczmarka", description: "Lodziarnia i kawiarnia w sercu Sulechowa. Najlepsze lody, kawa i przyjemność.", url: "https://mniam-sulechow.pl", siteName: "MNIAM Sulechów", images: [
|
||||
{
|
||||
url: "http://img.b2bpic.net/free-photo/close-up-shot-fresh-natural-creamy-lemon-ice-cream-decorated-with-mint-served-dark-stone-slate-black-background-glossy-scoop-is-laying-nearby_639032-532.jpg", alt: "MNIAM - Lodziarnia w Sulechowie"
|
||||
}
|
||||
],
|
||||
type: "website"
|
||||
},
|
||||
twitter: {
|
||||
card: "summary_large_image", title: "MNIAM Sulechów - Lodziarnia & Kawiarnia", description: "Zamawiaj lody, kawę i torty lodowe w MNIAM. Plac Ks. Kaczmarka, Sulechów.", images: ["http://img.b2bpic.net/free-photo/close-up-shot-fresh-natural-creamy-lemon-ice-cream-decorated-with-mint-served-dark-stone-slate-black-background-glossy-scoop-is-laying-nearby_639032-532.jpg"]
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true
|
||||
}
|
||||
};
|
||||
title: "MNIAM Sulechów", description: "Lodziarnia & Kawiarnia - Smakuje najlepiej na placu Kaczmarka"};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
}: {
|
||||
children: React.ReactNode;
|
||||
}>) {
|
||||
}) {
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body
|
||||
className={`${halant.variable} ${inter.variable} ${montserrat.variable} antialiased`}
|
||||
>
|
||||
<Tag />
|
||||
{children}
|
||||
|
||||
<html lang="pl">
|
||||
<body className={`${geist.variable} ${geistMono.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
@@ -1422,7 +1390,6 @@ export default function RootLayout({
|
||||
}}
|
||||
/>
|
||||
</body>
|
||||
</ServiceWrapper>
|
||||
</html>
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user