Source identity
| Field | Recorded value |
|---|---|
| Source type | GitHub source |
| Original record | Janady13/missionmatch / frontend/src/App.tsx |
| Date | Not specified in source |
| Repository | Janady13/missionmatch |
| Revision | 1675031db74316e100782d063e9eda1a597fe3a1 |
| Branch | workstream-a-opportunity-intelligence |
| Path or archive member | frontend/src/App.tsx |
| Original SHA-256 | 2abf7a77ff0510bbe9610853f1d4667c90d654f2943894ebdd01726ac6f40d50 |
| Git blob SHA | 6fce4cb6eac0f0db53f15e7e9eb48749734a521f |
| Reading-copy SHA-256 | 2abf7a77ff0510bbe9610853f1d4667c90d654f2943894ebdd01726ac6f40d50 |
Every recorded occurrence
These 11 records contain identical original source bytes. Their paths and revisions remain part of the archive.
| Original record | Branch or archive | Revision / identifier | Original location |
|---|---|---|---|
| Janady13/missionmatch / frontend/src/App.tsx | workstream-a-opportunity-intelligence | 1675031db74316e100782d063e9eda1a597fe3a1 | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-d-command-center | 255e7d1d420abf5e277d0cd8c9b14f6f72b6acb9 | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-e-commercial-stubs | 4437da660539284a400ee380b9b427a300c369ee | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | ruthless-debug-sweep | b7d742f8f032984be3817efffa3eb8b13b651c1f | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-b-sam-contract-awards | d5101cceb98e70000cebb31d3e7ac73d747d3a6d | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-a-shared-core | e0de03ac3a1ec826bd15d0e048e3b02baa23eeff | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-d-command-center | 255e7d1d420abf5e277d0cd8c9b14f6f72b6acb9 | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | ruthless-debug-sweep | b7d742f8f032984be3817efffa3eb8b13b651c1f | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-a-opportunity-intelligence | 1675031db74316e100782d063e9eda1a597fe3a1 | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-e-commercial-stubs | 4437da660539284a400ee380b9b427a300c369ee | Open original |
| Janady13/missionmatch / frontend/src/App.tsx | workstream-b-sam-contract-awards | d5101cceb98e70000cebb31d3e7ac73d747d3a6d | Open original |
Recovered source transcript
Download complete source text ↓69 lines · 2.4 KB
import { Loader2 } from 'lucide-react'
import { Route, Routes } from 'react-router-dom'
import { AppShell } from './components/AppShell'
import { Dashboard } from './screens/Dashboard'
import { ScreeningQueue } from './screens/ScreeningQueue'
import { CandidateEvaluation } from './screens/CandidateEvaluation'
import { Requirements } from './screens/Requirements'
import { Candidates } from './screens/Candidates'
import { Slate } from './screens/Slate'
import { CommandCenter } from './screens/CommandCenter'
import { Compliance } from './screens/Compliance'
import { Settings } from './screens/Settings'
import { Placeholder } from './screens/Placeholder'
import { Login } from './screens/Login'
import { AcceptInvite } from './screens/AcceptInvite'
import { AuthProvider } from './lib/AuthContext'
import { useAuth } from './lib/useAuth'
export default function App() {
return (
<AuthProvider>
<Routes>
<Route path="/accept" element={<AcceptInvite />} />
<Route path="/*" element={<Gate />} />
</Routes>
</AuthProvider>
)
}
// Gate renders the app only for a validated session; otherwise the login. The session check runs once on
// load, so a reload never flashes the app before auth resolves.
function Gate() {
const { principal, loading } = useAuth()
if (loading) {
return (
<div className="grid min-h-screen place-items-center bg-navy-950 text-muted">
<Loader2 className="animate-spin" size={22} />
</div>
)
}
if (!principal) {
return <Login />
}
return (
<Routes>
<Route element={<AppShell />}>
<Route index element={<Dashboard />} />
<Route path="screen" element={<ScreeningQueue />} />
<Route path="evaluate/:candidateId/:requirementId" element={<CandidateEvaluation />} />
<Route path="requirements" element={<Requirements />} />
<Route path="candidates" element={<Candidates />} />
<Route path="slate" element={<Slate />} />
<Route
path="pipeline"
element={
<Placeholder
title="Talent Pipeline"
blurb="Drag and drop candidate stages from Identified through Hired. Wired to the same candidate intelligence."
/>
}
/>
<Route path="compliance" element={<Compliance />} />
<Route path="command-center" element={<CommandCenter />} />
<Route path="settings" element={<Settings />} />
</Route>
</Routes>
)
}