Update src/app/layout.tsx
This commit is contained in:
@@ -1,11 +1,9 @@
|
||||
import type { Metadata } from "next";
|
||||
import { Inter } from "next/font/google";
|
||||
import "./globals.css";
|
||||
|
||||
const inter = Inter({ subsets: ["latin"] });
|
||||
import { ReactLenis } from "lenis/react";
|
||||
import "@/styles/globals.css";
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "StartupHub", description: "Launch Your Startup Into the Future"};
|
||||
title: "StartupHub - Launch Your Startup Into the Future", description: "Empower your team with cutting-edge tools and insights to scale faster, innovate smarter, and dominate your market."};
|
||||
|
||||
export default function RootLayout({
|
||||
children,
|
||||
@@ -14,7 +12,11 @@ export default function RootLayout({
|
||||
}) {
|
||||
return (
|
||||
<html lang="en">
|
||||
<body className={inter.className}>{children}
|
||||
<body>
|
||||
<ReactLenis root>
|
||||
{children}
|
||||
</ReactLenis>
|
||||
|
||||
<script
|
||||
dangerouslySetInnerHTML={{
|
||||
__html: `
|
||||
|
||||
Reference in New Issue
Block a user