Updated airport data, fixed loader/header

This commit is contained in:
2023-12-21 14:19:17 -05:00
parent 8438acc68b
commit 0b2ef94b99
26 changed files with 472068 additions and 62093 deletions

View File

@@ -1,34 +1,32 @@
import React from 'react';
import RecoilRootWrapper from '@app/recoil-root-wrapper';
import Header from '@/components/Header';
import { Inter } from 'next/font/google';
import { MantineProvider } from '@mantine/core';
import { ModalsProvider } from '@mantine/modals';
import 'styles/globals.css';
import 'styles/leaflet.css';
import '@mantine/core/styles.css';
import { Notifications } from '@mantine/notifications';
import Loader from '@/components/Loader';
export const metadata = {
title: 'Aviation Weather',
description: ''
};
const inter = Inter({ subsets: ['latin'] });
export default function RootLayout({ children }: { children: React.ReactNode }) {
return (
<html lang='en' className='h-full bg-white'>
<html lang='en'>
<head>
<title>Aviation Weather</title>
</head>
<body className={`${inter.className} wrapper h-full`}>
<body>
<MantineProvider>
<Notifications />
<ModalsProvider>
<RecoilRootWrapper>
<Header />
{children}
<Loader>
{children}
</Loader>
</RecoilRootWrapper>
</ModalsProvider>
</MantineProvider>