File tree Expand file tree Collapse file tree
routes/(window-chrome)/settings Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -100,6 +100,23 @@ export default function FeedbackTab() {
100100 </ fieldset >
101101 </ form >
102102
103+ < div class = "pt-6 border-t border-gray-2" >
104+ < h3 class = "text-sm font-medium text-gray-12 mb-2" >
105+ Join the Community
106+ </ h3 >
107+ < p class = "text-sm text-gray-10 mb-3" >
108+ Have questions, want to share ideas, or just hang out? Join the
109+ Cap Discord community.
110+ </ p >
111+ < Button
112+ onClick = { ( ) => window . open ( "https://cap.link/discord" , "_blank" ) }
113+ size = "md"
114+ variant = "gray"
115+ >
116+ Join Discord
117+ </ Button >
118+ </ div >
119+
103120 < div class = "pt-6 border-t border-gray-2" >
104121 < h3 class = "text-sm font-medium text-gray-12 mb-2" >
105122 Debug Information
Original file line number Diff line number Diff line change @@ -60,6 +60,9 @@ export async function maybeProtectedHeaders() {
6060
6161export async function protectedHeaders ( ) {
6262 const { authorization } = await maybeProtectedHeaders ( ) ;
63- if ( ! authorization ) throw new Error ( "Not authorized" ) ;
63+ if ( ! authorization )
64+ throw new Error (
65+ "Please sign in to continue. Alternatively, email hello@cap.so or join our Discord at cap.link/discord" ,
66+ ) ;
6467 return { authorization } ;
6568}
You can’t perform that action at this time.
0 commit comments