initial commit

This commit is contained in:
basil 2025-06-14 23:47:44 -04:00
commit d40b69f1f9
Signed by: basil
SSH key fingerprint: SHA256:y04xIFL/yqNaG9ae9Vl95vELtHfApGAIoOGLeVLP/fE
58 changed files with 7919 additions and 0 deletions

41
frontend/src/main.tsx Normal file
View file

@ -0,0 +1,41 @@
import { Theme } from '@radix-ui/themes';
import './app.css';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { RouterProvider, createRouter } from '@tanstack/react-router';
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import { routeTree } from './routeTree.gen';
import '@radix-ui/themes/styles.css';
const queryClient = new QueryClient({});
const router = createRouter({
routeTree,
context: {
queryClient,
},
});
declare module '@tanstack/react-router' {
interface Register {
router: typeof router;
}
}
createRoot(document.getElementById('root')!).render(
<StrictMode>
<QueryClientProvider client={queryClient}>
<Theme
appearance="dark"
panelBackground="solid"
accentColor="ruby"
grayColor="auto"
// radius="full"
radius="large"
>
<RouterProvider router={router} />
</Theme>
</QueryClientProvider>
</StrictMode>,
);