File tree Expand file tree Collapse file tree 2 files changed +24
-25
lines changed
Expand file tree Collapse file tree 2 files changed +24
-25
lines changed Original file line number Diff line number Diff line change @@ -23,34 +23,34 @@ const Layout = () => {
2323 </ a >
2424 < div className = 'flex items-center gap-2 text-center ml-auto mr-0 justify-center' >
2525 < span className = 'text-xs text-gray-800 mt-1.5' > By</ span >
26- < img
27- src = 'https://s3.us-east-2.amazonaws.com/assets.public.serverless/general/framework-text-lighting-icon-center-black.svg'
28- alt = 'Serverless Framework'
29- className = 'h-8'
30- />
26+ < a href = 'https://serverless.com/' target = '_blank' >
27+ < img
28+ src = 'https://s3.us-east-2.amazonaws.com/assets.public.serverless/general/framework-text-lighting-icon-center-black.svg'
29+ alt = 'Serverless Framework'
30+ className = 'h-8'
31+ />
32+ </ a >
3133 </ div >
3234 < button
3335 onClick = { handleLogout }
3436 className = 'text-gray-400 bg-transparent px-2 py-2 rounded-md hover:bg-primary hover:text-white focus:outline-none focus:ring-2 focus:ring-primary transition-colors'
3537 >
36- < a href = 'https://serverless.com/' target = '_blank' >
37- < svg
38- xmlns = 'http://www.w3.org/2000/svg'
39- width = '18'
40- height = '18'
41- viewBox = '0 0 24 24'
42- fill = 'none'
43- stroke = 'currentColor'
44- strokeWidth = '2'
45- strokeLinecap = 'round'
46- strokeLinejoin = 'round'
47- className = 'lucide lucide-log-out'
48- >
49- < path d = 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4' />
50- < polyline points = '16 17 21 12 16 7' />
51- < line x1 = '21' x2 = '9' y1 = '12' y2 = '12' />
52- </ svg >
53- </ a >
38+ < svg
39+ xmlns = 'http://www.w3.org/2000/svg'
40+ width = '18'
41+ height = '18'
42+ viewBox = '0 0 24 24'
43+ fill = 'none'
44+ stroke = 'currentColor'
45+ strokeWidth = '2'
46+ strokeLinecap = 'round'
47+ strokeLinejoin = 'round'
48+ className = 'lucide lucide-log-out'
49+ >
50+ < path d = 'M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4' />
51+ < polyline points = '16 17 21 12 16 7' />
52+ < line x1 = '21' x2 = '9' y1 = '12' y2 = '12' />
53+ </ svg >
5454 </ button >
5555 </ div >
5656 ) }
Original file line number Diff line number Diff line change 11import { createContext , useContext } from 'react' ;
22
3- const authApiUrl = 'https://q9x94od3v8.execute-api.us-east-1.amazonaws.com' ;
4- // import.meta.env.VITE_AUTH_API_URL;
3+ const authApiUrl = import . meta. env . VITE_AUTH_API_URL ;
54const AuthContext = createContext ( ) ;
65
76export const AuthProvider = ( { children } ) => {
You can’t perform that action at this time.
0 commit comments