Skip to content

Commit

Permalink
feat: Add match not found screen
Browse files Browse the repository at this point in the history
  • Loading branch information
ckcherry23 committed Oct 8, 2023
1 parent 3c9de8d commit f8ff67f
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/interviews/loader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ export default function Loader() {
</div>
</div>
)
}
}
2 changes: 1 addition & 1 deletion frontend/src/pages/interviews/[id]/find-match.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,4 +34,4 @@ export default function FindMatch() {
</Link>
</div>
)
}
}
2 changes: 1 addition & 1 deletion frontend/src/pages/interviews/[id]/match-found.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@ export default function MatchFound() {
</div>
</div>
)
}
}
21 changes: 21 additions & 0 deletions frontend/src/pages/interviews/[id]/match-not-found.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import { Button } from "@/components/ui/button";
import { TypographyBody, TypographyH2 } from "@/components/ui/typography";
import Link from "next/link";

export default function MatchFound() {
return (
<div className='min-h-screen p-12 mx-auto max-w-7xl flex flex-col justify-evenly items-center'>
<TypographyH2>
Sorry, we couldn’t find anyone :(
</TypographyH2>

<TypographyBody>
Please come back later to find a peer to practice interviewing with!
</TypographyBody>

<Link href="/interviews">
<Button variant="secondary">Return Home</Button>
</Link>
</div>
)
}

0 comments on commit f8ff67f

Please sign in to comment.