Update src/app/layout.tsx
This commit is contained in:
@@ -1,13 +1,10 @@
|
|||||||
import type { Metadata } from "next";
|
import type { Metadata } from "next";
|
||||||
import { Halant } from "next/font/google";
|
import { Italiana, Jost } from "next/font/google";
|
||||||
import { Inter } from "next/font/google";
|
|
||||||
import "./globals.css";
|
import "./globals.css";
|
||||||
import "@/lib/gsap-setup";
|
import "@/lib/gsap-setup";
|
||||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||||
import Tag from "@/tag/Tag";
|
import Tag from "@/tag/Tag";
|
||||||
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
import { getVisualEditScript } from "@/utils/visual-edit-script";
|
||||||
import { Roboto } from "next/font/google";
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
@@ -15,23 +12,15 @@ export const metadata: Metadata = {
|
|||||||
description: 'Experience unparalleled comfort and exquisite service at Elysian Hotel. Book your luxurious escape today and discover world-class amenities and elegant rooms.',
|
description: 'Experience unparalleled comfort and exquisite service at Elysian Hotel. Book your luxurious escape today and discover world-class amenities and elegant rooms.',
|
||||||
keywords: ["luxury hotel, hotel, luxury stay, boutique hotel, hotel rooms, hotel suites, hotel amenities, spa, fine dining, hotel booking, getaway"],
|
keywords: ["luxury hotel, hotel, luxury stay, boutique hotel, hotel rooms, hotel suites, hotel amenities, spa, fine dining, hotel booking, getaway"],
|
||||||
openGraph: {
|
openGraph: {
|
||||||
"title": "Elysian Hotel | Luxury Stays & Exquisite Experiences",
|
"title": "Elysian Hotel | Luxury Stays & Exquisite Experiences", "description": "Experience unparalleled comfort and exquisite service at Elysian Hotel. Book your luxurious escape today and discover world-class amenities and elegant rooms.", "url": "https://www.elysianhotel.com", "siteName": "Elysian Hotel", "images": [
|
||||||
"description": "Experience unparalleled comfort and exquisite service at Elysian Hotel. Book your luxurious escape today and discover world-class amenities and elegant rooms.",
|
|
||||||
"url": "https://www.elysianhotel.com",
|
|
||||||
"siteName": "Elysian Hotel",
|
|
||||||
"images": [
|
|
||||||
{
|
{
|
||||||
"url": "http://img.b2bpic.net/free-photo/lounge-area-hotel-front-desk_482257-76248.jpg",
|
"url": "http://img.b2bpic.net/free-photo/lounge-area-hotel-front-desk_482257-76248.jpg", "alt": "Elysian Hotel Grand Lobby"
|
||||||
"alt": "Elysian Hotel Grand Lobby"
|
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"type": "website"
|
"type": "website"
|
||||||
},
|
},
|
||||||
twitter: {
|
twitter: {
|
||||||
"card": "summary_large_image",
|
"card": "summary_large_image", "title": "Elysian Hotel | Luxury Stays & Exquisite Experiences", "description": "Experience unparalleled comfort and exquisite service at Elysian Hotel. Book your luxurious escape today and discover world-class amenities and elegant rooms.", "images": [
|
||||||
"title": "Elysian Hotel | Luxury Stays & Exquisite Experiences",
|
|
||||||
"description": "Experience unparalleled comfort and exquisite service at Elysian Hotel. Book your luxurious escape today and discover world-class amenities and elegant rooms.",
|
|
||||||
"images": [
|
|
||||||
"http://img.b2bpic.net/free-photo/lounge-area-hotel-front-desk_482257-76248.jpg"
|
"http://img.b2bpic.net/free-photo/lounge-area-hotel-front-desk_482257-76248.jpg"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
@@ -41,10 +30,14 @@ export const metadata: Metadata = {
|
|||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
||||||
const roboto = Roboto({
|
const italiana = Italiana({
|
||||||
variable: "--font-roboto",
|
variable: "--font-italiana", subsets: ["latin"],
|
||||||
subsets: ["latin"],
|
weight: ["400"],
|
||||||
weight: ["100", "300", "400", "500", "700", "900"],
|
});
|
||||||
|
|
||||||
|
const jost = Jost({
|
||||||
|
variable: "--font-jost", subsets: ["latin"],
|
||||||
|
weight: ["300"],
|
||||||
});
|
});
|
||||||
|
|
||||||
export default function RootLayout({
|
export default function RootLayout({
|
||||||
@@ -55,7 +48,7 @@ export default function RootLayout({
|
|||||||
return (
|
return (
|
||||||
<html lang="en" suppressHydrationWarning>
|
<html lang="en" suppressHydrationWarning>
|
||||||
<ServiceWrapper>
|
<ServiceWrapper>
|
||||||
<body className={`${roboto.variable} antialiased`}>
|
<body className={`${italiana.variable} ${jost.variable} antialiased`}>
|
||||||
<Tag />
|
<Tag />
|
||||||
{children}
|
{children}
|
||||||
<script
|
<script
|
||||||
|
|||||||
Reference in New Issue
Block a user