mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-22 16:42:00 +00:00
- Updated the title and description in layout.tsx to reflect the new application name. - Replaced the background color in globals.css with a background image for the title section. - Enhanced the Devices and UserDevices pages by adding search and filter components for improved user interaction. - Introduced a new DevicesTable component for displaying device data with pagination. - Updated the Users page to improve layout and added a filter for user status. - Made various UI adjustments across components for better consistency and usability.
42 lines
1.0 KiB
TypeScript
42 lines
1.0 KiB
TypeScript
import { ThemeProvider } from "@/components/theme-provider";
|
|
|
|
import type { Metadata } from "next";
|
|
import { Barlow } from "next/font/google";
|
|
import NextTopLoader from "nextjs-toploader";
|
|
import { Toaster } from "sonner";
|
|
import "./globals.css";
|
|
import QueryProvider from "@/components/query-provider";
|
|
const barlow = Barlow({
|
|
subsets: ["latin"],
|
|
weight: ["100", "300", "400", "500", "600", "700", "800", "900"],
|
|
variable: "--font-barlow",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "SAR Link Portal",
|
|
description: "Sarlink Portal",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={`${barlow.variable} antialiased font-sans`}>
|
|
<NextTopLoader showSpinner={false} zIndex={9999} />
|
|
<Toaster richColors />
|
|
<ThemeProvider
|
|
attribute="class"
|
|
defaultTheme="system"
|
|
enableSystem
|
|
disableTransitionOnChange
|
|
>
|
|
<QueryProvider>{children}</QueryProvider>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|