feat: add Settings page with Telegram integration, reminder time fields

This commit is contained in:
Cosmo
2026-02-06 13:16:50 +00:00
parent 199887e552
commit 208101195c
8 changed files with 609 additions and 276 deletions

View File

@@ -10,6 +10,7 @@ import VerifyEmail from "./pages/VerifyEmail"
import ResetPassword from "./pages/ResetPassword"
import ForgotPassword from "./pages/ForgotPassword"
import Stats from "./pages/Stats"
import Settings from "./pages/Settings"
function ProtectedRoute({ children }) {
const { isAuthenticated, isLoading } = useAuthStore()
@@ -114,6 +115,14 @@ export default function App() {
</ProtectedRoute>
}
/>
<Route
path="/settings"
element={
<ProtectedRoute>
<Settings />
</ProtectedRoute>
}
/>
<Route path="*" element={<Navigate to="/" replace />} />
</Routes>
)