File tree Expand file tree Collapse file tree 3 files changed +33
-34
lines changed Expand file tree Collapse file tree 3 files changed +33
-34
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -51,5 +51,5 @@ export async function GET(request: NextRequest) {
51
51
}
52
52
}
53
53
54
- return NextResponse . redirect ( new URL ( "/callback/ error" , request . url ) ) ;
54
+ return NextResponse . redirect ( new URL ( "/error" , request . url ) ) ;
55
55
}
Original file line number Diff line number Diff line change
1
+ import {
2
+ Text ,
3
+ Heading ,
4
+ Flex ,
5
+ CalloutRoot ,
6
+ CalloutIcon ,
7
+ CalloutText ,
8
+ Container ,
9
+ } from "@radix-ui/themes" ;
10
+ import { ExclamationTriangleIcon } from "@radix-ui/react-icons" ;
11
+
12
+ export default function ErrorPage ( ) {
13
+ return (
14
+ < Flex gap = "4" direction = "column" style = { { maxWidth : "430px" } } >
15
+ < Heading size = "8" > Error</ Heading >
16
+ < Container >
17
+ < CalloutRoot color = "red" role = "alert" >
18
+ < CalloutIcon >
19
+ < ExclamationTriangleIcon />
20
+ </ CalloutIcon >
21
+ < CalloutText > Something went wrong</ CalloutText >
22
+ </ CalloutRoot >
23
+ </ Container >
24
+ < Container >
25
+ < Text size = "3" align = "center" color = "gray" >
26
+ Couldn’t sign in. If you are not sure what happened, please contact
27
+ your organization admin.
28
+ </ Text >
29
+ </ Container >
30
+ </ Flex >
31
+ ) ;
32
+ }
You can’t perform that action at this time.
0 commit comments