Merge version_5 into main #7
@@ -1,4 +1,5 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Cormorant_Garamond } from "next/font/google";
|
||||
import './globals.css';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
@@ -6,6 +7,12 @@ export const metadata: Metadata = {
|
||||
description: 'Discover exclusive luxury properties in Dubai curated for discerning buyers and investors.',
|
||||
};
|
||||
|
||||
const cormorantGaramond = Cormorant_Garamond({
|
||||
variable: "--font-cormorant-garamond",
|
||||
subsets: ["latin"],
|
||||
weight: ["300", "400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: {
|
||||
@@ -13,7 +20,7 @@ export default function RootLayout({
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body>
|
||||
<body className={`${cormorantGaramond.variable} antialiased`}>
|
||||
{children}
|
||||
|
||||
<script
|
||||
|
||||
@@ -11,7 +11,7 @@ html {
|
||||
body {
|
||||
background-color: var(--background);
|
||||
color: var(--foreground);
|
||||
font-family: var(--font-inter), sans-serif;
|
||||
font-family: var(font-family: --font-cormorant-garamond, serif;), sans-serif;
|
||||
position: relative;
|
||||
min-height: 100vh;
|
||||
overscroll-behavior: none;
|
||||
@@ -24,5 +24,5 @@ h3,
|
||||
h4,
|
||||
h5,
|
||||
h6 {
|
||||
font-family: var(--font-ubuntu), sans-serif;
|
||||
font-family: var(font-family: --font-cormorant-garamond, serif;), sans-serif;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user