04545fc50e
- Delete unused favicon.ico file to clean up project assets - Add smooth scrolling behavior to html element for improved user experience - Refactor box-shadow property in Toastify styles for better readability - Update button states in Contact Us and Inquiries forms to include hcaptchaToken validation
57 lines
1.4 KiB
TypeScript
57 lines
1.4 KiB
TypeScript
import type { Metadata } from "next";
|
|
import { Geist, Geist_Mono } from "next/font/google";
|
|
import { Suspense } from "react";
|
|
import { ToastContainer, Zoom } from "react-toastify";
|
|
import GoogleAnalytics from "../_components/GoogleAnalytics";
|
|
import "../globals.css";
|
|
const geistSans = Geist({
|
|
variable: "--font-geist-sans",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
const geistMono = Geist_Mono({
|
|
variable: "--font-geist-mono",
|
|
subsets: ["latin"],
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "Opp lens - AI-Powered Tender Management",
|
|
description:
|
|
"Democratizing Tender Access for SMEs with AI-powered tender discovery and preparation.",
|
|
icons: {
|
|
icon: "/fav-icon.svg",
|
|
},
|
|
};
|
|
|
|
export default async function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en">
|
|
<body
|
|
className={`${geistSans.variable} ${geistMono.variable} antialiased flex flex-col min-h-screen bg-[url('/header-bg.svg')] bg-top-right bg-no-repeat bg-contain`}>
|
|
<ToastContainer
|
|
position="top-right"
|
|
autoClose={2500}
|
|
theme={"colored"}
|
|
transition={Zoom}
|
|
hideProgressBar
|
|
newestOnTop
|
|
closeOnClick
|
|
pauseOnFocusLoss
|
|
draggable
|
|
pauseOnHover
|
|
/>
|
|
|
|
<Suspense>
|
|
<GoogleAnalytics />
|
|
</Suspense>
|
|
|
|
{children}
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|