Switch to version 3: modified src/app/layout.tsx
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Halant } from "next/font/google";
|
||||
import { Barlow_Condensed, Inter, Space_Mono } from "next/font/google";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
import "@/lib/gsap-setup";
|
||||
import { ServiceWrapper } from "@/components/ServiceWrapper";
|
||||
@@ -11,19 +11,17 @@ import { DM_Sans } from "next/font/google";
|
||||
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'OurCompany - Comprehensive Services', description: 'OurCompany provides a wide range of essential goods, logistics, aviation support, ICT, construction, and consultancy services. Delivering tailored solutions across various sectors.'};
|
||||
title: "Webild components 2",
|
||||
description: "Generated by create next app",
|
||||
};
|
||||
|
||||
const barlowCondensed = Barlow_Condensed({
|
||||
variable: "--font-barlow-condensed", subsets: ["latin"],
|
||||
weight: ["700"],
|
||||
const dmSans = DM_Sans({
|
||||
variable: "--font-dm-sans", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const inter = Inter({
|
||||
variable: "--font-inter", subsets: ["latin"],
|
||||
});
|
||||
|
||||
const spaceMono = Space_Mono({\n variable: "--font-space-mono",\n subsets: ["latin"],\n weight: ["400", "700"],\n});
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
}: Readonly<{
|
||||
@@ -32,7 +30,7 @@ export default function RootLayout({
|
||||
return (
|
||||
<html lang="en" suppressHydrationWarning>
|
||||
<ServiceWrapper>
|
||||
<body className={`${barlowCondensed.variable} ${inter.variable} ${spaceMono.variable} antialiased`}>
|
||||
<body className={`${dmSans.variable} ${inter.variable} antialiased`}>
|
||||
<Tag />
|
||||
{children}
|
||||
<script
|
||||
|
||||
Reference in New Issue
Block a user