🧹 chore(clean): whole repository

This commit is contained in:
eshanized
2024-12-25 04:57:02 +05:30
parent 9333bebc52
commit 2340d0f691
88 changed files with 0 additions and 10238 deletions

View File

@@ -1,38 +0,0 @@
import { BrowserRouter as Router } from 'react-router-dom';
import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
import { ErrorBoundary } from '@/components/ui/ErrorBoundary';
import { Navbar } from '@/components/layout/Navbar';
import { Footer } from '@/components/layout/Footer';
import { AppRoutes } from '@/routes';
const queryClient = new QueryClient({
defaultOptions: {
queries: {
staleTime: 1000 * 60 * 5, // 5 minutes
retry: 1,
},
},
});
function App() {
// Use basename for GitHub Pages
const basename = import.meta.env.DEV ? '/' : '/snigdha-os';
return (
<ErrorBoundary>
<QueryClientProvider client={queryClient}>
<Router basename={basename}>
<div className="min-h-screen bg-gray-50 font-fira-sans flex flex-col">
<Navbar />
<main className="flex-grow pt-16">
<AppRoutes />
</main>
<Footer />
</div>
</Router>
</QueryClientProvider>
</ErrorBoundary>
);
}
export default App;