2024-12-27 12:38:38 -06:00
|
|
|
import { PageWrapper } from '../../../../components/PageWrapper';
|
|
|
|
|
import { TankSearch } from '../../../../components/TankSearch';
|
2024-12-27 14:03:43 -06:00
|
|
|
import { LocaleProvider } from '../../../../hooks/useLocale';
|
2024-12-27 12:38:38 -06:00
|
|
|
import { App } from '../../../../stores/app';
|
|
|
|
|
import { TankopediaPersistent } from '../../../../stores/tankopediaPersistent';
|
2024-09-21 12:16:51 -05:00
|
|
|
|
2024-12-27 14:03:43 -06:00
|
|
|
interface PageProps {
|
|
|
|
|
locale: string | undefined;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function Page({ locale }: PageProps) {
|
2024-09-21 12:16:51 -05:00
|
|
|
return (
|
2024-12-27 14:03:43 -06:00
|
|
|
<LocaleProvider locale={locale}>
|
|
|
|
|
<PageWrapper color="purple" maxWidth="80rem">
|
|
|
|
|
<TankopediaPersistent.Provider>
|
|
|
|
|
<App.Provider>
|
|
|
|
|
<TankSearch />
|
|
|
|
|
</App.Provider>
|
|
|
|
|
</TankopediaPersistent.Provider>
|
|
|
|
|
</PageWrapper>
|
|
|
|
|
</LocaleProvider>
|
2024-09-21 12:16:51 -05:00
|
|
|
);
|
|
|
|
|
}
|