Skip to content

Commit

Permalink
update framework link
Browse files Browse the repository at this point in the history
  • Loading branch information
walidelnozahy committed Sep 10, 2024
1 parent 87b76c4 commit c01d01d
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 25 deletions.
46 changes: 23 additions & 23 deletions website/app/src/app/Layout.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,34 +23,34 @@ const Layout = () => {
</a>
<div className='flex items-center gap-2 text-center ml-auto mr-0 justify-center'>
<span className='text-xs text-gray-800 mt-1.5'>By</span>
<img
src='https://s3.us-east-2.amazonaws.com/assets.public.serverless/general/framework-text-lighting-icon-center-black.svg'
alt='Serverless Framework'
className='h-8'
/>
<a href='https://serverless.com/' target='_blank'>
<img
src='https://s3.us-east-2.amazonaws.com/assets.public.serverless/general/framework-text-lighting-icon-center-black.svg'
alt='Serverless Framework'
className='h-8'
/>
</a>
</div>
<button
onClick={handleLogout}
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'
>
<a href='https://serverless.com/' target='_blank'>
<svg
xmlns='http://www.w3.org/2000/svg'
width='18'
height='18'
viewBox='0 0 24 24'
fill='none'
stroke='currentColor'
strokeWidth='2'
strokeLinecap='round'
strokeLinejoin='round'
className='lucide lucide-log-out'
>
<path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4' />
<polyline points='16 17 21 12 16 7' />
<line x1='21' x2='9' y1='12' y2='12' />
</svg>
</a>
<svg
xmlns='http://www.w3.org/2000/svg'
width='18'
height='18'
viewBox='0 0 24 24'
fill='none'
stroke='currentColor'
strokeWidth='2'
strokeLinecap='round'
strokeLinejoin='round'
className='lucide lucide-log-out'
>
<path d='M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4' />
<polyline points='16 17 21 12 16 7' />
<line x1='21' x2='9' y1='12' y2='12' />
</svg>
</button>
</div>
)}
Expand Down
3 changes: 1 addition & 2 deletions website/app/src/auth/AuthProvider.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { createContext, useContext } from 'react';

const authApiUrl = 'https://q9x94od3v8.execute-api.us-east-1.amazonaws.com';
// import.meta.env.VITE_AUTH_API_URL;
const authApiUrl = import.meta.env.VITE_AUTH_API_URL;
const AuthContext = createContext();

export const AuthProvider = ({ children }) => {
Expand Down

0 comments on commit c01d01d

Please sign in to comment.